[jboss-jira] [JBoss JIRA] Created: (JBBUILD-523) Issues with custom packaging in maven

Paul Gier (JIRA) jira-events at lists.jboss.org
Tue Apr 7 10:03:43 EDT 2009


Issues with custom packaging in maven
-------------------------------------

                 Key: JBBUILD-523
                 URL: https://jira.jboss.org/jira/browse/JBBUILD-523
             Project: JBoss Build System
          Issue Type: Task
          Components: Maven
            Reporter: Paul Gier
             Fix For: Maven Build - Maint 2009


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 contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list