-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'groupId' not always pulling from parent pom #5
Comments
'groupId' not always pulling from parent pom 'Fix mojohaus#5 groupId' not always pulling from parent pom - test case
'groupId' not always pulling from parent pom 'Fix mojohaus#5 groupId' not always pulling from parent pom - test case 'Fix mojohaus#5 groupId' not always pulling from parent pom 'groupId' not always pulling from parent pom 'Fix mojohaus#5 groupId' not always pulling from parent pom - test case
This looks still broke with release 2.2 (from august 2015):
Can anyone tell me want went wrong with the 2.2 timeline (bugfix in july, release in august)? |
+1 - Still existing on Version 2.2 |
Ran into this today on 2.2. |
It happened the same to me with 2.2 today. |
Still a problem with Maven version 3.3.9 and org.codehause.mojo:versions-maven-plugin:2.2.
Ran with...
Stack Trace...
|
Still a problem. Run in it today.. |
This serves two purposes: 1. Correctly groups artifacts instead of leaving them as top level. 2. Works around this bug: mojohaus/versions#5
This serves two purposes: 1. Correctly groups artifacts instead of leaving them as top level. 2. Works around this bug: mojohaus/versions#5
This serves two purposes: 1. Correctly groups artifacts instead of leaving them as top level. 2. Works around this bug: mojohaus/versions#5
is there a roadmap for the release of 2.3 version with this fix? |
Ran into it today, any release plans for fix ? |
mvn -e versions:set -DnewVersion=<version> throws NPE with druid due to mojohaus/versions#5 Setting groupId in parent pom as work around for it.
for anyone else running into it as a workaround - reverting the version to 2.1 worked for us. |
thanks for the workaround, any idea on when this shall be fixed ? |
Seems like it's fixed in version 2.3 |
(with version 2.2)
Getting an NPE with the following (pretty standard) scenario using
versions:set
In my remote repo (e.g. Artifactory) I've got a global parent pom (com.myco:global-parent-pom:pom.1.0-SNAPSHOT)
I then have a project:
myProject's parent pom references the 'global' parent pom as its parent:
✨ Important - notice that I am not explicitly specifying a groupId for this pom since it should inherit from the parent (com.myco) ✨
moduleA and moduleB use myProject's pom as their parent. That's the setup - very standard.
When I run
versions:set
at the myProject level I get the following NPE stacktrace:Notice in the top line that the groupId is showing up as null.
Workaround
If I explicitly add the groupId (
<groupId>com.myco</groupId>
) to the root level of myProject's pom, it works.The text was updated successfully, but these errors were encountered: