[
http://jira.codehaus.org/browse/MEAR-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195205#action_195205
]
Anthony BOUQUET commented on MEAR-114:
--------------------------------------
Sorry for the test tag. It souldn't be there ! I didn't know how to remove it
after having posted this message.
I will build the project again asap.
Anyway it's only a sample with a war project wich is used to build the ear
project.
If we try to run multiple executions (I use this for multiples customers), the
defined context root fails and it take only the default contextRoot wich is in
fact the artefactID of the war project.
> 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