[
https://issues.apache.org/jira/browse/MDEPLOY-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14936827#comment-14936827
]
bob edited comment on MDEPLOY-176 at 9/30/15 1:25 PM:
------------------------------------------------------
I found the issue with the war,
this pom was redefining the version of maven deploy (2.8.1 instead of 2.8.2)
With multiple different version
I attached a project example which is failing with a bundle packaging. The jar
will be empty but should be enough for your test.
I put multiple profiles to be able to build jar / war and osgi modules.
Run the command
mvn clean deploy -Pjar,war,osgi
was (Author: bob_h):
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)