beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Cwik (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BEAM-2251) Create an examples/java and examples/java8 uber jar that doesn't contain a runner
Date Wed, 10 May 2017 21:53:04 GMT

     [ https://issues.apache.org/jira/browse/BEAM-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Luke Cwik updated BEAM-2251:
----------------------------
    Description: 
In addition to the regular artifact examples/java and examples/java8 that are produced, consider
making an uber jar as an additional attached artifact that shades all the dependencies for
easier command line usage so that it can be joined with a runner uber jar.
{code}
java -cp examples.jar:myrunner.jar WordCount ...
{code}

Also look at the maven archetypes found in:
https://github.com/apache/beam/tree/master/sdks/java/maven-archetypes

  was:
In addition to the regular artifact examples/java and examples/java8 that are produced, consider
making an uber jar as an additional attached artifact that shades all the dependencies for
easier command line usage so that it can be joined with a runner uber jar.
{code}
java -cp examples.jar:myrunner.jar WordCount ...
{code}

Also look at the maven archetypes that are generated.


> Create an examples/java and examples/java8 uber jar that doesn't contain a runner
> ---------------------------------------------------------------------------------
>
>                 Key: BEAM-2251
>                 URL: https://issues.apache.org/jira/browse/BEAM-2251
>             Project: Beam
>          Issue Type: Improvement
>          Components: examples-java
>            Reporter: Luke Cwik
>            Priority: Minor
>
> In addition to the regular artifact examples/java and examples/java8 that are produced,
consider making an uber jar as an additional attached artifact that shades all the dependencies
for easier command line usage so that it can be joined with a runner uber jar.
> {code}
> java -cp examples.jar:myrunner.jar WordCount ...
> {code}
> Also look at the maven archetypes found in:
> https://github.com/apache/beam/tree/master/sdks/java/maven-archetypes



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message