HBASE-13533 section on configuring ~/.m2/settings.xml has no anchor <Gabor Liptak>
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/6fd16f23 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/6fd16f23 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/6fd16f23 Branch: refs/heads/hbase-12439 Commit: 6fd16f2378556311611c26024a4ef3bc6651bf38 Parents: 89688d4 Author: Misty Stanley-Jones <[email protected]> Authored: Tue May 12 09:07:00 2015 -0700 Committer: Misty Stanley-Jones <[email protected]> Committed: Tue May 12 09:07:00 2015 -0700 ---------------------------------------------------------------------- src/main/asciidoc/_chapters/developer.adoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/6fd16f23/src/main/asciidoc/_chapters/developer.adoc ---------------------------------------------------------------------- diff --git a/src/main/asciidoc/_chapters/developer.adoc b/src/main/asciidoc/_chapters/developer.adoc index ee03614..ce66a90 100644 --- a/src/main/asciidoc/_chapters/developer.adoc +++ b/src/main/asciidoc/_chapters/developer.adoc @@ -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. This difference is important to the build instructions. +[[maven.settings.xml]] .Example _~/.m2/settings.xml_ File ==== 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. + 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] ---- @@ -720,7 +721,7 @@ Announce the release candidate on the mailing list and call a vote. [[maven.snapshot]] === 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. Following is an example of publishing SNAPSHOTS of a release that had an hbase version of 0.96.0 in its poms.
