Unfortunately at this time, plexus-utils is in the root classloader shared by all plugins. So version in $M2_HOME/core is the version you get regardless of dependencies.
- Brett On 2/19/06, Brian Topping <[EMAIL PROTECTED]> wrote: > Howdy, > > I'm putting together some changes for the WAR plugin for resource > filtering, and I'm having some problems with classpaths. I've > attached a stacktrace. The class that is being searched is in plexus- > utils-1.2-SNAPSHOT on ibiblio, and it appears from the output snippet > below that the jar is being properly loaded via local override, but > when it comes time to load a class from the jar, it's not found. > > Presumably it's a problem with my configuration, is there enough > information in this trace to determine the issue? > > Thanks, > > Brian > > > > [DEBUG] Retrieving parent-POM from the repository for project: > > null:plexus-utils:jar:1.2-20060213.104414-2 > > [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.5 (removed - > > nearer found: 1.2-SNAPSHOT) > > [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.2-SNAPSHOT > > (selected for runtime) > > [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0 (selected for > > runtime) > > [DEBUG] org.apache.maven:maven-artifact:jar:2.0.1 (removed - > > nearer found: 2.0) > > [DEBUG] org.apache.maven:maven-artifact:jar:2.0 (selected for > > runtime) > > [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (removed - > > nearer found: 1.2-SNAPSHOT) > > [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-war-plugin: > > 2.0-beta-3-SNAPSHOT:war' --> > > [DEBUG] (s) classesDirectory = /Users/topping/dev/topspin/topspin- > > web/target/classes > > [DEBUG] (f) filters = [/Users/topping/dev/topspin/topspin-web/src/ > > main/webapp] > > [DEBUG] (f) outputDirectory = /Users/topping/dev/topspin/topspin- > > web/target > > [DEBUG] (s) project = [EMAIL PROTECTED] > > [DEBUG] (f) warName = topspin-web > > [DEBUG] (s) warSourceDirectory = /Users/topping/dev/topspin/ > > topspin-web/src/main/webapp > > [DEBUG] (s) webappDirectory = /Users/topping/dev/topspin/topspin- > > web/target/topspin-web > > [DEBUG] (f) workDirectory = /Users/topping/dev/topspin/topspin- > > web/target/war/work > > [DEBUG] -- end configuration -- > > [INFO] [war:war] > > [INFO] Exploding webapp... > > [INFO] Copy webapp resources to /Users/topping/dev/topspin/topspin- > > web/target/topspin-web > > [INFO] > > ---------------------------------------------------------------------- > > ------ > > [ERROR] FATAL ERROR > > [INFO] > > ---------------------------------------------------------------------- > > ------ > > [INFO] org/codehaus/plexus/util/FileUtils$FilterWrapper > > [INFO] > > ---------------------------------------------------------------------- > > ------ > > [DEBUG] Trace > > java.lang.NoClassDefFoundError: org/codehaus/plexus/util/FileUtils > > $FilterWrapper > > at org.apache.maven.plugin.war.AbstractWarMojo.copyFile > > (AbstractWarMojo.java:329) > > at org.apache.maven.plugin.war.AbstractWarMojo.copyResources > > (AbstractWarMojo.java:310) > > at > > org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp > > (AbstractWarMojo.java:276) > > at org.apache.maven.plugin.war.WarMojo.performPackaging > > (WarMojo.java:146) > > at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java: > > 124) > > at org.apache.maven.plugin.DefaultPluginManager.executeMojo > > (DefaultPluginManager.java:415) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals > > (DefaultLifecycleExecutor.java:531) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLif > > ecycle(DefaultLifecycleExecutor.java:472) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal > > (DefaultLifecycleExecutor.java:451) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand > > leFailures(DefaultLifecycleExecutor.java:303) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment > > s(DefaultLifecycleExecutor.java:270) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute > > (DefaultLifecycleExecutor.java:139) > > at org.apache.maven.DefaultMaven.doExecute > > (DefaultMaven.java:322) > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: > > 115) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke > > (NativeMethodAccessorImpl.java:39) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke > > (DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:585) > > at org.codehaus.classworlds.Launcher.launchEnhanced > > (Launcher.java:315) > > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > > at org.codehaus.classworlds.Launcher.mainWithExitCode > > (Launcher.java:430) > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
