maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tatu Saloranta (JIRA)" <j...@codehaus.org>
Subject [jira] (MSOURCES-62) An API incompatibility was encountered.
Date Thu, 04 Oct 2012 06:03:36 GMT

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

Tatu Saloranta commented on MSOURCES-62:
----------------------------------------

Looks like Jackson builds are suffering from this as well... would be good to get 2.3 out.

Does downgrade to 2.1.2 help? Or any other workarounds?

                
> 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
>            Assignee: Olivier Lamy
>            Priority: Blocker
>             Fix For: 2.3
>
>         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