Hi folks,

developing a new plugin I made usage of plexus-utils 1.5.1. Unfortunately this 
fails when I try to run the plugin in a real project, because some classes seem 
outdated (missing method in FileUtils):

========= %< ============
[FATAL ERROR] 
com.elsagsolutions.buildsystem.maven2.plugin.templates.ActionMojo#execute() 
caused a linkage error (java.lang.NoSuchMethodError) and may be out-of-date. 
Check the realms:
[FATAL ERROR] Plugin realm = 
app0.child-container[com.elsagsolutions.buildsystem.maven2.plugin:es-template-maven2-plugin]
urls[0] = 
file:/d:/repository/m2/com/elsagsolutions/buildsystem/maven2/plugin/es-template-maven2-plugin/1.0-SNAPSHOT/es-template-maven2-plugin-1.0-SNAPSHOT.jar
urls[1] = 
file:/d:/repository/m2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/c:/Programme/Apache Software Foundation/Maven 
2.0.9/lib/maven-2.0.9-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] 
org.codehaus.plexus.util.FileUtils.copyDirectoryStructureIfModified(Ljava/io/File;Ljava/io/File;)V
========= %< ============

Do I interpret this right, that I am stuck with plexus-utils 1.1 despite the 
deps declared for my plugin?

- Jörg


BTW: http://maven.apache.org/guides/mini/guide-maven-classloading.html is 
outdated. There is no core directory anymore and lib contains the uber jar.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to