You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anthony BOUQUET (JIRA)" <ji...@codehaus.org> on 2009/10/16 11:24:26 UTC

[jira] Created: (MEAR-114) Properties in task not taken into consideration when defining an execution id for an auto generating application.xml

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

        

[jira] Commented: (MEAR-114) Properties in task not taken into consideration when defining an execution id for an auto generating application.xml

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MEAR-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195084#action_195084 ] 

Stephane Nicoll commented on MEAR-114:
--------------------------------------

uh? What is this test tag?

Attach a test project that reproduces your problem.

> 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

        

[jira] Commented: (MEAR-114) Properties in task not taken into consideration when defining an execution id for an auto generating application.xml

Posted by "Anthony BOUQUET (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Commented: (MEAR-114) Properties in task not taken into consideration when defining an execution id for an auto generating application.xml

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Closed: (MEAR-114) Properties in task not taken into consideration when defining an execution id for an auto generating application.xml

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MEAR-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephane Nicoll closed MEAR-114.
--------------------------------

    Resolution: Cannot Reproduce
      Assignee: Stephane Nicoll

> 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
>            Assignee: Stephane Nicoll
>
> {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