[ 
http://jira.codehaus.org/browse/MSHADE-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=188466#action_188466
 ] 

Brane F. Gracnar commented on MSHADE-60:
----------------------------------------

Sorry, i hit enter button by accident.

Maven Shade plugin fails to create an artifact if artifact dependecies
include artifacts that cannot be opened with JarFile JVM class.

This behaviour happens if pom.xml contains something like this:

<dependencies>
  <dependency>
     <artifactId>name</artifactId>
    <groupId>com.example</groupId>
    <version>1.0.0</version>
    <type>pom</type>
  </dependency>
</dependencies>

I attached patch which skips inclusion of files, that cannot be included into 
artifact.



> [PATCH] maven shade plugin fails if artifact dependencies contain artifacts 
> that cannot be opened with JarFile class
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: MSHADE-60
>                 URL: http://jira.codehaus.org/browse/MSHADE-60
>             Project: Maven 2.x Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>            Reporter: Brane F. Gracnar
>         Attachments: maven-shade-plugin-1.2.1.patch
>
>
> Maven Shade plugin fails to create an artifact if artifact dependecies
> include artifacts that cannot be opened with JarFile JVM class.
> This behaviour happens if someone puts something
> <dependencies>

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

        

Reply via email to