mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Heimel <>
Subject Building Mahout
Date Sun, 18 Oct 2009 15:13:41 GMT
Hi all,

I am running into some problems when trying to build a mahout from the
current SVN repository.
I followed the instructions from:
However, the first command "mvn install" in mahout/trunk aborts after
downloading some stuff and (successfully) running tests with the
following error:

[INFO] [gpg:sign {execution: sign-artifacts}]
GPG Passphrase: *
Reading passphrase from file descriptor 0
gpg: no default secret key
gpg: signing failed
[INFO] ---------------------------------------------------------------------
[INFO] ---------------------------------------------------------------------
[INFO] Exit code: 2

When I rerun maven install with the -e switch I get the following error:

[INFO] ---------------------------------------------------------------------
[INFO] Building Mahout coure
[INFO]      task-segment: [install]
[INFO] ---------------------------------------------------------------------
[INFO] ---------------------------------------------------------------------
[INFO] ---------------------------------------------------------------------
[INFO] 'copy-resources' was specified in an execution, but not found
in the plugin
[INFO] ---------------------------------------------------------------------
[INFO] Trace
'copy-resources' was specified in an execution, but not found in the
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindExecutionToLifecycle(
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
            at org.apache.maven.DefaultMaven.doExecute(
            at org.apache.maven.DefaultMaven.execute(
            at org.apache.maven.cli.MavenCli.main(
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(
            at java.lang.reflect.Method.invoke(
            at org.codehaus.classworlds.Launcher.launchEnhanced(
            at org.codehaus.classworlds.Launcher.launch(
            at org.codehaus.classworlds.Launcher.mainWithExitCode(
            at org.codehaus.classworlds.Launcher.main(

I am a bit at loss here... When I remove the ~/.m2 folder, the second
error disappears - however, I have to recompile and retest everything
and then run into the first error again. I also tried running maven
with -Dmaven.jar.sign.skip=true, but this didn't help either :(

The Mahout source is checked out from svn at revison 826431, I use
maven version 2.0.10 (I also tried 2.2.1 with the same result) and the
sun JDK 1.6.0_16.


View raw message