AnsweredAssumed Answered

Using Maven to build custom Building Block

Question asked by rs0048203 on Jul 13, 2016
Latest reply on Jul 14, 2016 by shane

Want to use Maven (new to Maven) with IntelliJ to re-build custom building block for ease of maintainability.

Tried pom.xml (below), but get build indicators such as: error: package blackboard.data.course does not exist

How to update pom.xml to get a clean build?

 

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

  <modelVersion>4.0.0</modelVersion>

  <groupId>edu.unm.nmel</groupId>

  <artifactId>try1</artifactId>

  <packaging>war</packaging>

  <version>1.0.0</version>

  <name>try1 Maven Webapp</name>

  <url>http://maven.apache.org</url>

 

    <repositories>

        <repository>

            <id>blackboard.platform</id>

            <name>blackboard.platform</name>

            <url>https://maven.blackboard.com/content/repositories/release</url>

        </repository>

    </repositories>

 

 

  <dependencies>

      <dependency>

          <groupId>commons-validator</groupId>

          <artifactId>commons-validator</artifactId>

          <version>1.4.1</version>

      </dependency>

      <dependency>

          <groupId>commons-io</groupId>

          <artifactId>commons-io</artifactId>

          <version>2.1</version>

      </dependency>

 

    <dependency>

      <groupId>junit</groupId>

      <artifactId>junit</artifactId>

      <version>3.8.1</version>

      <scope>test</scope>

    </dependency>

  </dependencies>

  <build>

    <finalName>try1</finalName>

  </build>

</project>

Outcomes