maven-issues mailing list archives

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

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

Cedric Meury commented on MSOURCES-62:
--------------------------------------

I have the same problem with Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100) (running
in Jenkins 1.447.2)

                
> 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