[
https://issues.apache.org/jira/browse/FLINK-7281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16103115#comment-16103115
]
ASF GitHub Bot commented on FLINK-7281:
---------------------------------------
Github user aljoscha commented on a diff in the pull request:
https://github.com/apache/flink/pull/4407#discussion_r129824175
--- Diff: pom.xml ---
@@ -1257,6 +1243,17 @@ under the License.
<pluginManagement>
<plugins>
+ <plugin>
+
<groupId>org.apache.maven.plugins</groupId>
+
<artifactId>maven-release-plugin</artifactId>
--- End diff --
We were actually not using this before, it was just a leftover in there.
It's not even required for our release process, i.e. in the release profile.
However, the plugin can be used to do the stuff that we do in scripts and
manually. For example , I can do
```
mvn release:branch \
-DbranchName=${BRANCH_NAME} \
-DdevelopmentVersion=${DEVELOPMENT_VERSION}
```
to update the version on master and fork of the branch for a newly released
version.
Then I could use
```
mvn release:prepare \
-Dresume=false \
-DreleaseVersion=${VERSION} \
-Dtag=${TAG} \
-DupdateWorkingCopyVersions=false
```
and
```
mvn release:perform
```
to build the actual release, create the source release, upload the (signed)
jars to sonatype and create the release tag.
(I was experimenting with this when preparing for the next release and our
release infrastructure is very _interesting_.)
> Fix various issues in (Maven) release infrastructure
> ----------------------------------------------------
>
> Key: FLINK-7281
> URL: https://issues.apache.org/jira/browse/FLINK-7281
> Project: Flink
> Issue Type: Bug
> Components: Build System
> Affects Versions: 1.3.1, 1.4.0
> Reporter: Aljoscha Krettek
> Assignee: Aljoscha Krettek
> Priority: Blocker
> Fix For: 1.4.0, 1.3.2
>
>
> I discovered couple of issues while getting ready for release 1.3.2:
> * some old, misleading release scripts and release README
> * the _maven-release-plugin_ is not correctly configured for doing actual
> releases with it
> * the quickstarts are not configured to depend on the project version and
> thus require manual updating, also of slf4j and log4j versions
> * the _maven-javadoc-plugin_ configuration does not work when using the the
> _maven-release-plugin_, that is we have to move the config to the plugin
> section and out of the _release_ profile
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)