All Questions
Tagged with versioning maven
125 questions
0
votes
1
answer
29
views
Centralize maven project version to ease branching strategy
I have a maven based multi-module project. Also we manage multiple parallel releases for different clients for which we obviously need long lived branches. To all these branches, we give assign unique ...
0
votes
2
answers
61
views
How to set the version of my code only in the pom.xml
I am updating an old code and I need to set the version in the pom.xml using the version tag and then from there set different files with the version:
Manifest file when building the jar
I need to ...
0
votes
0
answers
52
views
Maven artifact version convention for non numeric characters
I was looking through artifact version for JAX WS RI Runtime and saw the following two versions:
4.0.0-M1 and 4.0.0 The are additional 4.0.0-M 1through 4.
Does the -M* denote a minor version? I tried ...
0
votes
0
answers
19
views
Java- gathering versions from pom with ArtifactVersionCollector
I have an application with submodules in java configured in IntellIJ (java ones are unnamed).
Each submodule has its own pom in his base folder (compile works fine).
My goal is to have this function ...
3
votes
1
answer
560
views
How to do versioning of shared Java library for multiple Spring Boot releases
I am creating a shared library that will be used in many projects in my company. Those projects are based on different Spring-Boot versions. The same version of library won't work (as far as I know) ...
4
votes
1
answer
147
views
Maven - Versioning the Project
I'm trying to learn more about how big project builds are being versioned by developer teams using maven. For example, some projects have versions like: 2.0.0-SNAPSHOT-g57517b7, what that "...
0
votes
1
answer
217
views
Maven dependency versioning for internal java dependencies
Versioning of Internally Developed Dependencies
I'm looking for some examples/ best practices of how other teams are covering this in their projects.
I have a medium sized development team/s who are ...
1
vote
0
answers
630
views
How to name multiple SNAPSHOT versions that shoud be later merged in one release?
Me and my teammate are using Nexus repository to store JAR files that are builded from develop branch before we test it and are ready to release the SNAPSHOT version.
This is our branch structure in ...
0
votes
1
answer
455
views
Maven Version range: how to set upper limit if breaking changes are not in sight?
We are developing multiple dependencies for our applications, one shared project containing code for all applications and one adapter per application for easier (and clearly defined) access from ...
5
votes
3
answers
1k
views
Versions Maven Plugin rules that are inheritable
When running mvn versions:display-dependency-updates for the Version Maven Plugin I see lots of things like this:
[INFO] org.slf4j:slf4j-api ........................... 1.7.36 -> 2.0.0-alpha7
...
1
vote
1
answer
525
views
Remove SNAPSHOT from all Maven sub-modules, but honor version
Use Case
I am working on a multi-module project and I am trying to drop -SNAPSHOT for all child modules that have different versions.
Example
For the purposes of this exercise we can assume there are ...
0
votes
1
answer
4k
views
Using git commit count and commit hash as version in artifact generated by Maven
I've seen so many (answered) questions about using git commit hash as suffix in the version generated when releasing library. But I can't find any link that describe using commit count in combination ...
0
votes
0
answers
69
views
Git Commit - How can I add current project version [duplicate]
I wanted to add my current pom/project version in my bitbucket pipeline commit.
I've used the command:
git commit -m "[skip ci] New POM version - ${project.version}"
but it gives me the ...
1
vote
0
answers
187
views
Custom gradle plugin version resolved incorrectly
I am using gradle 7.1.1. I created a Gradle plugin and publishing it into a local nexus repository. The version of the plugin will be of the format 0.1.1-<timestamp>; So each build gets a new ...
1
vote
1
answer
134
views
Versioning in apache maven
I am currently learning to handle things like GIT and Maven. So far I understand the concepts quite well and am confident to use those two in the future.
But there is one thing about Maven I don't ...