[ 
https://issues.apache.org/jira/browse/MDEPLOY-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14936780#comment-14936780
 ] 

bob commented on MDEPLOY-176:
-----------------------------

I have a multi module project. One of these modules is using the war packaging.

For the deployment I set the deployAtEnd flag to true.
If I use maven 2.2.1, 
    the deploy is working.

If I use maven 3.2.5 or 3.1.1, 
  we have the log Deploying XXX at end but at the end nothing is uploaded.
  If we remove the war from the list of the modules the artifacts are uploaded.
If I only try to deploy the war (directly from the "submodule") it is working.

Peharps the discussion is more about MDEPLOY-201 or MDEPLOY-193.

As I had the ( OSGi bundle and war use case in a multi module project), I could 
build a sample.

> 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
>
>
> 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)

Reply via email to