<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<artifactId>connector-{name}</artifactId>
<groupId>org.company.project</groupId>
<name>Name Connector</name>
<packaging>rar</packaging>
<description>This connector is a sample</description>
<dependencies>
<dependency>
<groupId>org.jboss.teiid</groupId>
<artifactId>teiid-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.teiid</groupId>
<artifactId>teiid-common-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.resource</groupId>
<artifactId>connector-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
Build Environment
For Eclipse users (without maven integration), create a java project and add dependencies to teiid-common-core
, teiid-api
and JEE connector-api
jars.
For maven users add the following as your dependencies:
Where the ${teiid-version} property should be set to the expected version, such as 9.3.0.Final. You can find Teiid artifacts in the JBoss maven repository. The $\{version.connector.api} version last used was 1.5.