[jboss-svn-commits] JBL Code SVN: r36825 - in labs/jbosstm/trunk: XTS/demo and 3 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Mar 16 12:34:15 EDT 2011
Author: tomjenkinson
Date: 2011-03-16 12:34:14 -0400 (Wed, 16 Mar 2011)
New Revision: 36825
Added:
labs/jbosstm/trunk/XTS/demo/pom.xml
Modified:
labs/jbosstm/trunk/XTS/dist/pom.xml
labs/jbosstm/trunk/XTS/dist/src/main/assembly/bin.xml
labs/jbosstm/trunk/XTS/pom.xml
labs/jbosstm/trunk/narayana-parent/pom.xml
Log:
JBTM-574 great work on the demo as an artifact, time to retro fit to trailmap
Added: labs/jbosstm/trunk/XTS/demo/pom.xml
===================================================================
--- labs/jbosstm/trunk/XTS/demo/pom.xml (rev 0)
+++ labs/jbosstm/trunk/XTS/demo/pom.xml 2011-03-16 16:34:14 UTC (rev 36825)
@@ -0,0 +1,87 @@
+<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">
+
+ <!-- JBoss, Home of Professional Open Source Copyright 2009, Red Hat Middleware
+ LLC, and individual contributors as indicated by the @author tags. See the
+ copyright.txt in the distribution for a full listing of individual contributors.
+ This copyrighted material is made available to anyone wishing to use, modify,
+ copy, or redistribute it subject to the terms and conditions of the GNU Lesser
+ General Public License, v. 2.1. This program is distributed in the hope that
+ it will be useful, but WITHOUT A WARRANTY; without even the implied warranty
+ of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+ General Public License for more details. You should have received a copy
+ of the GNU Lesser General Public License, v.2.1 along with this distribution;
+ if not, write to the Free Software Foundation, Inc., 51 Franklin Street,
+ Fifth Floor, Boston, MA 02110-1301, USA. (C) 2009, @author JBoss Inc. (jonathan.halliday at redhat.com) -->
+
+
+ <parent>
+ <groupId>org.jboss.jbossts</groupId>
+ <artifactId>narayana-parent</artifactId>
+ <version>4.15.0.M1-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.jbossts</groupId>
+ <artifactId>xts-demo</artifactId>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.6</version>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <configuration>
+ <target>
+ <property name="selected-distrib-dir" location="target/classes"/>
+ <property name="docs.dir" location="docs"/>
+ <property name="xsl.dir" location="xsl"/>
+ <property name="html.dir" location="target/classes/html"/>
+ <property name="xsl.file" value="ATL_LookAndFeel.xsl"/>
+ <copy todir="${html.dir}">
+ <fileset dir="${docs.dir}">
+ <include name="**/*.css"/>
+ <include name="**/*.gif"/>
+ <include name="**/*.jpg"/>
+ </fileset>
+ </copy>
+ <style processor="trax" style="${xsl.dir}/${xsl.file}" basedir="${docs.dir}" includes="*.xml" destdir="${html.dir}" extension=".html">
+ <param name="rootpath" expression="."/>
+ </style>
+ <!-- copy everything (CVS dirs are auto-ignored) -->
+ <copy todir="${selected-distrib-dir}">
+ <fileset dir=".">
+ <include name="src/**"/>
+ <include name="srcrpc/**"/>
+ <include name="dd/**"/>
+ <include name="ddrpc/**"/>
+ <include name="web/**"/>
+ <include name="*.properties"/>
+ <include name="build.sh"/>
+ <include name="build.bat"/>
+ <include name="BUILDING"/>
+ </fileset>
+ </copy>
+ <!-- remove our dirty laundry -->
+ <copy file="xts-build.xml" tofile="${selected-distrib-dir}/build.xml"/>
+ </target>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant-trax</artifactId>
+ <version>1.8.0</version>
+ </dependency>
+ </dependencies>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: labs/jbosstm/trunk/XTS/dist/pom.xml
===================================================================
--- labs/jbosstm/trunk/XTS/dist/pom.xml 2011-03-16 16:28:48 UTC (rev 36824)
+++ labs/jbosstm/trunk/XTS/dist/pom.xml 2011-03-16 16:34:14 UTC (rev 36825)
@@ -169,6 +169,10 @@
<groupId>org.jboss.jbossts</groupId>
<artifactId>xts-guide</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.jboss.jbossts</groupId>
+ <artifactId>xts-demo</artifactId>
+ </dependency>
</dependencies>
Modified: labs/jbosstm/trunk/XTS/dist/src/main/assembly/bin.xml
===================================================================
--- labs/jbosstm/trunk/XTS/dist/src/main/assembly/bin.xml 2011-03-16 16:28:48 UTC (rev 36824)
+++ labs/jbosstm/trunk/XTS/dist/src/main/assembly/bin.xml 2011-03-16 16:34:14 UTC (rev 36825)
@@ -14,6 +14,20 @@
<dependencySets>
<dependencySet>
<includes>
+ <include>org.jboss.jbossts:xts-demo</include>
+ </includes>
+ <outputDirectory>demo</outputDirectory>
+ <useProjectAttachments>true</useProjectAttachments>
+ <unpack>true</unpack>
+ <useProjectArtifact>false</useProjectArtifact>
+ <unpackOptions>
+ <excludes>
+ <exclude>META-INF/</exclude>
+ </excludes>
+ </unpackOptions>
+ </dependencySet>
+ <dependencySet>
+ <includes>
<include>*:javadoc</include>
</includes>
<outputDirectory>docs/api</outputDirectory>
@@ -35,6 +49,7 @@
<excludes>
<exclude>*:api</exclude>
<exclude>*:xts-guide:*</exclude>
+ <exclude>*:xts-demo:*</exclude>
</excludes>
<outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
<outputDirectory>lib</outputDirectory>
@@ -60,9 +75,5 @@
<directory>../docs/Transactions_XTS_Administration_And_Development_Guide/target/publican/Transactions_XTS_Administration_And_Development_Guide/en-US/pdf/</directory>
<outputDirectory>docs</outputDirectory>
</fileSet>
- <fileSet>
- <directory>../demo/</directory>
- <outputDirectory>demo</outputDirectory>
- </fileSet>
</fileSets>
</assembly>
Modified: labs/jbosstm/trunk/XTS/pom.xml
===================================================================
--- labs/jbosstm/trunk/XTS/pom.xml 2011-03-16 16:28:48 UTC (rev 36824)
+++ labs/jbosstm/trunk/XTS/pom.xml 2011-03-16 16:34:14 UTC (rev 36825)
@@ -33,7 +33,7 @@
<module>recovery</module>
<module>bridge</module>
<!--<module>sar</module>-->
-<!-- <module>demo</module>-->
+ <module>demo</module>
<module>docs</module>
<module>jbossxts-api</module>
<module>dist</module>
Modified: labs/jbosstm/trunk/narayana-parent/pom.xml
===================================================================
--- labs/jbosstm/trunk/narayana-parent/pom.xml 2011-03-16 16:28:48 UTC (rev 36824)
+++ labs/jbosstm/trunk/narayana-parent/pom.xml 2011-03-16 16:34:14 UTC (rev 36825)
@@ -586,6 +586,11 @@
<artifactId>xts-guide</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.jboss.jbossts</groupId>
+ <artifactId>xts-demo</artifactId>
+ <version>${project.version}</version>
+ </dependency>
</dependencies>
</dependencyManagement>
More information about the jboss-svn-commits
mailing list