You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Luke Cwik (JIRA)" <ji...@apache.org> on 2019/04/09 21:00:00 UTC

[jira] [Commented] (BEAM-5328) Java starter archetype does not contain dependency versions

    [ https://issues.apache.org/jira/browse/BEAM-5328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16813808#comment-16813808 ] 

Luke Cwik commented on BEAM-5328:
---------------------------------

To finish BEAM-5328, you also want to ensure that your test runs via Jenkins similar to how the quickstart tests are currently running. To do this you'll need to:

Make a task which is capable of executing this StarterArchetype like the 
[createJavaExamplesArchetypeValidationTask|https://github.com/apache/beam/blob/a2b0ad14f1525d1a645cb26f5b8ec45692d9d54e/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy#L1294]

Add your task to the [runJavaExamplesValidationTask|https://github.com/apache/beam/blob/a2b0ad14f1525d1a645cb26f5b8ec45692d9d54e/release/build.gradle#L30].

(optional) As another follow-up, it would be nice to rename runJavaExamplesValidationTask to not be "examples" specific but something like runJavaPostReleaseTests. Might want to get an opinion from [~alanmyrvold] as to the name.



> Java starter archetype does not contain dependency versions
> -----------------------------------------------------------
>
>                 Key: BEAM-5328
>                 URL: https://issues.apache.org/jira/browse/BEAM-5328
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>    Affects Versions: 2.6.0, 2.7.0
>            Reporter: Luke Cwik
>            Assignee: Mikhail Ivanov
>            Priority: Major
>              Labels: newbie, starter, triaged
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> The starter archetype contains resource annotation markers instead of versions:
> {code:java}
> <maven-compiler-plugin.version>@maven-compiler-plugin.version@</maven-compiler-plugin.version>
> <maven-exec-plugin.version>@maven-exec-plugin.version@</maven-exec-plugin.version>
> <slf4j.version>@slf4j.version@</slf4j.version>
> {code}
> in the properties block at the top.
>  
> This means that the starter project is broken without the user manually editing the pom.xml that is generated and populating the versions at the top.
>  
> We also lack testing that validates that the starter archetype works.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)