You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Chaumont (JIRA)" <ji...@codehaus.org> on 2007/11/23 12:16:57 UTC

[jira] Created: (MECLIPSE-353) replace application.xml if already exist in source repository

replace application.xml if already exist in source repository
-------------------------------------------------------------

                 Key: MECLIPSE-353
                 URL: http://jira.codehaus.org/browse/MECLIPSE-353
             Project: Maven 2.x Eclipse Plugin
          Issue Type: New Feature
          Components: RAD support
    Affects Versions: 2.5
         Environment: Windows XP, JDK1.4, RAD6
            Reporter: Olivier Chaumont


When I execute mvn eclipse:rad command on an EAR maven project, the eclipse plugin generate the file META-INF/application.xml.
To generate the content of this file the eclipse plugin read the config of the "maven-ear-plugin" in the pom.xml.
If I execute a second time the command mvn eclipse:rad, META-INF/application.xml is not re-create.

The problem is if I choose to generate the application.xml in the maven-ear-plugin configuration and not use an existing application.xml file (like in the example below), I think that the META-INF/application.xml must be re-create.

If not when I change the configuration in the pom.xml, RAD6 doesn't see the changes.
If not when I execute the mvn install command, the EAR package generate in the target not use the META-INF/application.xml.


<plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-ear-plugin</artifactId>
	<configuration>										
		<generateApplicationXml>true</generateApplicationXml>
		<generatedDescriptorLocation>${basedir}/target</generatedDescriptorLocation>
		(...)		
	</configuration>
</plugin>		


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