[
https://issues.jboss.org/browse/JBBUILD-523?page=com.atlassian.jira.plugi...
]
Paul Gier closed JBBUILD-523.
-----------------------------
Resolution: Out of Date
Resolving this as out of date because artifact resolution has changed in Maven 3 and
Hibernate project now uses Gradle.
Issues with custom packaging in maven
-------------------------------------
Key: JBBUILD-523
URL:
https://issues.jboss.org/browse/JBBUILD-523
Project: JBoss Build System
Issue Type: Task
Components: Maven Builds
Reporter: Paul Gier
Fix For: Build Support 2012
Steve ran into some issues when using custom packaging for the jdocbook plugin.
- Transitive dependency resolution does not work
- Two dependencies with the same packaging but different artifact handlers cannot both be
resolved, because no info about the handler is encoded into the repo
- The plugin containing the custom packaging needs to programmatically register the
artifact handler in addition to specifiying it in the components.xml
this has to be done by:
(1) retrieve the handler using @parameter
expression="${component.org.apache.maven.artifact.handler.ArtifactHandler#jdocbook-style}"
(2) manually register it using project.getArtifact().setArtifactHandler( artifactHandler
);
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira