I have installed this plugin and I can't find where can I find to call maven 2 goals from Eclipse. Is it possible in this plugin version?
I found that I can call maven 2 goals from eclipse: right click on the pom.xml -> Run -> maven2

But I found also a problem in eclipse with projects producing artifacts with other than war and jar types. I use mvn eclipse:eclipse to generate .project and .classpath on the pom.xml with <packaging>war</packaging> which contains dependency to the mymodel.par artifact (Persistence archive jar file) (I still don't know how to open project in eclipse with only pom.xml - no .project and .classpath files), then I import this project to the workspace. Until now everything is working fine. Then I use context menu on the project and select Maven 2 -> Enable. I got errors with duplicated dependencies (in .classpath and in the Maven2 Dependencies node) so I remove duplicated entries from eclipse java build path. Then I have one more error which I can't remove: Illegal type of archive for required library: 'C:\Documents and Settings\piotr\.m2\repository\com\example\mymodel\1.0\mymodel-1.0.par' in project mywar. How to cope with this error? I think that maven2 plugin should try to treat all dependencies as jar files and if it fails generate this error. This same occurs with mylogic.ejb3 (plain jar file with EJB3 session beans).

Best regards,
Piotrek

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to