[ 
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)

Reply via email to