[ http://jira.codehaus.org/browse/MNG-621?page=comments#action_43683 ] 

Stephane Nicoll commented on MNG-621:
-------------------------------------

This is implemented, for instance:

<build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-ear-plugin</artifactId>
        <configuration>
           [...]
           <modules>
             <webModule>
               <groupId>artifactGroupId</groupId>
               <artifactId>artifactId</artifactId>
               <contextRoot>/custom-context-root</contextRoot>
             </webModule>
          </modules>
        </configuration>
      </plugin>
    </plugins>
  </build>

See MNG-622 for patch related  information.

> Support of custom context-root for ear plugin
> ---------------------------------------------
>
>          Key: MNG-621
>          URL: http://jira.codehaus.org/browse/MNG-621
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-plugins
>     Reporter: Stephane Nicoll
>     Assignee: Stephane Nicoll

>
>
> Need to add a  way to specifiy a custom context root for a war module if the 
> application.xml is automatically generated. Currently it takes the artifactId 
> without the version part (e.g. my-module-1.0.0-SNAPSHOT.war has a context 
> root of /my-module)

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to