Skip to content

Commit

Permalink
maven local lib fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanheest committed Oct 20, 2017
1 parent 508bd75 commit 76fcf4a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions Rekeningsysteem/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
/src/test/resources/ioWorker/savePDF
/jlrrepo
LogFile.txt
lib/jlr
14 changes: 7 additions & 7 deletions Rekeningsysteem/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

<repositories>
<repository>
<id>jlrrepo</id>
<url>file://${basedir}/jlrrepo</url>
<id>lib</id>
<url>file://${project.basedir}/lib</url>
</repository>
</repositories>

Expand Down Expand Up @@ -84,15 +84,15 @@
<!-- PDF generator via LaTeX -->
<!-- Note that this is from the local repository defined above. It can
be downloaded from http://www.nixo-soft.de/en/category/Downloads/page/libs/JavaLatexReport.php
After downloading, use mvn install:install-file -Dfile=<path-to-jar> -DgroupId="jlr"
-DartifactId="jlr" -Dversion="0" -Dpackaging="jar" -DlocalRepositoryPath="${basedir}/jlrrepo"
to install this dependency. -->
After downloading, use mvn install:install-file -Dfile=lib/jlr.jar -DgroupId=jlr
-DartifactId=jlr -Dversion=0 -Dpackaging=jar -DlocalRepositoryPath=lib/
to install this dependency.
See also http://randomizedsort.blogspot.nl/2011/10/configuring-maven-to-use-local-library.html
-->
<dependency>
<groupId>jlr</groupId>
<artifactId>jlr</artifactId>
<version>0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/jlr.jar</systemPath>
</dependency>

<!-- SQLite database connector -->
Expand Down

0 comments on commit 76fcf4a

Please sign in to comment.