crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Micah Whitacre (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CRUNCH-259) crunch-archetype problems
Date Mon, 02 Sep 2013 19:12:51 GMT

    [ https://issues.apache.org/jira/browse/CRUNCH-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13756208#comment-13756208
] 

Micah Whitacre commented on CRUNCH-259:
---------------------------------------

I believe maven has some smarts such it can recognize if a dependency in the build is a jar
or a directory and will use add the directory to the classpath if the jar doesn't exist. 
The archetype being the first failure is probably because the archetype requires an actual
jar dependency.

Ryan can you verify the issue you are seeing with the build?  I just ran "mvn clean install"
with HEAD (commit 92888ff4260d1417baba66323e2dd2779f0105e4) and was able to do so successfully.
 I didn't do any other steps so if you entered the broken state through a series of commands
or with a special profile let me know.
                
> 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

Mime
View raw message