You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Ted Yu <yu...@gmail.com> on 2010/12/29 19:29:37 UTC
deploying hbase 0.90 to internal maven repository
Hi,
I used the following script to deploy hbase 0.90 jar to internal maven
repository but was not successful:
#!/usr/bin/env bash
set -x
mvn deploy:deploy-file -Dfile=target/hbase-0.90.0.jar -Dpackaging=jar
-DgroupId=org.apache.hbase -DartifactId=hbase -Dversion=0.90.0
-DrepositoryId=carrieriq.thirdParty
-Durl=scp://maven2:maven2@repository.eng.carrieriq.com:
/data/maven2/repository/thirdparty
Comment about how the following error can be fixed is appreciated.
Here is the output:
[INFO] Scanning for projects...
[WARNING]
Profile with id: 'property-overrides' has not been activated.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: com.agilejava.docbkx:docbkx-maven-plugin
POM Location: Artifact [com.agilejava.docbkx:docbkx-maven-plugin:pom:2.0.11]
Validation Messages:
[0] 'dependencies.dependency.version' is missing for
com.agilejava.docbkx:docbkx-maven-base:jar
Reason: Failed to validate POM for project
com.agilejava.docbkx:docbkx-maven-plugin at Artifact
[com.agilejava.docbkx:docbkx-maven-plugin:pom:2.0.11]
Re: deploying hbase 0.90 to internal maven repository
Posted by Ryan Rawson <ry...@gmail.com>.
just run 'mvn install' in our directory and that should do the trick.
everything else is implied by pom.xml. well except the repository
stuff.
-ryan
On Wed, Dec 29, 2010 at 10:29 AM, Ted Yu <yu...@gmail.com> wrote:
> Hi,
> I used the following script to deploy hbase 0.90 jar to internal maven
> repository but was not successful:
>
> #!/usr/bin/env bash
> set -x
> mvn deploy:deploy-file -Dfile=target/hbase-0.90.0.jar -Dpackaging=jar
> -DgroupId=org.apache.hbase -DartifactId=hbase -Dversion=0.90.0
> -DrepositoryId=carrieriq.thirdParty
> -Durl=scp://maven2:maven2@repository.eng.carrieriq.com:
> /data/maven2/repository/thirdparty
>
> Comment about how the following error can be fixed is appreciated.
>
> Here is the output:
>
> [INFO] Scanning for projects...
> [WARNING]
> Profile with id: 'property-overrides' has not been activated.
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: com.agilejava.docbkx:docbkx-maven-plugin
> POM Location: Artifact [com.agilejava.docbkx:docbkx-maven-plugin:pom:2.0.11]
> Validation Messages:
>
> [0] 'dependencies.dependency.version' is missing for
> com.agilejava.docbkx:docbkx-maven-base:jar
>
> Reason: Failed to validate POM for project
> com.agilejava.docbkx:docbkx-maven-plugin at Artifact
> [com.agilejava.docbkx:docbkx-maven-plugin:pom:2.0.11]
>