Uploaded image for project: 'Maven EAR Plugin'
  1. Maven EAR Plugin
  2. MEAR-114

Properties in <executions> task not taken into consideration when defining an execution id for an auto generating application.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 2.3.2
    • None
    • None
    • Windows XP, M2Eclipse, Eclipse Galileo

    Description

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

      But this doesn't work (it produce an application.xml with default contextRoot)

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

      This is problematic if we want to use multiple executions .

      Attachments

        Activity

          People

            snicoll Stephane Nicoll
            globule71 Anthony BOUQUET
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: