Skip to content
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

pluginManagement doesn't resolve parent pom correctly #319

Open
lkubik opened this issue Mar 9, 2016 · 1 comment
Open

pluginManagement doesn't resolve parent pom correctly #319

lkubik opened this issue Mar 9, 2016 · 1 comment

Comments

@lkubik
Copy link

lkubik commented Mar 9, 2016

I wanted to use pluginManagement=org.wildfly.core:wildfly-core-parent:2.0.10.Final as a plugin management injection but it doesn't handle version of maven-jar-plugin correctly. Version is specified by a property which is located in a parent pom of wildfly-core-parent - jboss-parent (https://github.com/jboss/jboss-parent-pom/blob/jboss-parent-19/pom.xml).

Result is that the maven-jar-plugin is injected with empty version element:
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version></version>

rnc added a commit to rnc/pom-manipulation-ext that referenced this issue Mar 13, 2016
jdcasey added a commit that referenced this issue Mar 15, 2016
Issue #319 Improve inheritance resolving when injecting plugin pom
@rnc
Copy link
Contributor

rnc commented Mar 16, 2016

This has been worked around with #323. Ideally if Galley was improved the PME code could be simplified quite a bit, and the workaround removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants