Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/src/site/markdown/index.md.vm
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ The following is a list of the items configured in this POM:

Due to Nexus bug with parallel staging creation default is **false**.

- **releasePreparationProfiles**: additional profiles to be activated during `release:prepare` execution.

- **releaseReleaseProfiles**: additional profiles to be activated during `release:perform` execution.

- **pluginManagement**: The plugin management section specifies versions of a list of plugins. See the [Plugin Management report](./plugin-management.html) for the complete list with versions.
- There are used properties `version.<artifactId>` for defining each version of plugin, except:
- `version.apache-resource-bundles` is used for: _apache-jar-resource-bundle_ and _apache-source-release-assembly-descriptor_
Expand Down Expand Up @@ -139,6 +143,14 @@ Remember that:

- this `push-to-atr` profile is optional, you can upload files to ATR and compose your release by hand if anything goes unexpected: feedback on success and failures is welcome.

You can set the following properties in project POM or settings.xml to enable ATR integration by default:
```xml
<properties>
<releasePreparationProfiles>push-to-atr</releasePreparationProfiles>
<releaseReleaseProfiles>push-to-atr</releaseReleaseProfiles>
</properties>
```

# Settings Configuration

You can have a look at the page in Apache website [Publishing Maven Artifacts](https://www.apache.org/dev/publishing-maven-artifacts.html).
Expand Down
7 changes: 6 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ under the License.

<releaseParallelPut>false</releaseParallelPut>

<!-- additional profiles to use for release preparation and release execution; comma-separated list -->
<releasePreparationProfiles/>
<releaseReleaseProfiles/>

<!-- atr-release-type depends on sourceReleaseAssemblyDescriptor; may be zip or tar.gz -->
<atr-release-type>zip</atr-release-type>

Expand Down Expand Up @@ -295,7 +299,8 @@ under the License.
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<goals>deploy</goals>
<releaseProfiles>apache-release</releaseProfiles>
<preparationProfiles>${releasePreparationProfiles}</preparationProfiles>
<releaseProfiles>apache-release,${releaseReleaseProfiles}</releaseProfiles>
<arguments>-Daether.connector.basic.parallelPut=${releaseParallelPut}</arguments>
</configuration>
</plugin>
Expand Down
Loading