Create Java project with Maven archetype udf-archetype


Create a Java Project by archetype udf-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dudf-name="My-udf-name"   -Dmethod-name="My-method-name"   -Dreturn-type="My-return-type"   -Dmethod-args="My-method-args"   -DarchetypeGroupId="org.teiid.arche-types"   -DarchetypeArtifactId="udf-archetype"   -DarchetypeVersion="10.0.1"   -DinteractiveMode=false 

Required parameters for generate java project:

udf-name
validationRegex: none
method-name
validationRegex: none
return-type
validationRegex: none
method-args
validationRegex: none

Details about maven archetype udf-archetype

GroupId

GroupId

org.teiid.arche-types
ArtifactId

ArtifactId

udf-archetype
Version

Version

10.0.1
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.teiid.arche-types -DarchetypeArtifactId=udf-archetype -DarchetypeVersion=10.0.1 -DinteractiveMode=false