You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/04/06 20:58:25 UTC

[jira] [Commented] (MASSEMBLY-802) Dependencies version conflict leads to run-time exception when creating archive

    [ https://issues.apache.org/jira/browse/MASSEMBLY-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15228894#comment-15228894 ] 

Hudson commented on MASSEMBLY-802:
----------------------------------

SUCCESS: Integrated in maven-plugins #5589 (See [https://builds.apache.org/job/maven-plugins/5589/])
[MASSEMBLY-802] Dependencies version conflict leads to run-time exception when creating archive
 o Upgraded plexus-io from 2.6 to 2.7.1 (khmarbaise: [http://svn.apache.org/viewvc/?view=rev&rev=1738017])
* maven-assembly-plugin/pom.xml


> Dependencies version conflict leads to run-time exception when creating archive
> -------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-802
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-802
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Plamen Totev
>            Assignee: Karl Heinz Marbaise
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> MASSEMBLY-801  updates the plexus-archiver from 3.0.3 to 3.1.  plexus-archiver 3.1 depends on plexus-io version 2.7.1 On other hand maven-assembly-plugin depends on plexus-io 2.6 Because of the version conflict(2.6 wins) there is run-time exception when you try to create archive.
> {code}
> java.lang.NoSuchMethodError: org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection.isConcurrentAccessSupported()Z
> 	at org.codehaus.plexus.archiver.ArchiveEntry.<init>(ArchiveEntry.java:98)
> 	at org.codehaus.plexus.archiver.ArchiveEntry.createFileEntry(ArchiveEntry.java:181)
> 	at org.codehaus.plexus.archiver.AbstractArchiver.asArchiveEntry(AbstractArchiver.java:388)
> 	at org.codehaus.plexus.archiver.AbstractArchiver.asArchiveEntry(AbstractArchiver.java:425)
> 	at org.codehaus.plexus.archiver.AbstractArchiver.access$300(AbstractArchiver.java:64)
> 	at org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:526)
> 	at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.addResources(AbstractZipArchiver.java:352)
> 	at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:328)
> 	at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.execute(AbstractZipArchiver.java:229)
> 	at org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractArchiver.java:965)
> 	at org.apache.maven.plugins.assembly.archive.archiver.AssemblyProxyArchiver.createArchive(AssemblyProxyArchiver.java:445)
> 	at org.apache.maven.plugins.assembly.archive.archiver.AssemblyProxyArchiverTest.addDirectory_NoPerms_CallAcceptFilesOnlyOnce(AssemblyProxyArchiverTest.java:175)
> {code}
> The bug is reproducible with the current tests. Updating the plexus-io dependency version to 2.7 resolves the issue. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)