[teiid-issues] [JBoss JIRA] (TEIID-3810) Updating teiid-tools archetypes

Van Halbert (JIRA) issues at jboss.org
Mon Nov 23 18:15:01 EST 2015


     [ https://issues.jboss.org/browse/TEIID-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Van Halbert resolved TEIID-3810.
--------------------------------
    Resolution: Done


The translator and connector archetypes have been released to nexus.

Translator:

********
* where:
********

  -DarchetypeGroupId    -  is the group ID for the arche type to use to generate
  -DarchetypeArtifactId -  is the artifact ID for the arche type to use to generate
  -DarchetypeVersion	-  is the version for the arche type to use to generate
  -DgroupId		-  (user defined) group ID for the new translator project pom.xml
  -DartifactId		-  (user defined) artifact ID for the new translator project pom.xml
  -Dpackage		-  (user defined) the package structure where the java and resource files will be created
  -Dversion		-  (user defined) the version that the new connector project pom.xml will be
  -Dtranslator-type	-  (user defined) the translator type that's used by Teiid when mapping the physical source to the translator to use 
  -Dtranslator-name	-  (user defined) the translator name thats used for name the java class names
  -Dteiid-version   -  [optional] the Teiid version the connector will depend upon, if not specified will default 

example:

mvn archetype:generate   -DarchethypeRepository=https://repository.jboss.org/nexus/content/repositories/releases/                                \
  -DarchetypeGroupId=org.jboss.teiid.arche-types   \
  -DarchetypeArtifactId=translator-archetype  \
  -DarchetypeVersion=8.12.0  \
  -DgroupId=org.jboss.teiid.connectors  \
  -DartifactId=translator-myType  \
  -Dpackage=org.teiid.translator.myType    \
  -Dversion=0.0.1-SNAPSHOT	\
  -Dtranslator-type=mytype  \
  -Dtranslator-name=MyType  \
  -Dteiid-version=8.12.0.Final


Connector:

********
* where:
********

  -DarchetypeGroupId    -  is the group ID for the arche type to use to generate
  -DarchetypeArtifactId -  is the artifact ID for the arche type to use to generate
  -DarchetypeVersion	-  is the version for the arche type to use to generate
  -DgroupId		-  (user defined) group ID for the new connector project pom.xml
  -DartifactId		-  (user defined) artifact ID for the new connector project pom.xml
  -Dpackage		-  (user defined) the package structure where the java and resource files will be created
  -Dversion		-  (user defined) the version that the new connector project pom.xml will be
  -Dconnector-type	-  (user defined) the type of the new connector project, used in defining the package name
  -Dconnector-name	-  (user defined) the name of the new connector project, used as the prefix to creating the java class names
  -Dvendor-name		-  name of the Vendor for the data source, updates the rar
  -Dteiid-version   -  [optional] the Teiid version the connector will depend upon

example:

mvn archetype:generate      -DarchetypeRepository=https://repository.jboss.org/nexus/content/repositories/releases/                   \
  -DarchetypeGroupId=org.jboss.teiid.arche-types   \
  -DarchetypeArtifactId=connector-archetype  \
  -DarchetypeVersion=8.12.0  \
  -DgroupId=org.jboss.teiid.connectors  \
  -Dpackage=org.teiid.resource.adapter.mytype \
  -DartifactId=connector-mytype	\
  -Dversion=0.0.1-SNAPSHOT    \
  -Dconnector-type=mytype   \
  -Dconnector-name=MyType   \
  -Dvendor-name=MyVendor	\
  -Dteiid-version=8.12.0.Final

> Updating teiid-tools archetypes 
> --------------------------------
>
>                 Key: TEIID-3810
>                 URL: https://issues.jboss.org/browse/TEIID-3810
>             Project: Teiid
>          Issue Type: Task
>          Components: Tools
>    Affects Versions: 8.12.x
>            Reporter: Van Halbert
>            Assignee: Van Halbert
>             Fix For: 8.12.x
>
>
> Updating teiid-tools archetypes to be based on Teiid 8.12.0.Final
> Adding in a docs section to be included with the jboss-as7 distribution.
> Adding a default ResourceAdapter for the connector.
> Adding an example ExecutionFactory unit test that provides a starting point.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the teiid-issues mailing list