Commits

John Paulett  committed 568ceff

Reference lib/xnatsrb-1.jar from within the pom.xml, removing the need to manually run mvn install:install-file.

We should remove the scope, systemPath, and lib/xnatsrb-1.jar once we have our own public maven repo.

  • Participants
  • Parent commits 13b757a

Comments (0)

Files changed (2)

 
 Building
 ========
-
-Until we have our own maven repository, it is necessary to load any non-public jars into your local repository::
-
-    mvn install:install-file -Dfile=lib/xnatsrb-1.jar -DgroupId=org.nrg.xnat -DartifactId=xnatsrb -Dversion=1 -Dpackaging=jar
     
 To build the xdat_core module::
 
 			<version>4.1.4</version>
 		</dependency>
 		<dependency>
-			<groupId>org.nrg.xnat</groupId>
-			<artifactId>xnatsrb</artifactId>
-			<version>1</version>
-		</dependency>
-		<dependency>
 			<groupId>org.dspace</groupId>
 			<artifactId>jargon</artifactId>
 			<version>1.4.25</version>
 		</dependency>
+		<dependency>
+			<groupId>org.nrg.xnat</groupId>
+			<artifactId>xnatsrb</artifactId>
+			<version>1</version>
+			<!-- 
+	            Until we have our own Maven repository, we need to store any non-public 
+	            jars in the project. Remove the scope, systemPath, and jar once xnatsrb is
+	            publicly available.
+	        -->
+			<scope>system</scope>
+			<systemPath>${basedir}/lib/xnatsrb-1.jar</systemPath>
+		</dependency>
 	</dependencies>
 </project>