org.apache.maven.lifecycle.LifecycleExecutionException: Error assembling WAR

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by kgeis, 1 year ago
Error assembling WAR
via activemq-dev by Apache Hudson Server, 1 year ago
via activemq-dev by Apache Hudson Server, 6 months ago
via activemq-dev by Apache Hudson Server, 6 months ago
via activemq-dev by Apache Hudson Server, 1 year ago
via activemq-dev by Apache Hudson Server, 1 year ago
org.codehaus.plexus.archiver.jar.ManifestException: The attribute "Hudson-Build-Number" may not occur more than once in the same section
at org.codehaus.plexus.archiver.jar.Manifest$Section.addAttributeAndCheck(Manifest.java:727)
at org.codehaus.plexus.archiver.jar.Manifest$Section.addConfiguredAttribute(Manifest.java:658)
at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:177)
at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:127)
at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:132)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:35)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
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 hudson.maven.MavenBuild$Builder.call(MavenBuild.java:175)
at hudson.maven.MavenBuild$Builder.call(MavenBuild.java:143)
at hudson.remoting.UserRequest.perform(UserRequest.java:69)
at hudson.remoting.UserRequest.perform(UserRequest.java:23)
at hudson.remoting.Request$2.run(Request.java:178)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.