diff --git a/docs/src/site/apt/index.apt.vm b/docs/src/site/apt/index.apt.vm index 2bdc30d5..5a941ec7 100644 --- a/docs/src/site/apt/index.apt.vm +++ b/docs/src/site/apt/index.apt.vm @@ -47,8 +47,10 @@ Apache Software Foundation Parent POM ** <>: {{<<>>}}. You should override this. - ** <>: The pom adds the Apache snapshot + ** <>: Optional: the pom adds the Apache snapshot repository ({{<<>>}}) + This only happens if the <<>> property is set, + or the <<>> profile is active. ** <>: The POM sets up for releases to the Apache Nexus instance at @@ -191,6 +193,11 @@ Notices When you need publish site descriptor in your project you should add, like: + * Since version <<34>> <<>> section has been moved to the <<>> profile. + + Apache snapshot repository is now optional, and is only added when the profile is activated. + + It can be activated by setting the <<>> property or activating the <<>> profile directly. +------+ diff --git a/pom.xml b/pom.xml index 490f2bd5..2d2186cc 100644 --- a/pom.xml +++ b/pom.xml @@ -137,27 +137,6 @@ under the License. 3.4.0 - - - apache.snapshots - Apache Snapshot Repository - https://repository.apache.org/snapshots - - false - - - - - - apache.snapshots - Apache Snapshot Repository - https://repository.apache.org/snapshots - - false - - - - @@ -568,5 +547,33 @@ under the License. + + use-apache-snapshots + + + apache.snapshots + + + + + apache.snapshots + Apache Snapshot Repository + https://repository.apache.org/snapshots + + false + + + + + + apache.snapshots + Apache Snapshot Repository + https://repository.apache.org/snapshots + + false + + + +