Hi Mike, I deleted '~/.m2/' and re-ran 'mvn eclipse:eclipse' however the error is the same as the previous post. I wonder if there is a log that would have more information.
Jason On Sun, Mar 11, 2012 at 1:52 AM, Mike Percy <[email protected]> wrote: > Hi Jason, > As you suggested off-list, maybe try blowing away your m2 repo cache and try > again? It seems to be working for me with the latest trunk: > > $ mvn eclipse:eclipse > … > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache Flume ...................................... SUCCESS [1.260s] > [INFO] Flume NG Core ..................................... SUCCESS [1.105s] > [INFO] Flume NG Sinks .................................... SUCCESS [0.026s] > [INFO] Flume NG HDFS Sink ................................ SUCCESS [1.340s] > [INFO] Flume NG IRC Sink ................................. SUCCESS [1.291s] > [INFO] Flume NG Channels ................................. SUCCESS [0.609s] > [INFO] Flume NG JDBC channel ............................. SUCCESS [1.017s] > [INFO] Flume NG Node ..................................... SUCCESS [0.868s] > [INFO] Flume NG file-based channel ....................... SUCCESS [0.184s] > [INFO] Flume NG distribution ............................. SUCCESS [0.335s] > [INFO] Flume legacy Sources .............................. SUCCESS [0.012s] > [INFO] Flume legacy Thrift Source ........................ SUCCESS [0.217s] > [INFO] Flume legacy Avro source .......................... SUCCESS [0.275s] > [INFO] Flume NG Clients .................................. SUCCESS [0.014s] > [INFO] Flume NG Log4j Appender ........................... SUCCESS [0.118s] > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 9.783s > [INFO] Finished at: Sat Mar 10 22:42:46 PST 2012 > [INFO] Final Memory: 18M/81M > [INFO] > ------------------------------------------------------------------------ > > Here is my Maven version info. Very similar to yours. > > $ mvn --version > Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) > Maven home: /usr/share/maven > Java version: 1.6.0_29, vendor: Apple Inc. > Java home: > /Library/Java/JavaVirtualMachines/1.6.0_29-b11-402.jdk/Contents/Home > Default locale: en_US, platform encoding: MacRoman > OS name: "mac os x", version: "10.7.3", arch: "x86_64", family: "mac" > > Please report back if a clean maven repo doesn't help (or if it does). I > don't use Eclipse so I don't know much about eclipse:eclipse but another > thing you could try is "mvn clean install" before you try the eclipse thing, > to see if having a version in your local repo helps. But if there is some > magical incantation to make this work then we should add it to the wiki. > > HTH, > Mike > > On Mar 10, 2012, at 5:08 PM, Jason Rutherglen wrote: > >> Mike, >> >> Thanks for your quick reply. This is the output of 'mvn --version': >> >> Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) >> Maven home: /usr/share/maven >> Java version: 1.6.0_26, vendor: Apple Inc. >> Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home >> Default locale: en_US, platform encoding: MacRoman >> OS name: "mac os x", version: "10.7.1", arch: "x86_64", family: "mac" >> >> On Sat, Mar 10, 2012 at 7:24 PM, Mike Percy <[email protected]> wrote: >>> What version of Maven are you running? >>> >>> Sent from my iPhone >>> >>> On Mar 10, 2012, at 2:21 PM, Jason Rutherglen <[email protected]> >>> wrote: >>> >>>> I ran: >>>> >>>> svn co http://svn.apache.org/repos/asf/incubator/flume/trunk FLUME-TRUNK >>>> >>>> cd FLUME-TRUNK >>>> >>>> mvn eclipse:eclipse >>>> >>>> The following is the bottom portion of the Maven log which includes the >>>> error: >>>> >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Building Flume NG HDFS Sink 1.1.0-incubating-SNAPSHOT >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] >>>> [INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ >>>> flume-hdfs-sink >>> >>>> [INFO] >>>> [INFO] --- maven-remote-resources-plugin:1.1:process (default) @ >>>> flume-hdfs-sink --- >>>> Downloading: >>>> http://repository.apache.org/snapshots/org/apache/flume/flume-ng-core/1.1.0-incubating-SNAPSHOT/maven-metadata.xml >>>> Downloading: >>>> http://repository.apache.org/snapshots/org/apache/flume/flume-ng-core/1.1.0-incubating-SNAPSHOT/flume-ng-core-1.1.0-incubating-SNAPSHOT.jar >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Reactor Summary: >>>> [INFO] >>>> [INFO] Apache Flume ...................................... SUCCESS >>>> [16.046s] >>>> [INFO] Flume NG Core ..................................... SUCCESS >>>> [22.668s] >>>> [INFO] Flume NG Sinks .................................... SUCCESS [0.026s] >>>> [INFO] Flume NG HDFS Sink ................................ FAILURE [1.072s] >>>> [INFO] Flume NG IRC Sink ................................. SKIPPED >>>> [INFO] Flume NG Channels ................................. SKIPPED >>>> [INFO] Flume NG JDBC channel ............................. SKIPPED >>>> [INFO] Flume NG Node ..................................... SKIPPED >>>> [INFO] Flume NG file-based channel ....................... SKIPPED >>>> [INFO] Flume NG distribution ............................. SKIPPED >>>> [INFO] Flume legacy Sources .............................. SKIPPED >>>> [INFO] Flume legacy Thrift Source ........................ SKIPPED >>>> [INFO] Flume legacy Avro source .......................... SKIPPED >>>> [INFO] Flume NG Clients .................................. SKIPPED >>>> [INFO] Flume NG Log4j Appender ........................... SKIPPED >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] BUILD FAILURE >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Total time: 1:16.929s >>>> [INFO] Finished at: Sat Mar 10 17:06:52 EST 2012 >>>> [INFO] Final Memory: 17M/81M >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [ERROR] Failed to execute goal >>>> org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process >>>> (default) on project flume-hdfs-sink: Failed to resolve dependencies >>>> for one or more projects in the reactor. Reason: Missing: >>>> [ERROR] ---------- >>>> [ERROR] 1) org.apache.flume:flume-ng-core:jar:1.1.0-incubating-SNAPSHOT >>>> [ERROR] >>>> [ERROR] Try downloading the file manually from the project website. >>>> [ERROR] >>>> [ERROR] Then, install it using the command: >>>> [ERROR] mvn install:install-file -DgroupId=org.apache.flume >>>> -DartifactId=flume-ng-core -Dversion=1.1.0-incubating-SNAPSHOT >>>> -Dpackaging=jar -Dfile=/path/to/file >>>> [ERROR] >>>> [ERROR] Alternatively, if you host your own repository you can deploy >>>> the file there: >>>> [ERROR] mvn deploy:deploy-file -DgroupId=org.apache.flume >>>> -DartifactId=flume-ng-core -Dversion=1.1.0-incubating-SNAPSHOT >>>> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >>>> [ERROR] >>>> [ERROR] Path to dependency: >>>> [ERROR] 1) >>>> org.apache.flume.flume-ng-sinks:flume-hdfs-sink:jar:1.1.0-incubating-SNAPSHOT >>>> [ERROR] 2) org.apache.flume:flume-ng-core:jar:1.1.0-incubating-SNAPSHOT >>>> [ERROR] >>>> [ERROR] ---------- >>>> [ERROR] 1 required artifact is missing. >>>> [ERROR] >>>> [ERROR] for artifact: >>>> [ERROR] >>>> org.apache.flume.flume-ng-sinks:flume-hdfs-sink:jar:1.1.0-incubating-SNAPSHOT >>>> [ERROR] >>>> [ERROR] from the specified remote repositories: >>>> [ERROR] repo1.maven.org (http://repo1.maven.org/maven2, releases=true, >>>> snapshots=false), >>>> [ERROR] repository.jboss.org >>>> (http://repository.jboss.org/nexus/content/groups/public/, >>>> releases=true, snapshots=false), >>>> [ERROR] apache.snapshots (http://repository.apache.org/snapshots, >>>> releases=false, snapshots=true), >>>> [ERROR] central (http://repo1.maven.org/maven2, releases=true, >>>> snapshots=false) >>>> [ERROR] -> [Help 1] >>>> [ERROR] >>>> [ERROR] To see the full stack trace of the errors, re-run Maven with >>>> the -e switch. >>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>>> [ERROR] >>>> [ERROR] For more information about the errors and possible solutions, >>>> please read the following articles: >>>> [ERROR] [Help 1] >>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException >>>> [ERROR] >>>> [ERROR] After correcting the problems, you can resume the build with the >>>> command >>>> [ERROR] mvn <goals> -rf :flume-hdfs-sink >
