Ryan Blue created CRUNCH-259:
--------------------------------
Summary: crunch-archetype problems
Key: CRUNCH-259
URL: https://issues.apache.org/jira/browse/CRUNCH-259
Project: Crunch
Issue Type: Bug
Affects Versions: 0.8.0
Environment: New maven install with a new clone of crunch.git, cloudera quickstart
VM attempting to use the archetype.
Reporter: Ryan Blue
This morning, I followed the "Getting Started" instructions and ran into a problem with the
maven archetype:
{code}
[cloudera@localhost workspace]$ mvn archetype:generate -Dfilter=org.apache.crunch:crunch-archetype
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom <<<
[INFO]
[INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[WARNING] Error reading archetype catalog http://repo1.maven.org/maven2
org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://repo1.maven.org/maven2,
ReasonPhrase:Denied Access.
{code}
The "Denied Access" was odd, but I thought it was probably just maven. I then tried to clone
the repository and build crunch, but I'm getting this archetype-related error:
{code}
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Crunch ..................................... SUCCESS [2.405s]
[INFO] Apache Crunch Test ................................ SUCCESS [27.546s]
[INFO] Apache Crunch Core ................................ SUCCESS [10.557s]
[INFO] Apache Crunch HBase Support ....................... SUCCESS [56.391s]
[INFO] Apache Crunch Contrib ............................. SUCCESS [9.184s]
[INFO] Apache Crunch Examples ............................ SUCCESS [0.490s]
[INFO] Apache Crunch Archetype ........................... SUCCESS [0.263s]
[INFO] Apache Crunch for Scala ........................... SUCCESS [2:02.471s]
[INFO] Apache Crunch Distribution ........................ FAILURE [0.390s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:56.845s
[INFO] Finished at: Tue Aug 27 12:53:56 PDT 2013
[INFO] Final Memory: 38M/226M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.3:process
(default) on project crunch-dist: Failed to resolve dependencies for one or more projects
in the reactor. Reason: Missing:
[ERROR] ----------
[ERROR] 1) org.apache.crunch:crunch-archetype:jar:0.8.0-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
{code}
It appears that something is trying to depend on the un-released crunch-archetype 0.8.0-SNAPSHOT.
I'm assuming this is related to why I couldn't use the archetype earlier, although the error
message doesn't indicate that.
My crunch repo is at d91390, cloned earlier today. Thanks!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|