[ http://jira.codehaus.org/browse/MOJO-275?page=all ]

Mark Hobson updated MOJO-275:
-----------------------------

    Component:     (was: Plugin Submission)
               tomcat

> Maven2 Tomcat Plugin tomcat:redeploy is executed for packaging type POM 
> projects.
> ---------------------------------------------------------------------------------
>
>          Key: MOJO-275
>          URL: http://jira.codehaus.org/browse/MOJO-275
>      Project: Mojo
>         Type: Bug

>   Components: tomcat
>     Reporter: Yujin Kim
>     Assignee: Mark Hobson

>
>
> I have the following project tree structure
> - Project Parent
> - - component A
> - - component B
> - - Web Component Parent
> - - - Web Component A
> - - - Web Component B
> Web Component Parent is of type POM where I can set a default plugin 
> behaviors etc for all the web based projects.  The pom contains module 
> section to list all the web modules.
> In this set up, I have configured the maven-tomcat-plugin (snapshot 1.0.4) at 
> the web parent project level, and am executing tomcat:redeploy so it can be 
> executed for each module.  However, the execution fails because the plugin is 
> attempting to deploy Web Component Project to the target tomcat instance 
> where it should be ignored. (Other targets/goals seem to skip pom type 
> projects.)
> [INFO] [war:exploded]
> [INFO] Exploding webapp...
> [INFO] Copy webapp resources to 
> /Users/ykim/Developer/workspace/vivakos2/vps-module-parent/target/vps-module-parent-1.0.0-SNAPSHOT
> [INFO] Assembling webapp vps-module-parent in 
> /Users/ykim/Developer/workspace/vivakos2/vps-module-parent/target/vps-module-parent-1.0.0-SNAPSHOT
> [INFO] [tomcat:redeploy]
> [INFO] Redeploying application at 
> http://localhost:8080/vps-module-parent-1.0.0-SNAPSHOT
> [INFO] 
> ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Cannot invoke Tomcat manager: FAIL - No context exists for path 
> /vps-module-parent-1.0.0-SNAPSHOT

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

Reply via email to