NoSuchMethodError Exception

157 views
Skip to first unread message

Jamal B

unread,
Aug 19, 2013, 3:05:39 PM8/19/13
to maven-down...@googlegroups.com
Hi, I have been using this plugin for a while now, and today encountered a problem while using the 1.2.0-SNAPSHOT version of the plugin.  I'm running into the method signature error below, and I believe it's related to a recent push.  I think it's related to the plexus dependency updates made in commit 947b4c991506d6ba43b4c5a7a24c5196c7eb6f48 .  Is there any way to fix this so that the plugin is working again for me using maven 3.0.4 and jdk 1.6?

Thanks 


at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
	... 28 more
Caused by: java.lang.NoSuchMethodError: org.codehaus.plexus.util.StringUtils.isBlank(Ljava/lang/String;)Z
	at org.codehaus.plexus.archiver.util.FilePermissionUtils.getFilePermissionFromMode(FilePermissionUtils.java:48)
	at org.codehaus.plexus.archiver.util.ArchiveEntryUtils.applyPermissionsWithJvm(ArchiveEntryUtils.java:133)
	at org.codehaus.plexus.archiver.util.ArchiveEntryUtils.chmod(ArchiveEntryUtils.java:61)
	at org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.extractFile(AbstractZipUnArchiver.java:238)
	at org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.extractFileIfIncluded(AbstractZipUnArchiver.java:185)
	at org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.execute(AbstractZipUnArchiver.java:149)
	at org.codehaus.plexus.archiver.AbstractUnArchiver.extract(AbstractUnArchiver.java:120)
	at com.googlecode.Artifact.unpackFileToDirectory(Artifact.java:244)
	at com.googlecode.Artifact.execute(Artifact.java:158)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	... 28 more
channel stopped
[ANALYSIS-COLLECTOR] Skipping publisher since build result is FAILURE
Finished: FAILURE

Mickael Istria

unread,
Aug 19, 2013, 3:39:18 PM8/19/13
to maven-down...@googlegroups.com
On 08/19/2013 09:05 PM, Jamal B wrote:
Hi, I have been using this plugin for a while now, and today encountered a problem while using the 1.2.0-SNAPSHOT version of the plugin.  I'm running into the method signature error below, and I believe it's related to a recent push.  I think it's related to the plexus dependency updates made in commit 947b4c991506d6ba43b4c5a7a24c5196c7eb6f48 .  Is there any way to fix this so that the plugin is working again for me using maven 3.0.4 and jdk 1.6?
Yes, it seems related to the plexus dependency.
I guess it's an incompatibiliy between the version of plexus utils and the version of plexus archiver used by the plugin. Can you please create report this issue on the GitHub tracker?

--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

Jamal B

unread,
Aug 19, 2013, 3:57:06 PM8/19/13
to maven-down...@googlegroups.com
Done, I have created issue #19.

Thanks
Reply all
Reply to author
Forward
0 new messages