Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src/main/resources
README.md
pom.xml

README.md

PDI Step Plugin Archetype

The pdi-step-plugin-archetype can be used as a basis for any Pentaho Data Integration Step that produces a community edition kar. It will create the basic folder structure, provide you with a template README.md and a common .gitignore file.

Example Usage

mvn archetype:generate                            \
 -DarchetypeGroupId=org.hitachivantara.archetypes \
 -DarchetypeArtifactId=pdi-step-plugin-archetype  \
 -DarchetypeVersion=9.0.0.0-SNAPSHOT              \
 -DgroupId=com.my.company                         \
 -DartifactId=my-step-plugin                      \
 -Dversion=1.0-SNAPSHOT                           \
 -Dplugin_class_name=MyStep                       \
 -Dplugin_name="My Step"                          \
 -Dplugin_category=Transform                      \
 -Dplugin_description="This is what my step does."
 
$ cd my-step-plugin

$ mvn clean install

Be sure to update the artifactId, version, and package arguments to reflect your particular project.

This will generate the following project structure:

my-step-plugin/
├── .gitignore
├── README.md
├── pom.xml
└── src
    ├── main
    │   ├── java
    │   │   └── com
    │   │       └── my
    │   │           └── company
    │   │               ├── MyStep.java
    │   │               ├── MyStepData.java
    │   │               ├── MyStepDialog.java
    │   │               ├── MyStepMeta.java
    │   │               └── MyStepStepAnalyzer.java
    │   └── resources
    │       ├── MyStep.svg
    │       └── com
    │           └── my
    │              └── company
    │                   └── messages
    │                       └── messages_en_US.properties
    └── test
        └── java
            └── com
                └── my
                    └── company
You can’t perform that action at this time.