"Illegal type of archive' blocks building of project
----------------------------------------------------

         Key: MNGECLIPSE-47
         URL: http://jira.codehaus.org/browse/MNGECLIPSE-47
     Project: Maven 2.x Plug-in for Eclipse
        Type: Bug

    Versions: 0.0.3    
 Environment: Eclipse 3.1.1, Maven 2 Plugin 0.0.3, Windows XP
    Reporter: Kristoffer Peterhäesel
 Assigned to: Eugene Kuleshov 


This may be an issue with Eclipse and not really this plugin. But I am working 
with some special JBoss archive types (har and sar). Since I am building an ear 
I need to use them as dependencies to my project.

As it turns out it seems that it works quite well to resolve the dependency (I 
guess that's a given since it works just fine in Maven from the CLI too). But 
Eclipse will refuse to build the project with this error:

Illegal type of archive for required library: 'C:\Documents and Settings\<bla 
bla>\<my sar file>.sar' in project backend-helpdesk

I'm not quite sure what to suggest as resolution to this issue. For me it would 
work fine if the plugin would resolve the dependency from another project in 
the workspace instead (since I'm working with these projects together anyway). 
But the optimal would be forcing Eclipse to use everything that Maven wants to 
be part of the classpath if that is at all possible.

A workaround could be to rename 'strange archives' to '.jar' in a local cache 
when the plugin resolves the dependency.

-- 
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]

Reply via email to