ear files and maven-eclipse-plugin

2007-10-11 Thread Adrian Gonzalez
Hello, A really noob question... (sorry !) I'm currently using maven-eclipse-plugin to build a web project with third party dependencies and a java project. I want now to use this plugin to add a ear project including the previous web project and java project (as utility jar). maven-eclipse-plu

Re: ear files and maven-eclipse-plugin

2007-10-15 Thread Jim Sellers
Make sure you have your pom type as "ear" (no quotes). If you need your .project file to have certain natures so that eclipse will "see" it as a certain type. http://maven.apache.org/plugins/maven-eclipse-plugin/examples/provide-project-natures-and-build-commands.html If you're using WTP, this mi

RE : Re: ear files and maven-eclipse-plugin

2007-10-15 Thread Adrian Gonzalez
Thanks very much Jim. I've successfully created my ear pom.xml for RAD 7 (event if it's really ugly with all those custom files !). I attach my current pom.xml if it can help someone. I've only used : - eclipse plugin to generate .classpath and .project and custom files. - antrun (or cleaning pu