Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Please compare the results. -Psonatype enables remote sonatype snapshots repository.
$ mvn dependency:copy -Dartifact=com.trello.identifier:package-identifier:0.0.2-SNAPSHOT -Psonatype -U -Dmdep.useBaseVersion=false | grep Copying [INFO] Copying package-identifier-0.0.2-SNAPSHOT.jar to /home/bochja/${project.basedir}/target/dependency/package-identifier-0.0.2-20190311.143402-1.jar $ rm -rf '/home/bochja/${project.basedir}/target/dependency' $ mvn dependency:copy -Dartifact=com.trello.identifier:package-identifier:0.0.2-SNAPSHOT -Psonatype -U -Dmdep.useBaseVersion=true | grep Copying [INFO] Copying package-identifier-0.0.2-SNAPSHOT.jar to /home/bochja/${project.basedir}/target/dependency/package-identifier-0.0.2-SNAPSHOT.jar $ rm -rf '/home/bochja/${project.basedir}/target/dependency' $ mvn dependency:copy -Dartifact=com.trello.identifier:package-identifier:0.0.2-SNAPSHOT -o -Dmdep.useBaseVersion=true | grep Copying [INFO] Copying package-identifier-0.0.2-SNAPSHOT.jar to /home/bochja/${project.basedir}/target/dependency/package-identifier-0.0.2-SNAPSHOT.jar $ rm -rf '/home/bochja/${project.basedir}/target/dependency' $ mvn dependency:copy -Dartifact=com.trello.identifier:package-identifier:0.0.2-SNAPSHOT -o -Dmdep.useBaseVersion=false | grep Copying [INFO] Copying package-identifier-0.0.2-SNAPSHOT.jar to /home/bochja/${project.basedir}/target/dependency/package-identifier-0.0.2-SNAPSHOT.jar $ ls ~/.m2/repository/com/trello/identifier/package-identifier/0.0.2-SNAPSHOT/ maven-metadata-sonatype.xml maven-metadata-sonatype.xml.sha1 package-identifier-0.0.2-20190311.143402-1.jar package-identifier-0.0.2-20190311.143402-1.jar.sha1 package-identifier-0.0.2-SNAPSHOT.jar _remote.repositories resolver-status.properties