[jboss-cvs] JBossAS SVN: r112674 - projects/jboss-jca/trunk/codegenerator/src/main/resources.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Feb 21 23:13:32 EST 2012


Author: jeff.zhang
Date: 2012-02-21 23:13:32 -0500 (Tue, 21 Feb 2012)
New Revision: 112674

Modified:
   projects/jboss-jca/trunk/codegenerator/src/main/resources/pom.xml.template
Log:
[JBJCA-750] Create RAR artifact

Modified: projects/jboss-jca/trunk/codegenerator/src/main/resources/pom.xml.template
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/resources/pom.xml.template	2012-02-22 03:05:46 UTC (rev 112673)
+++ projects/jboss-jca/trunk/codegenerator/src/main/resources/pom.xml.template	2012-02-22 04:13:32 UTC (rev 112674)
@@ -17,6 +17,7 @@
       <groupId>org.jboss.ironjacamar</groupId>
       <artifactId>ironjacamar-spec-api</artifactId>
       <version>${version.org.jboss.ironjacamar}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.jboss.ironjacamar</groupId>
@@ -124,6 +125,32 @@
           <target>1.5</target>
         </configuration>
       </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <exclude>**/META-INF/*</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-rar-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>test</id>
+            <goals>
+              <goal>rar</goal>
+            </goals>
+            <configuration>
+              <raXmlFile>src/main/resources/META-INF/ra.xml</raXmlFile>
+            </configuration>
+        </execution></executions>
+      </plugin>
+
     </plugins>
   </build> 
   <repositories>



More information about the jboss-cvs-commits mailing list