I recently updated my Mahout-0.9 snapshot version code and rebuilt from the
terminal. The process was successful with no build errors.
But when I try to build mahout from Eclipse (run as --> Maven build) I get
the following build error while Mahout-Integration is being built.

Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:2.8:copy-dependencies
(copy-dependencies) on project mahout-integration: Artifact has not been
packaged yet. When used on reactor artifact, copy should be executed after
packaging: see MDEP-187. -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-dependency-plugin:2.8:copy-dependencies
(copy-dependencies) on project mahout-integration: Artifact has not been
packaged yet. When used on reactor artifact, copy should be executed after
packaging: see MDEP-187.


(I've attached the full error message in build-error.txt). I even checked
http://jira.codehaus.org/browse/MDEP-187 and this maven dependency issue
seems still unresolved.

Could anyone give a clue what's happening here?

Thanks,
eactor Summary:
[INFO] 
[INFO] Mahout Build Tools ................................ SUCCESS [2.069s]
[INFO] Apache Mahout ..................................... SUCCESS [0.577s]
[INFO] Mahout Math ....................................... SUCCESS [14.535s]
[INFO] Mahout Core ....................................... SUCCESS [20.868s]
[INFO] Mahout Integration ................................ FAILURE [7.503s]
[INFO] Mahout Examples ................................... SKIPPED
[INFO] Mahout Release Package ............................ SKIPPED
[INFO] Mahout Math/Scala wrappers ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.195s
[INFO] Finished at: Tue Dec 03 09:22:54 IST 2013
[INFO] Final Memory: 45M/410M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-dependency-plugin:2.8:copy-dependencies 
(copy-dependencies) on project mahout-integration: Artifact has not been 
packaged yet. When used on reactor artifact, copy should be executed after 
packaging: see MDEP-187. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-dependency-plugin:2.8:copy-dependencies 
(copy-dependencies) on project mahout-integration: Artifact has not been 
packaged yet. When used on reactor artifact, copy should be executed after 
packaging: see MDEP-187.
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Artifact has not 
been packaged yet. When used on reactor artifact, copy should be executed after 
packaging: see MDEP-187.
        at 
org.apache.maven.plugin.dependency.AbstractDependencyMojo.copyFile(AbstractDependencyMojo.java:224)
        at 
org.apache.maven.plugin.dependency.fromDependencies.CopyDependenciesMojo.copyArtifact(CopyDependenciesMojo.java:266)
        at 
org.apache.maven.plugin.dependency.fromDependencies.CopyDependenciesMojo.doExecute(CopyDependenciesMojo.java:129)
        at 
org.apache.maven.plugin.dependency.AbstractDependencyMojo.execute(AbstractDependencyMojo.java:167)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 19 more

Reply via email to