[ http://jira.codehaus.org/browse/MNGECLIPSE-4?page=all ]
Mark Chesney updated MNGECLIPSE-4: ---------------------------------- Attachment: MNGECLIPSE-4.jpg > Problems with dependencies other that jar and war (ie. par, ejb3) > ----------------------------------------------------------------- > > Key: MNGECLIPSE-4 > URL: http://jira.codehaus.org/browse/MNGECLIPSE-4 > Project: Maven 2.x Plug-in for Eclipse > Type: Bug > Environment: MS Windows XP, Eclipse 3.2M2, plugin ver. 0.0.3 > Reporter: Piotr Bzdyl > Assignee: Dmitri Maximovich > Attachments: MNGECLIPSE-4.jpg > > > I found 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). -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]