HBASE-13533 section on configuring ~/.m2/settings.xml has no anchor <Gabor Liptak>

This commit is contained in:
Misty Stanley-Jones 2015-05-12 09:07:00 -07:00
parent 89688d4a43
commit 6fd16f2378
1 changed files with 3 additions and 2 deletions

View File

@ -456,6 +456,7 @@ You then reference these generated poms when you build.
For now, just be aware of the difference between HBase 1.x builds and those of HBase 0.96-0.98. For now, just be aware of the difference between HBase 1.x builds and those of HBase 0.96-0.98.
This difference is important to the build instructions. This difference is important to the build instructions.
[[maven.settings.xml]]
.Example _~/.m2/settings.xml_ File .Example _~/.m2/settings.xml_ File
==== ====
Publishing to maven requires you sign the artifacts you want to upload. Publishing to maven requires you sign the artifacts you want to upload.
@ -637,7 +638,7 @@ Release needs to be tagged for the next step.
. Deploy to the Maven Repository. . Deploy to the Maven Repository.
+ +
Next, deploy HBase to the Apache Maven repository, using the `apache-release` profile instead of the `release` profile when running the `mvn deploy` command. Next, deploy HBase to the Apache Maven repository, using the `apache-release` profile instead of the `release` profile when running the `mvn deploy` command.
This profile invokes the Apache pom referenced by our pom files, and also signs your artifacts published to Maven, as long as the _settings.xml_ is configured correctly, as described in <<mvn.settings.file,mvn.settings.file>>. This profile invokes the Apache pom referenced by our pom files, and also signs your artifacts published to Maven, as long as the _settings.xml_ is configured correctly, as described in <<maven.settings.xml>>.
+ +
[source,bourne] [source,bourne]
---- ----
@ -720,7 +721,7 @@ Announce the release candidate on the mailing list and call a vote.
[[maven.snapshot]] [[maven.snapshot]]
=== Publishing a SNAPSHOT to maven === Publishing a SNAPSHOT to maven
Make sure your _settings.xml_ is set up properly, as in <<mvn.settings.file,mvn.settings.file>>. Make sure your _settings.xml_ is set up properly (see <<maven.settings.xml>>).
Make sure the hbase version includes `-SNAPSHOT` as a suffix. Make sure the hbase version includes `-SNAPSHOT` as a suffix.
Following is an example of publishing SNAPSHOTS of a release that had an hbase version of 0.96.0 in its poms. Following is an example of publishing SNAPSHOTS of a release that had an hbase version of 0.96.0 in its poms.