Questions tagged [maven-versions-plugin]

50 questions
0
votes
1 answer

Maven's set version plugin doesn't set parent version in child module

While I was trying to automate the version updates of all the poms in the project, I couldn't fix this issue. The versions:set plugin/command does replace almost every version of a pom but not the versions of the parent pom (another project) defined…
TheKara
  • 3
  • 2
0
votes
0 answers

Update minor versions of dependencies stored in properties

I'm trying to use maven to update to latest minor versions using maven-versions-plugin. The goal use-latest-versions has a flag allowMajorUpdates. But this will set the versions directly in the dependency. mvn versions:use-latest-versions…
crea1
  • 11,077
  • 3
  • 36
  • 46
0
votes
0 answers

How to tell versions-maven plugin to act on non-child modules?

I have a multi-module project where all modules are in the same directory as the "aggregator" module. The aggregator is NOT the parent of the modules, it's only there to spread any maven command to modules, but there is no inheritance. When I do…
Tristan
  • 8,733
  • 7
  • 48
  • 96
0
votes
1 answer

maven versions plugin does not fetch releases with build number

I have a library with version 1.0.0-19 (19 is the Jenkins build number), on next jenkins build the version 1.0.0-20 will be assigend to the library and the artifact will be deployed to a maven repository. Another artifact which is referencing the…
0
votes
3 answers

Update Maven project version non-interactively to release version

I want to update the version of my Maven project to the release version corresponding to the current snapshot version. E.g. 1.2-SNAPSHOT should become 1.2. In other words, I just want to remove the -SNAPSHOT suffix from the version. I want to do…
Rinke
  • 6,095
  • 4
  • 38
  • 55
1 2 3
4