[
http://jira.codehaus.org/browse/MEAR-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195312#action_195312
]
Stephane Nicoll commented on MEAR-114:
--------------------------------------
Invoke mvn help:effective-pom -PyourProfile to validate the configuration. If
it's not taken into account, it's either a typo in your pom or a bug in Maven
itself.
> Properties in <executions> task not taken into consideration when defining an
> execution id for an auto generating application.xml
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: MEAR-114
> URL: http://jira.codehaus.org/browse/MEAR-114
> Project: Maven 2.x Ear Plugin
> Issue Type: Bug
> Affects Versions: 2.3.2
> Environment: Windows XP, M2Eclipse, Eclipse Galileo
> Reporter: Anthony BOUQUET
>
> {code:xml}
> <test>
> <execution>
> <configuration>
> <modules>
> <webModule>
>
> <groupId>com.logic.silogisme.pidi</groupId>
>
> <artifactId>TransfertOT-WAR</artifactId>
>
> <contextRoot>my-custom-context-root</contextRoot>
> </webModule>
> </modules>
> </configuration>
> </execution>
> </test>
> {code}
> But this doesn't work (it produce an application.xml with default contextRoot)
> {code:xml}
> <execution>
> <id>execution-1</id>
> <configuration>
> <modules>
> <webModule>
>
> <groupId>com.logic.silogisme.pidi</groupId>
>
> <artifactId>TransfertOT-WAR</artifactId>
>
> <contextRoot>my-custom-context-root</contextRoot>
> </webModule>
> </modules>
> </configuration>
> </execution>
> {code}
> This is problematic if we want to use multiple executions .
--
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