maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy (JIRA)" <j...@codehaus.org>
Subject [jira] (MSOURCES-62) An API incompatibility was encountered.
Date Tue, 11 Sep 2012 13:05:21 GMT

    [ https://jira.codehaus.org/browse/MSOURCES-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=308236#comment-308236
] 

Olivier Lamy commented on MSOURCES-62:
--------------------------------------

due to https://github.com/sonatype/plexus-archiver/commit/838ab2e61ab6540631abe8a792292ea672e97a85#src/main/java/org/codehaus/plexus/archiver/jar/Manifest.java
                
> An API incompatibility was encountered.
> ---------------------------------------
>
>                 Key: MSOURCES-62
>                 URL: https://jira.codehaus.org/browse/MSOURCES-62
>             Project: Maven 2.x Source Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
>            Reporter: Christian Schulte
>            Priority: Blocker
>         Attachments: MSOURCES-62.zip
>
>
> The plugin fails when using custom 'manifestEntries' throwing the following exception:
> {code}
> [...]
> Caused by: java.lang.NoSuchMethodError: org.codehaus.plexus.archiver.jar.Manifest.getMainSection()Lorg/codehaus/plexus/archiver/jar/Manifest$Section;
>         at org.apache.maven.archiver.MavenArchiver.getManifest(MavenArchiver.java:102)
>         at org.apache.maven.archiver.MavenArchiver.createArchive(MavenArchiver.java:513)
>         at org.apache.maven.plugin.source.AbstractSourceJarMojo.packageSources(AbstractSourceJarMojo.java:288)
>         at org.apache.maven.plugin.source.AbstractSourceJarMojo.packageSources(AbstractSourceJarMojo.java:240)
>         at org.apache.maven.plugin.source.AbstractSourceJarMojo.execute(AbstractSourceJarMojo.java:209)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         ... 20 more
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message