Skip to content

Commit 502b7fb

Browse files
committed
Fixed path to local maven repo
1 parent cf484f1 commit 502b7fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

maven/build.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ limitations under the License.
7474

7575
<artifact:mvn>
7676
<arg value="org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file"/>
77-
<arg value="-Durl=file://%buildroot/%{_datadir}/maven2/repository"/>
77+
<arg value="-Durl=file:///${user.home}/.m2/repository"/>
7878
<arg value="-DrepositoryId=local"/>
7979
<arg value="-DpomFile=${dir.build}/maven-mongo-java-driver.xml"/>
8080
<arg value="-Dfile=${dir.build}/dist/mongo-java-driver-${build.conf.lib.version}.jar"/>
@@ -84,7 +84,7 @@ limitations under the License.
8484

8585
<artifact:mvn>
8686
<arg value="org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file"/>
87-
<arg value="-Durl=file://%buildroot/%{_datadir}/maven2/repository"/>
87+
<arg value="-Durl=file:///${user.home}/.m2/repository"/>
8888
<arg value="-DrepositoryId=local"/>
8989
<arg value="-DpomFile=${dir.build}/maven-bson.xml"/>
9090
<arg value="-Dfile=${dir.build}/dist/bson-${build.conf.lib.version}.jar"/>

0 commit comments

Comments
 (0)