You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Bill Siggelkow <bs...@mac.com> on 2005/10/16 05:32:10 UTC

Problem with m2 clean:clean package

I am new user of Maven 2 (and have only dabbled with Maven 1). I was  
following the instructions from the getting started page and ran into  
the following error when I tried to run 'm2 clean:clean package' on  
the webapp archetype I created. I am using the maven-2.0-beta-3.  
Here's the stack trace ...

Exception in thread "main" java.lang.NoSuchMethodError:  
org.codehaus.plexus.util.FileUtils.getDefaultExcludesAsList()Ljava/ 
util/List;
         at org.apache.maven.plugin.war.AbstractWarMojo.getExcludes 
(AbstractWarMojo.java:157)
         at org.apache.maven.plugin.war.AbstractWarMojo.getWarFiles 
(AbstractWarMojo.java:310)
         at org.apache.maven.plugin.war.AbstractWarMojo.copyResources 
(AbstractWarMojo.java:227)
         at  
org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp 
(AbstractWarMojo.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 
(DefaultPluginManager.java:417)

This would seem to be from an incorrect jar for Plexus. Any help  
would be appreciated.

-Bill Siggelkow

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem with m2 clean:clean package

Posted by Brett Porter <br...@gmail.com>.
You must upgrade to the Maven 2.0 RC build.

- Brett

On 10/15/05, Bill Siggelkow <bs...@mac.com> wrote:
> I am new user of Maven 2 (and have only dabbled with Maven 1). I was
> following the instructions from the getting started page and ran into
> the following error when I tried to run 'm2 clean:clean package' on
> the webapp archetype I created. I am using the maven-2.0-beta-3.
> Here's the stack trace ...
>
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.codehaus.plexus.util.FileUtils.getDefaultExcludesAsList()Ljava/
> util/List;
>         at org.apache.maven.plugin.war.AbstractWarMojo.getExcludes
> (AbstractWarMojo.java:157)
>         at org.apache.maven.plugin.war.AbstractWarMojo.getWarFiles
> (AbstractWarMojo.java:310)
>         at org.apache.maven.plugin.war.AbstractWarMojo.copyResources
> (AbstractWarMojo.java:227)
>         at
> org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp
> (AbstractWarMojo.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
> (DefaultPluginManager.java:417)
>
> This would seem to be from an incorrect jar for Plexus. Any help
> would be appreciated.
>
> -Bill Siggelkow
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org