[
https://issues.apache.org/jira/browse/BEAM-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15998287#comment-15998287
]
ASF GitHub Bot commented on BEAM-806:
-------------------------------------
GitHub user elek opened a pull request:
https://github.com/apache/beam/pull/2911
[BEAM-806] Use filtering for the version of the reference test project
With BEAM-2093 the archetypes almos could be released with maven commands
without manual version adjustment.
The missing part is in the starter archetype where an integration test
compares a predefined project with the generated one. The prefefined reference
project also should be filtered to always use the current version.
sdks/java/maven-archetypes/starter/src/test/resources/projects/basic/reference/pom.xml
To reproduce the problem (without this patch) do `mvn versions:set
-DnewVersion=0.8.0-SNAPSHOT`, and try to build the project.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/elek/beam BEAM-806
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/beam/pull/2911.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2911
----
commit 0aa753b5846afd8873432b02a00b6126bd4b1f01
Author: Elek, Márton <[email protected]>
Date: 2017-05-05T12:46:48Z
[BEAM-806] Use filtering for the version of the reference test project
----
> Maven Release Plugin Does Not Set Archetype Versions
> ----------------------------------------------------
>
> Key: BEAM-806
> URL: https://issues.apache.org/jira/browse/BEAM-806
> Project: Beam
> Issue Type: Improvement
> Components: build-system
> Affects Versions: 0.1.0-incubating, 0.2.0-incubating, 0.3.0-incubating
> Reporter: Aljoscha Krettek
> Assignee: Elek, Marton
> Priority: Blocker
> Fix For: First stable release
>
>
> When running {{mvn release:prepare}} as described in the new release guide
> this does not update the version of the poms in the archetypes. To be clear,
> the version of the archetype pom is updated, the pom in
> {{archetype-resources}} (the pom of the project generated by the archetype)
> is not updated.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)