You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Reynolds (JIRA)" <ji...@codehaus.org> on 2006/01/04 05:45:13 UTC

[jira] Commented: (MNGECLIPSE-4) Problems with dependencies other that jar and war (ie. par, ejb3)

    [ http://jira.codehaus.org/browse/MNGECLIPSE-4?page=comments#action_54844 ] 

John Reynolds commented on MNGECLIPSE-4:
----------------------------------------

Mine failed in particular for the struts respository contents for 

struts\struts-bean\1.1
struts\struts-tiles\1.1
struts\struts-html\1.1
struts\struts-login\1.1

which just contain TLD files

> 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: Eugene Kuleshov

>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org