Hello, if this is a redundant question please refer me to a thread that
has covered it.  I searched through the last 3 months of the mail
archive w/ no luck.

 

I checked out the maven-assembly-plugin in order to add a piece of
functionality.  It built fine, and installed into my local .m2 repo.
But trying to use it in my current project's build yielded a lovely
IncompatibleClassChangeError.

 

I'm assuming someone has run into this before, but not sure what info I
should include in my post to have the community help me debug the issue.

 

Thanks for the help,

Tom Hartwell

 

Stack Trace:

[INFO] [assembly:assembly]

[INFO]
------------------------------------------------------------------------

[ERROR] FATAL ERROR

[INFO]
------------------------------------------------------------------------

[INFO] null

[INFO]
------------------------------------------------------------------------

[INFO] Trace

java.lang.IncompatibleClassChangeError

        at
org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.readAssemblies
(DefaultAssemblyReader.java:74)

        at
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(Abst
ractAssemblyMojo.java:253)

        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:412)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:534)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:488)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:458)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:306)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:219)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:140)

        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:256)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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)

Reply via email to