You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/01/22 15:07:34 UTC

[jira] [Commented] (NIFI-272) Create Maven Archetype for a Processor bundle

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

ASF GitHub Bot commented on NIFI-272:
-------------------------------------

GitHub user bbende opened a pull request:

    https://github.com/apache/incubator-nifi/pull/11

    NIFI-272 - Create Maven Archetype for a Processor bundle

    Creating the nifi-maven-archetypes module and adding the nifi-processor-bundle-archetype.
    
    After running mvn clean install from nifi-maven-archetypes (or from nifi), you can test the archetype like this:
    
        mvn archetype:generate -DarchetypeGroupId=org.apache.nifi -DarchetypeArtifactId=nifi-processor-bundle-archetype -DarchetypeVersion=0.0.1-incubating-SNAPSHOT -DgroupId=org.apache.nifi -DartifactId=donothing -Dversion=1.0
    
    Using an artifactId of "donothing" will generate the following:
    
        donothing (artifactId of nifi-donothing-bundle)
        ├── nifi-donothing-nar
        │   └── pom.xml
        ├── nifi-donothing-processors
        │   ├── pom.xml
        │   └── src
        │       ├── main
        │       │   ├── java
        │       │   │   └── org
        │       │   │       └── apache
        │       │   │           └── nifi
        │       │   │               └── processors
        │       │   │                   └── MyProcessor.java
        │       │   └── resources
        │       │       ├── META-INF
        │       │       │   └── services
        │       │       │       └── org.apache.nifi.processor.Processor
        │       │       └── docs
        │       │           └── org.apache.nifi.processors.MyProcessor
        │       │               └── index.html
        │       └── test
        │           └── java
        │               └── org
        │                   └── apache
        │                       └── nifi
        │                           └── processors
        │                               └── MyProcessorTest.java
        └── pom.xml


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

    $ git pull https://github.com/bbende/incubator-nifi develop

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

    https://github.com/apache/incubator-nifi/pull/11.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 #11
    
----
commit db2072ed8aa46bd8d157fe13387558f9ff7e44df
Author: bbende <bb...@gmail.com>
Date:   2015-01-22T13:53:23Z

    Creating the nifi-maven-archetypes module and adding the nifi-processor-bundle-archetype.

----


> Create Maven Archetype for a Processor bundle
> ---------------------------------------------
>
>                 Key: NIFI-272
>                 URL: https://issues.apache.org/jira/browse/NIFI-272
>             Project: Apache NiFi
>          Issue Type: Wish
>          Components: Tools and Build
>            Reporter: Mark Payne
>
> This will allow developers to very quickly and easily create a new nar, processor, parent/bundle multi-module maven setup, rather than creating all of it by hand.



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