je-ik commented on PR #31328:
URL: https://github.com/apache/beam/pull/31328#issuecomment-2117491095
I was able to generate the `pom.xml` that is used in the test. The following
command generates it into `word-count-beam`:
```bash
mvn archetype:generate \
--update-snapshots \
-DarchetypeGroupId=org.apache.beam
-DarchetypeArtifactId=beam-sdks-java-maven-archetypes-examples \
-DarchetypeVersion=2.57.0-SNAPSHOT \
-DgroupId=org.example \
-DartifactId=word-count-beam \
-Dversion="0.1" \
-Dpackage=org.apache.beam.examples \
-DinteractiveMode=false
```
It needs to have apache snapshots repository configured in
`~/.m2/settings.xml`. Now the issue is that in the current version, the
generated pom references `beam-runners-flink-1.17`, while the gradle task runs
on `1.18`. Because the archetype is updated asynchronously from the test, we
should probably wait before the updated archetype is deployed?
There also seems to be some discrepancy in the release process of the
archetype. Running the above command with `-DarchetypeVersion` set to 2.56.0
generates `pom.xml` with `<beam.version>2.55.0</beam.version>` which is likely
a bug.
--
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]