Thanks, I added -X to the first mvn after "Converting to plain text". I don't know exactly what to make of this.

./build-reuters.sh
Converting to plain text.
+ Error stacktraces are turned on.
Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
Java version: 1.6.0_17
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.6.3" arch: "x86_64" Family: "mac"
[DEBUG] Building Maven user-level plugin registry from: '/Users/jeff/.m2/plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: '/Users/jeff/apache-maven-2.2.1/conf/plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'exec'.
[DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins
[DEBUG] Loading plugin prefixes from group: org.codehaus.mojo
[DEBUG] exec-maven-plugin: resolved to version 1.1.1 from repository central
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo-parent:pom:20 for project: null:exec-maven-plugin:maven-plugin:1.1.1 from the repository.
[DEBUG] Adding managed dependencies for unknown:exec-maven-plugin
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0
[DEBUG]   junit:junit:jar:3.8.2:test
[DEBUG] Wagons could not be registered as the extension container was never created [INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [exec:java]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing exec:java
[INFO] No goals needed for project - skipping
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------ [INFO] Cannot execute mojo: java. It requires a project with an existing pom.xml, but the build is not using one. [INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot execute mojo: java. It requires a project with an existing pom.xml, but the build is not using one. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    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)
Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot execute mojo: java. It requires a project with an existing pom.xml, but the build is not using one. at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:414) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
    ... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon May 10 07:27:00 PDT 2010
[INFO] Final Memory: 3M/80M
[INFO] ------------------------------------------------------------------------



On 5/10/10 7:23 AM, Florent Empis wrote:
Try adding a -X on your mvn calls you'll get a much more verbose output.

2010/5/10 Jeff Eastman<j...@windwardsolutions.com>

I'm also getting a build error running that job but do not see the
additional text you are seeing. How do you enable that extra information?
Jeff

$ ./build-reuters.sh
Downloading Reuters-21578
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
  Current
                                 Dload  Upload   Total   Spent    Left
  Speed
100 7959k  100 7959k    0     0   697k      0  0:00:11  0:00:11 --:--:--
  667k
Extracting...
Converting to plain text.
+ Error stacktraces are turned on.
[ERROR] BUILD ERROR





On 5/10/10 7:07 AM, Florent Empis wrote:

Sorry, I made a mistake
I have a problem with compressors and with SLF4J:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An exception occured while executing the Java class.
org/slf4j/impl/StaticLoggerBinder

org.slf4j.impl.StaticLoggerBinder
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An exception
occured
while executing the Java class. org/slf4j/impl/StaticLoggerBinder
at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)


2010/5/10 Florent Empis<florent.em...@gmail.com>



Hello,

I try to run the Dirichlet example via this shell:
mahout/examples/bin/build-reuters.sh
I'm fairly new to Mahout and to Maven and I think something is wrong with
dependencies and probably with the repositories I should add to my
settings.xml ?

Thanks for your help!

-------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An exception occured while executing the Java class. null

org.apache.commons.compress.compressors.CompressorException
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An exception
occured while executing the Java class. null
         at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)

-------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An exception occured while executing the Java class. null

org.apache.commons.compress.compressors.CompressorException
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An exception
occured while executing the Java class. null
         at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)







Reply via email to