You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/22 16:57:58 UTC

[jira] [Commented] (BEAM-1032) Starter archetype pipeline has no runner on its classpath

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

ASF GitHub Bot commented on BEAM-1032:
--------------------------------------

GitHub user swegner opened a pull request:

    https://github.com/apache/incubator-beam/pull/1414

    [BEAM-1032] Add direct runner dependency to starter archetype

    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
    
     - [ ] Make sure the PR title is formatted like:
       `[BEAM-<Jira issue #>] Description of pull request`
     - [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable
           Travis-CI on your fork and ensure the whole test matrix passes).
     - [ ] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [ ] If this contribution is large, please file an Apache
           [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.txt).
    
    ---
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/swegner/incubator-beam starter-runner

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-beam/pull/1414.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 #1414
    
----
commit 2a1f829477b1bcabddd28ef27dc1bd88bc72b82e
Author: Scott Wegner <sw...@google.com>
Date:   2016-11-22T16:56:17Z

    Add direct runner dependency to starter archetype

----


> Starter archetype pipeline has no runner on its classpath
> ---------------------------------------------------------
>
>                 Key: BEAM-1032
>                 URL: https://issues.apache.org/jira/browse/BEAM-1032
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Scott Wegner
>            Assignee: Scott Wegner
>            Priority: Minor
>
> When generating a new maven project using the starter archetype, the pipeline does not execute because it doesn't have a runner jar on it's classpath:
> $ mvn exec:java -Dexec.mainClass=swegner.StarterPipeline
> ...
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java (default-cli) on project yo: An exception occured while executing the Java class. null: InvocationTargetException: No Runner was specified and the DirectRunner was not found on the classpath.
> In the examples archetype, we have the direct runner as a dependency. We should do the same for the starter archetype.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)