jstastny-cz opened a new issue, #1123:
URL: https://github.com/apache/incubator-kie-issues/issues/1123
At the moment there are several ways how we deploy maven artifacts as part
of our builds. This task aims at unifying the approach taken with following
considerations:
1. All Apache KIE maven projects that are to be deployed have
org.apache:apache as their (transitive) parent.
1. maven-deploy-plugin version is `3.1.1`
1. All pom.xml having org.apache:apache as direct parent need to define
following distributionManagement section:
```
<distributionManagement>
<repository>
<id>apache-release-repository</id>
<name>Apache Release Staging Repository</name>
<url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
</repository>
<snapshotRepository>
<id>apache-snapshot-repository</id>
<name>Apache Snapshot Repository</name>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
```
1. Settings.xml contains following auth sections:
```
<servers>
<server>
<id>apache-release-repository</id>
<username>${apache.release.repository.username}</username>
<password>${apache.release.repository.password}</password>
</server>
<server>
<id>apache-snapshot-repository</id>
<username>${apache.snapshot.repository.username}</username>
<password>${apache.snapshot.repository.password}</password>
</server>
</servers>
```
1. The deploy command uses following parameters:
- `deploy` - plain deploy goal
- `-DdeployAtEnd` - deferred deploy after whole project successfully
builds
- `-DretryFailedDeploymentCount=5` - to account for occasional failures
during transfer
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]