maven 2.1.0

deleting the local repository solves the problems, just hopes I wont have to do 
it often



----- Message d'origine ----
De : Grant Ingersoll <[email protected]>
À : [email protected]
Envoyé le : Mercredi, 22 Juillet 2009, 19h42mn 04s
Objet : Re: Error building Mahout

What version of Mvn?  Whenever I'm in doubt about Mvn, I delete the local 
repository (/home/robin/.m2/repository).


On Jul 22, 2009, at 2:15 PM, Robin Anil wrote:

> I am getting this error on building mahout. mvn clean install -e take
> a look at the debug output. Since i am not very clear about how maven
> plugin work. I would appreciate some insight into the same.
> 
> I believe copy resources is the stage where the jar files get copied
> to the target folder
> 
> Robin
> 
> Console dump belwo
> 
> 
> 
> [INFO] Building jar:
> /home/robin/lucene/trunk/buildtools/target/mahout-buildtools-0.2-SNAPSHOT.jar
> [INFO] [install:install]
> [INFO] Installing
> /home/robin/lucene/trunk/buildtools/target/mahout-buildtools-0.2-SNAPSHOT.jar
> to 
> /home/robin/.m2/repository/org/apache/mahout/mahout-buildtools/0.2-SNAPSHOT/mahout-buildtools-0.2-SNAPSHOT.jar
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Mahout Common Maven Parent
> [INFO]    task-segment: [clean, install]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing /home/robin/lucene/trunk/maven/pom.xml to
> /home/robin/.m2/repository/org/apache/mahout/mahout-parent/0.2-SNAPSHOT/mahout-parent-0.2-SNAPSHOT.pom
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Mahout core
> [INFO]    task-segment: [clean, install]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] 'copy-resources' was specified in an execution, but not found
> in the plugin
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException:
> 'copy-resources' was specified in an execution, but not found in the
> plugin
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindExecutionToLifecycle(DefaultLifecycleExecutor.java:1359)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1260)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:1004)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:477)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>         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:597)
>         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)

--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) using 
Solr/Lucene:
http://www.lucidimagination.com/search



Reply via email to