maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Libor Kramolis (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MDEPLOY-78) Deploy with classifier does not deploy pom
Date Wed, 14 May 2008 12:39:27 GMT
Deploy with classifier does not deploy pom
------------------------------------------

                 Key: MDEPLOY-78
                 URL: http://jira.codehaus.org/browse/MDEPLOY-78
             Project: Maven 2.x Deploy Plugin
          Issue Type: Bug
    Affects Versions: 2.3
            Reporter: Libor Kramolis
         Attachments: maven-deploy-plugin-2.3.patch

This is very similar to MINSTALL-41.

Problem is that when there is an classifier set to artifact there is no primary artifact just
pom file. Artifact with classifier is placed in attachedArtifacts. It means that it is necessary
to deploy POM although there is no primary artifact.

This is fixed by attached patch. There is a new method deploy i a class DeployMojo. This class
is subset of same named method of Maven core DefaultArtifactDeployer class. It would be better
to change core DefaultArtifactDeployer to ignore null File source argument.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message