Hello
I did not find this exact problem in the mailing list so far - so I'll
give it a try:
What could be wrong in my configuration - when executing "Maven -> Update
Project" I first get the application and jboss.xml generated and
afterwards everything under "target/m2e-wtp/ear-resources" gets deleted/
cleaned - I can only use the two files when unchecking the "clean"
checkbox in the according dialog.
Does it need some special lifecycle Mapping for this to work properly
(first clean, then generate)?
My maven-ear-plugin is configured as follows:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<version>2.8</version>
<configuration>
<filtering>true</filtering>
<escapedBackslashesInFilePath>true</escapedBackslashesInFilePath>
<earSourceDirectory>${project.build.directory}/maven-shared-archive-resources</earSourceDirectory>
<version>1.4</version>
<artifactTypeMappings>
<artifactTypeMapping mapping="jar"
type="test-jar"></artifactTypeMapping>
</artifactTypeMappings>
<jboss>
<version>4</version>
<data-sources>
<data-source>my-datasource-ds.xml</data-source>
</data-sources>
</jboss>
</configuration>
</plugin>
Thank you very much in advance
Georg
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users