You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new version passed to the plugin is determined based on ${project.version} in the POM. The dependencies are of the same version but without a timestamp. This means with 18.4.0-SNAPSHOT as the project.version property, I want to generate a new build timestamp (that is working, as you can see above), but keep the dependency versions as 18.4.0-SNAPSHOT.
I was hoping that by limiting the scope with -DartifactId=FooBarWebServices -DgroupId=foo.bar, my dependencies would not have their versions updated by the plug-in and would not be searched for by Maven. However, my build is failing looking for dependency BarBamV2-18.4.0-20180724110658-SNAPSHOT, which obviously doesn't exist.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I am using the versions plugin passing these parameters:
mvn -f pom.xml org.codehaus.mojo:versions-maven-plugin:2.5:set --quiet -DgenerateBackupPoms=false -DnewVersion=18.4.0-20180724110658-SNAPSHOT -DprocessDependencies=false -DartifactId=FooBarWebServices -DgroupId=foo.bar
My POM contains the following lines:
The new version passed to the plugin is determined based on
${project.version}
in the POM. The dependencies are of the same version but without a timestamp. This means with18.4.0-SNAPSHOT
as the project.version property, I want to generate a new build timestamp (that is working, as you can see above), but keep the dependency versions as18.4.0-SNAPSHOT
.I was hoping that by limiting the scope with
-DartifactId=FooBarWebServices -DgroupId=foo.bar
, my dependencies would not have their versions updated by the plug-in and would not be searched for by Maven. However, my build is failing looking for dependencyBarBamV2-18.4.0-20180724110658-SNAPSHOT
, which obviously doesn't exist.The text was updated successfully, but these errors were encountered: