Permalink
Browse files

fixing project repo path issue with submodules

  • Loading branch information...
1 parent fb383ba commit e3e700466366b1f9372415ff4bf603f49956b073 @bryankate committed Mar 19, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 pom.xml
View
@@ -212,7 +212,9 @@
</plugins>
</build>
- <!-- define a local repo for the stuff that is not in the central maven repo -->
+ <!-- define a local repo for the stuff that is not in the central maven repo.
+ the user.dir property works with the submodules as long as the build is kicked off from the
+ top level directory (as it should anyway). -->
<repositories>
<repository>
<id>project-repo</id>
@@ -224,7 +226,7 @@
<snapshots>
<enabled>false</enabled>
</snapshots>
- <url>file://${project.basedir}/repo</url>
+ <url>file://${user.dir}/repo</url>
</repository>
</repositories>

0 comments on commit e3e7004

Please sign in to comment.