I saw the same problem with the tarball.  Running the install-file with -X,
it says it's skipping copying the tarball because it seems unchanged.  Not
sure what is causing maven to think that.


On Mon, Jul 7, 2014 at 7:12 AM, Sumit Mohanty <[email protected]>
wrote:

> You need to copy the hbase tarball to
> ~/.m2/repository/org/apache/hbase/hbase/0.98.3-hadoop2/.
> I do not know why it needs to be done as "mvn install:install-file ..."
> should do it. I also had the same problem.
>
>
> On Mon, Jul 7, 2014 at 7:07 AM, Jon Maron <[email protected]> wrote:
>
> > Hi,
> >
> >   I’ve tried numerous iterations with slight modifications but the
> > documented method for creating an HBase package using maven simply won’t
> > work (see output below).  I’ll resort to the manual method for now….
> >
> > HW10386:hbase jmaron$ mvn install:install-file
> > -Dfile=~/Downloads/hbase-0.98.3-hadoop2-bin.tar.gz
> > -DgroupId=org.apache.hbase -DartifactId=hbase -Dversion=0.98.3-hadoop2
> > -Dclassifier=bin -Dpackaging=tar.gz
> > [INFO] Scanning for projects...
> > [INFO]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building Slider HBase App Package 0.31.0-incubating-SNAPSHOT
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO]
> > [INFO] --- maven-install-plugin:2.3.1:install-file (default-cli) @
> > slider-hbase-app-package ---
> > [INFO] Installing
> >
> /Users/jmaron/dev/workspaces/slider-asf/incubator-slider/app-packages/hbase/~/Downloads/hbase-0.98.3-hadoop2-bin.tar.gz
> > to
> >
> /Users/jmaron/.m2/repository/org/apache/hbase/hbase/0.98.3-hadoop2/hbase-0.98.3-hadoop2-bin.tar.gz
> > [INFO] Installing
> >
> /var/folders/xr/0n_m0gjd6dgd1kflhc4k03f40000gp/T/mvninstall736874131779873038.pom
> > to
> >
> /Users/jmaron/.m2/repository/org/apache/hbase/hbase/0.98.3-hadoop2/hbase-0.98.3-hadoop2.pom
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESS
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 0.688s
> > [INFO] Finished at: Mon Jul 07 10:04:30 EDT 2014
> > [INFO] Final Memory: 6M/245M
> > [INFO]
> > ------------------------------------------------------------------------
> > HW10386:hbase jmaron$ cd
> > ~/.m2/repository/org/apache/hbase/hbase/0.98.3-hadoop2/
> > _maven.repositories       hbase-0.98.3-hadoop2.pom
> > HW10386:hbase jmaron$ cd
> > ~/.m2/repository/org/apache/hbase/hbase/0.98.3-hadoop2/
> > HW10386:hbase jmaron$ mvn clean package -DskipTests -Phbase-app-package
> > [INFO] Scanning for projects...
> > [INFO]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building Slider HBase App Package 0.31.0-incubating-SNAPSHOT
> > [INFO]
> > ------------------------------------------------------------------------
> > Downloading:
> >
> https://repository.apache.org/content/groups/staging/org/apache/hbase/hbase/0.98.3-hadoop2/hbase-0.98.3-hadoop2-hbase.tar.gz
> > Downloading:
> >
> http://repo.maven.apache.org/maven2/org/apache/hbase/hbase/0.98.3-hadoop2/hbase-0.98.3-hadoop2-hbase.tar.gz
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 1.866s
> > [INFO] Finished at: Mon Jul 07 10:05:11 EDT 2014
> > [INFO] Final Memory: 10M/245M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal on project slider-hbase-app-package: Could
> > not resolve dependencies for project
> >
> org.apache.slider:slider-hbase-app-package:pom:0.31.0-incubating-SNAPSHOT:
> > Could not find artifact
> org.apache.hbase:hbase:tar.gz:hbase:0.98.3-hadoop2
> > in ASF Staging (https://repository.apache.org/content/groups/staging/)
> ->
> > [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/DependencyResolutionException
> >
> >
> > --
> > CONFIDENTIALITY NOTICE
> > NOTICE: This message is intended for the use of the individual or entity
> to
> > which it is addressed and may contain information that is confidential,
> > privileged and exempt from disclosure under applicable law. If the reader
> > of this message is not the intended recipient, you are hereby notified
> that
> > any printing, copying, dissemination, distribution, disclosure or
> > forwarding of this communication is strictly prohibited. If you have
> > received this communication in error, please contact the sender
> immediately
> > and delete it from your system. Thank You.
> >
>
> --
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity to
> which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.
>

Reply via email to