You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Kristoffer Peterh?esel (JIRA)" <ji...@codehaus.org> on 2006/01/19 11:31:40 UTC

[jira] Created: (MNGECLIPSE-47) "Illegal type of archive' blocks building of project

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


[jira] Closed: (MNGECLIPSE-47) "Illegal type of archive' blocks building of project

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNGECLIPSE-47?page=all ]
     
Eugene Kuleshov closed MNGECLIPSE-47:
-------------------------------------

     Resolution: Duplicate
    Fix Version: 0.0.4

This is fixed for 0.0.4 version. Those dependencies won't be added to the Eclipse build path. See MNGECLIPSE-4

> "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
>     Assignee: Eugene Kuleshov
>      Fix For: 0.0.4

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