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

stack commented on HBASE-6929:
------------------------------

You know how to fix this [~enis]?

{code}
Here is what I ran: 

stack:0.94 stack$ mvn -DskipTests -Dhadoop.profile=2.0 -Dclassifier=hadoop2 
install

...and I got this:

...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:12.527s
[INFO] Finished at: Tue Oct 09 12:11:41 PDT 2012
[INFO] Final Memory: 28M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-dependency-plugin:2.1:build-classpath 
(create-mrapp-generated-classpath) on project hbase: not found in any 
repository: aopalliance:aopalliance:java-source:hadoop2:1.0: Could not find 
artifact aopalliance:aopalliance:jar:hadoop2:1.0 in apache release 
(https://repository.apache.org/content/repositories/releases/)
[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=aopalliance -DartifactId=aopalliance 
-Dversion=1.0 -Dclassifier=hadoop2 -Dpackaging=java-source -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=aopalliance -DartifactId=aopalliance 
-Dversion=1.0 -Dclassifier=hadoop2 -Dpackaging=java-source -Dfile=/path/to/file 
-Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR] 
[ERROR] aopalliance:aopalliance:java-source:1.0
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR] apache release 
(https://repository.apache.org/content/repositories/releases/, releases=true, 
snapshots=true),
[ERROR] apache non-releases (http://people.apache.org/~stack/m2/repository, 
releases=true, snapshots=false),
[ERROR] java.net (http://download.java.net/maven/2/, releases=true, 
snapshots=false),
[ERROR] codehaus (http://repository.codehaus.org/, releases=true, 
snapshots=false),
[ERROR] repository.jboss.org 
(http://repository.jboss.org/nexus/content/groups/public-jboss/, releases=true, 
snapshots=false),
[ERROR] ghelmling.testing (http://people.apache.org/~garyh/mvn/, releases=true, 
snapshots=true),
[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
{code}
                
> Publish Hbase 0.94 artifacts build against hadoop-2.0
> -----------------------------------------------------
>
>                 Key: HBASE-6929
>                 URL: https://issues.apache.org/jira/browse/HBASE-6929
>             Project: HBase
>          Issue Type: Task
>          Components: build
>    Affects Versions: 0.94.2
>            Reporter: Enis Soztutar
>
> Downstream projects (flume, hive, pig, etc) depends on hbase, but since the 
> hbase binaries build with hadoop-2.0 are not pushed to maven, they cannot 
> depend on them. AFAIK, hadoop 1 and 2 are not binary compatible, so we should 
> also push hbase jars build with hadoop2.0 profile into maven, possibly with 
> version string like 0.94.2-hadoop2.0. 

--
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

Reply via email to