[teiid-commits] teiid SVN: r2836 - trunk/connectors/sandbox/connector-template.

teiid-commits at lists.jboss.org teiid-commits at lists.jboss.org
Wed Jan 12 13:41:24 EST 2011


Author: rareddy
Date: 2011-01-12 13:41:24 -0500 (Wed, 12 Jan 2011)
New Revision: 2836

Added:
   trunk/connectors/sandbox/connector-template/pom.xml
Log:
Adding template pom.xml file resource adaptar development

Added: trunk/connectors/sandbox/connector-template/pom.xml
===================================================================
--- trunk/connectors/sandbox/connector-template/pom.xml	                        (rev 0)
+++ trunk/connectors/sandbox/connector-template/pom.xml	2011-01-12 18:41:24 UTC (rev 2836)
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>connector-${connector-name}</artifactId>
+    <groupId>${package-name}</groupId>
+    <name>${connector-name}</name>
+    <description>${connector-name}</description>
+    <packaging>rar</packaging>
+    <version>0.1-SNAPSHOT</version>
+    <properties>
+        <teiid.version>${teiid-version}</teiid.version>
+    </properties>    
+    <build>
+        <pluginManagement>
+            <plugins>
+                <!-- Fixes how test resources of a project can be used in projects dependent on it  -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-jar-plugin</artifactId>
+                    <version>2.2</version>
+                </plugin>
+                <plugin>
+                  <artifactId>maven-assembly-plugin</artifactId>
+                  <version>2.2-beta-6-m1-jboss</version>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+        <plugins>
+            <!-- Specify the compiler options and settings -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.6</source>
+                    <target>1.6</target>
+                    <showDeprecation>false</showDeprecation>
+                    <showWarnings>false</showWarnings>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <includes>
+                        <include>**/*TestCase.java</include>
+                        <include>**/*Test.java</include>
+                        <include>**/Test*.java</include>
+                    </includes>
+                    <excludes>
+                        <exclude>**/Abstract*TestCase.java</exclude>
+                        <!-- hack to prevent anonymous inner classes in Tests from being run as tests -->
+                        <include>**/Test*$*.java</include>
+                    </excludes>
+                    <systemProperties>
+                        <property>
+                            <name>user.dir</name>
+                            <value>${basedir}/target</value>
+                        </property>
+                        <property>
+                            <name>java.io.tmpdir</name>
+                            <value>${basedir}/target</value>
+                        </property>
+                    </systemProperties>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-jar-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>build_jar</id>
+                        <phase>process-classes</phase>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>deploy_jar</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                        <configuration>
+                            <classifier>lib</classifier>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>            
+        </plugins>    
+    </build>
+    
+    <repositories>
+        <repository>
+            <id>jboss-public-repository</id>
+            <name>JBoss Public Maven Repository Group</name>
+            <url>http://repository.jboss.org/nexus/content/groups/public/</url>
+        </repository>
+    </repositories>
+    
+    <dependencies>
+        <dependency>
+            <groupId>org.jboss.teiid</groupId>
+            <artifactId>teiid-api</artifactId>
+            <scope>provided</scope>
+            <version>${teiid.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.jboss.teiid</groupId>
+            <artifactId>teiid-common-core</artifactId>
+            <scope>provided</scope>
+            <version>${teiid.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>javax.resource</groupId>
+            <artifactId>connector-api</artifactId>
+            <scope>provided</scope>
+            <version>1.5</version>
+        </dependency>
+    </dependencies>    
+</project>


Property changes on: trunk/connectors/sandbox/connector-template/pom.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain



More information about the teiid-commits mailing list