[teiid-commits] teiid SVN: r2143 - trunk/connectors/translator-xml.

teiid-commits at lists.jboss.org teiid-commits at lists.jboss.org
Wed May 19 17:07:30 EDT 2010


Author: rareddy
Date: 2010-05-19 17:07:30 -0400 (Wed, 19 May 2010)
New Revision: 2143

Modified:
   trunk/connectors/translator-xml/pom.xml
Log:
TEIID-1077: fixing the data filetering in the XML files

Modified: trunk/connectors/translator-xml/pom.xml
===================================================================
--- trunk/connectors/translator-xml/pom.xml	2010-05-19 20:01:26 UTC (rev 2142)
+++ trunk/connectors/translator-xml/pom.xml	2010-05-19 21:07:30 UTC (rev 2143)
@@ -1,60 +1,79 @@
 <?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">
-	<parent>
-		<artifactId>connectors</artifactId>
-		<groupId>org.jboss.teiid</groupId>
-		<version>7.0.0-SNAPSHOT</version>
-	</parent>
-	<modelVersion>4.0.0</modelVersion>
-	<artifactId>translator-xml</artifactId>
-	<groupId>org.jboss.teiid.connectors</groupId>
-	<name>XML Translator</name>
-	<description>This translator consumes the XML documents from Web
-		service and transforms the document into a relational structure.</description>
-	<dependencies>
+<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">
+    <parent>
+        <artifactId>connectors</artifactId>
+        <groupId>org.jboss.teiid</groupId>
+        <version>7.0.0-SNAPSHOT</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>translator-xml</artifactId>
+    <groupId>org.jboss.teiid.connectors</groupId>
+    <name>XML Translator</name>
+    <description>This translator consumes the XML documents from Web
+        service and transforms the document into a relational structure.</description>
+    <dependencies>
         <dependency>
-          <groupId>org.jboss.teiid</groupId>
-          <artifactId>teiid-api</artifactId>
-          <scope>provided</scope>
+            <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>
+            <groupId>org.jboss.teiid</groupId>
+            <artifactId>teiid-common-core</artifactId>
+            <scope>provided</scope>
         </dependency>
         <dependency>
-		  <groupId>log4j</groupId>
-		  <artifactId>log4j</artifactId>
-		  <scope>provided</scope>
-		</dependency>
-	    <dependency>
-		  <groupId>jdom</groupId>
-		  <artifactId>jdom</artifactId>
-		  <scope>provided</scope>
-	    </dependency>
-	    <dependency>
-		  <groupId>commons-logging</groupId>
-		  <artifactId>commons-logging</artifactId>
-		  <scope>provided</scope>
-	    </dependency>      
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+            <scope>provided</scope>
+        </dependency>
         <dependency>
+            <groupId>jdom</groupId>
+            <artifactId>jdom</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
             <groupId>javax.resource</groupId>
             <artifactId>connector-api</artifactId>
             <scope>provided</scope>
         </dependency>
-        
-    <dependency>
-        <groupId>xom</groupId>
-        <artifactId>xom</artifactId>
-        <version>1.2</version>
-    </dependency>
-    <dependency>
-        <groupId>nux</groupId>
-        <artifactId>nux</artifactId>
-        <version>1.6</version>
-    </dependency>
+        <dependency>
+            <groupId>xom</groupId>
+            <artifactId>xom</artifactId>
+            <version>1.2</version>
+        </dependency>
+        <dependency>
+            <groupId>nux</groupId>
+            <artifactId>nux</artifactId>
+            <version>1.6</version>
+        </dependency>
     </dependencies>
-        
+
+    <build>
+        <outputDirectory>target/classes</outputDirectory>
+        <resources>
+            <resource>
+                <directory>src/main/resources</directory>
+                <filtering>true</filtering>
+                <includes>
+                    <include>**/*.xml</include>
+                    <include>**/*.properties</include>
+                </includes>
+            </resource>
+            <resource>
+                <directory>src/main/resources</directory>
+                <filtering>false</filtering>
+                <excludes>
+                    <exclude>**/*.xml</exclude>
+                    <exclude>**/*.properties</exclude>
+                </excludes>
+            </resource>
+        </resources>
+    </build>
+
 </project>



More information about the teiid-commits mailing list