maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bob (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MDEPLOY-176) With DeployAtEnd activated and a project using customized lifecycle plugin, deploy is skipped
Date Wed, 30 Sep 2015 13:25:04 GMT

     [ https://issues.apache.org/jira/browse/MDEPLOY-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

bob updated MDEPLOY-176:
------------------------
    Attachment: deployAtEndFailure.zip

I put multiple profiles to be able to build jar / war and osgi modules.
Run the command 
mvn clean deploy -Pjar,war,osgi

> With DeployAtEnd activated and a project using customized lifecycle plugin, deploy is
skipped 
> ----------------------------------------------------------------------------------------------
>
>                 Key: MDEPLOY-176
>                 URL: https://issues.apache.org/jira/browse/MDEPLOY-176
>             Project: Maven Deploy Plugin
>          Issue Type: Bug
>          Components: deploy:deploy
>    Affects Versions: 2.8.1, 2.8.2
>         Environment: Maven 3.0.5
>            Reporter: olivier o
>         Attachments: deploy-end-fail.zip, deployAtEndFailure.zip
>
>
> Hi,
> When deployAtEnd is enabled, the deployment of all modules is skipped. It seems that
the "readyProjectsCounter" is not accurate for one module. So the last module is not detected.
> I've attached a simple sample project with 4 modules :
>   - pom : set version and plugin management 
>   - jar and ear  : empty project (only to illustrate counter reset)
>   - war : module with readyProjectsCounter 
> I've looked at 2.9-SNAP version code , and displayed some info from attached sample :

> pom : readyProjectsCounter: 1 - reactorProjects: 4 
> jar: readyProjectsCounter: 2 - reactorProjects: 4 
> war: *readyProjectsCounter: 1* - reactorProjects: 4 
> ear: readyProjectsCounter: 3 - reactorProjects: 4 
> Regards,
>  Olivier



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message