[ http://jira.codehaus.org/browse/MWAR-4?page=all ]
Maria Odea Ching moved MNG-1221 to MWAR-4:
------------------------------------------
Version: (was: 2.0-beta-3)
Component: (was: maven-war-plugin)
Workflow: jira (was: Maven)
Key: MWAR-4 (was: MNG-1221)
Project: Maven 2.x War Plugin (was: Maven 2)
> War plugin broken
> -----------------
>
> Key: MWAR-4
> URL: http://jira.codehaus.org/browse/MWAR-4
> Project: Maven 2.x War Plugin
> Type: Bug
> Environment: windowsXP, j2sdk1.4.2_08, maven 2.0 beta 3,
> maven-war-plugin-2.0-beta-2.jar, plexus-utils-1.0.4.jar,
> plexus-archiver-1.0-alpha-3.jar
> Reporter: Geli Crick
> Assignee: Brett Porter
>
>
> The war plugin seems to have broken with the most recent release. While it
> was working fine on October 14th, when I tried today, October 17th, I could
> not package my war projects. Even with the default web app archetype,
> packaging fails. Running m2 clean:clean package (or any higher level goal)
> results in this output:
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] Building Maven Webapp Archetype
> [INFO] task-segment: [package]
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] No sources to compile
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] Setting reports dir: C:\test\proj5\target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> There are no test to run.
> Results :
> [surefire] Tests run: 0, Failures: 0, Errors: 0
> [INFO] [war:war]
> [INFO] Exploding webapp...
> [INFO] Copy webapp resources to C:\test\proj5\target\proj5
> ---------------------------------------------------
> constituent[0]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/commons-cli-1
> .0.jar
> constituent[1]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/doxia-sink-ap
> i-1.0-alpha-4.jar
> constituent[2]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/jline-0.9.1.j
> ar
> constituent[3]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/jsch-0.1.21.j
> ar
> constituent[4]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/maven-artifac
> t-2.0-beta-3.jar
> constituent[5]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/maven-artifac
> t-manager-2.0-beta-3.jar
> constituent[6]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/maven-core-2.
> 0-beta-3.jar
> constituent[7]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/maven-model-2
> .0-beta-3.jar
> constituent[8]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/maven-monitor
> -2.0-beta-3.jar
> constituent[9]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/maven-plugin-
> api-2.0-beta-3.jar
> constituent[10]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/maven-plugin
> -descriptor-2.0-beta-3.jar
> constituent[11]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/maven-plugin
> -parameter-documenter-2.0-beta-3.jar
> constituent[12]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/maven-plugin
> -registry-2.0-beta-3.jar
> constituent[13]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/maven-profil
> e-2.0-beta-3.jar
> constituent[14]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/maven-projec
> t-2.0-beta-3.jar
> constituent[15]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/maven-report
> ing-api-2.0-beta-3.jar
> constituent[16]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/maven-reposi
> tory-metadata-2.0-beta-3.jar
> constituent[17]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/maven-settin
> gs-2.0-beta-3.jar
> constituent[18]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/plexus-input
> -handler-1.0-alpha-2.jar
> constituent[19]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/wagon-file-1
> .0-alpha-4.jar
> constituent[20]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/wagon-http-l
> ightweight-1.0-alpha-4.jar
> constituent[21]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/wagon-provid
> er-api-1.0-alpha-4.jar
> constituent[22]:
> file:/C:/ARCHIV~1/APACHE~1/MAVEN-~1.0-B/bin/../lib/wagon-ssh-1.
> 0-alpha-4.jar
> ---------------------------------------------------
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.codehaus.plexus.util
> .FileUtils.getDefaultExcludesAsList()Ljava/util/List;
> at
> org.apache.maven.plugin.war.AbstractWarMojo.getExcludes(AbstractWarMo
> jo.java:157)
> at
> org.apache.maven.plugin.war.AbstractWarMojo.getWarFiles(AbstractWarMo
> jo.java:310)
> at
> org.apache.maven.plugin.war.AbstractWarMojo.copyResources(AbstractWar
> Mojo.java:227)
> at
> org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(Abstr
> actWarMojo.java:196)
> at
> org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:108
> )
> at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:86)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:417)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:554)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:508)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:494)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:307)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:149)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:217)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:247)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> 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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]