[jboss-svn-commits] JBL Code SVN: r37478 - labs/jbosstm/branches/JBOSSTS_4_15_0_Final/rhq-plugin.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Sep 26 04:55:50 EDT 2011


Author: tomjenkinson
Date: 2011-09-26 04:55:50 -0400 (Mon, 26 Sep 2011)
New Revision: 37478

Added:
   labs/jbosstm/branches/JBOSSTS_4_15_0_Final/rhq-plugin/pom.xml
Modified:
   labs/jbosstm/branches/JBOSSTS_4_15_0_Final/rhq-plugin/build.xml
Log:
JBTM-894 readded the pom.xml as this is part of the build even in the branch

Modified: labs/jbosstm/branches/JBOSSTS_4_15_0_Final/rhq-plugin/build.xml
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_15_0_Final/rhq-plugin/build.xml	2011-09-23 17:53:32 UTC (rev 37477)
+++ labs/jbosstm/branches/JBOSSTS_4_15_0_Final/rhq-plugin/build.xml	2011-09-26 08:55:50 UTC (rev 37478)
@@ -8,7 +8,6 @@
 	<property name="install.doc.dir" value="../install/docs/rhq"/>
 	<import file="../sharedbuild.xml"/>
 
-	<property name="version" value="1.0.0.SNAPSHOT"/>
 	<property name="maven.project.build.directory" value="${basedir}/target"/>
 	<property name="pluginjar" value="${modulename}.jar"/>
 	<property name="pluginsrcjar" value="${modulename}-sources.jar"/>
@@ -16,15 +15,13 @@
 
 	<target name="maven:package" depends="clean">
 
+<!--
 		<exec executable="mvn" dir="../narayana-parent">
 			<arg value="install"/>
 			<arg value="-DTS_EMMA_JAR=/"/>
 		</exec>
-
+-->
 		<exec executable="mvn" dir="${basedir}">
-			<arg value="-Dversion=${version}"/>
-			<arg value="-DartifactId=${modulename}"/>
-			<arg value="-DTS_EMMA_JAR=/"/>
 			<arg value="package"/>
 		</exec>
 	</target>

Added: labs/jbosstm/branches/JBOSSTS_4_15_0_Final/rhq-plugin/pom.xml
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_15_0_Final/rhq-plugin/pom.xml	                        (rev 0)
+++ labs/jbosstm/branches/JBOSSTS_4_15_0_Final/rhq-plugin/pom.xml	2011-09-26 08:55:50 UTC (rev 37478)
@@ -0,0 +1,171 @@
+<?xml version="1.0"?>
+<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>
+    <groupId>org.jboss.jbossts</groupId>
+    <artifactId>jbossts-jopr-plugin</artifactId>
+    <version>4.15.1.M1-SNAPSHOT</version>
+    <packaging>jar</packaging>
+    <name>Jopr Test Plugin</name>
+    <description>A plugin for managing services</description>
+    <repositories>
+        <repository>
+            <id>jboss-public-repository-group</id>
+            <name>JBoss Public Maven Repository Group</name>
+            <url>https://repository.jboss.org/nexus/content/groups/public/</url>
+            <releases>
+                <enabled>true</enabled>
+            </releases>
+            <snapshots>
+                <enabled>true</enabled>
+            </snapshots>
+        </repository>
+    </repositories>
+    <build>
+        <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-source-plugin</artifactId>
+              <executions>
+                <execution>
+                  <id>attach-sources</id>
+                  <goals>
+                    <goal>jar</goal>
+                  </goals>
+                </execution>
+              </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>create_javadocs</id>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                        <phase>prepare-package</phase>
+                    </execution>
+                </executions>
+                <configuration>
+                    <detectOfflineLinks>false</detectOfflineLinks>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    <dependencies>
+        <!-- Below are the core modules that are required dependencies of all plugins -->
+        <dependency>
+            <groupId>org.rhq</groupId>
+            <artifactId>rhq-core-domain</artifactId>
+            <version>${rhq.version}</version>
+            <scope>provided</scope>
+            <!-- provided by the agent/plugin-container -->
+            <exclusions>
+                <exclusion>
+                    <groupId>javax.xml.bind</groupId>
+                    <artifactId>jaxb-api</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>com.sun.xml.bind</groupId>
+                    <artifactId>jaxb-impl</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>javax.xml.stream</groupId>
+                    <artifactId>stax-api</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.rhq</groupId>
+            <artifactId>rhq-core-plugin-api</artifactId>
+            <version>${rhq.version}</version>
+            <scope>provided</scope>
+            <!-- provided by the agent/plugin-container -->
+            <exclusions>
+                <exclusion>
+                    <groupId>javax.xml.bind</groupId>
+                    <artifactId>jaxb-api</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>com.sun.xml.bind</groupId>
+                    <artifactId>jaxb-impl</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>javax.xml.stream</groupId>
+                    <artifactId>stax-api</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.rhq</groupId>
+            <artifactId>rhq-core-native-system</artifactId>
+            <version>${rhq.version}</version>
+            <scope>provided</scope>
+            <!-- provided by the agent/plugin-container -->
+        </dependency>
+        <dependency>
+            <groupId>org.rhq</groupId>
+            <artifactId>rhq-jmx-plugin</artifactId>
+            <version>${rhq.version}</version>
+            <scope>provided</scope>
+        </dependency>
+        <!-- Fix for the Javac bug requiring annotations to be available when compiling classes. (fixed in JDK 6) -->
+        <dependency>
+            <groupId>javax.persistence</groupId>
+            <artifactId>persistence-api</artifactId>
+            <version>1.0</version>
+            <scope>provided</scope>
+            <!-- provided by the agent/plugin-container -->
+        </dependency>
+        <!-- Fix for the Javac bug requiring annotations to be available when compiling classes. (fixed in JDK 6) -->
+        <dependency>
+            <groupId>org.hibernate</groupId>
+            <artifactId>hibernate-annotations</artifactId>
+            <version>3.5.6-Final</version>
+            <scope>provided</scope>
+            <!-- provided by the agent/plugin-container -->
+            <exclusions>
+                <exclusion>
+                    <groupId>javax.transaction</groupId>
+                    <artifactId>jta</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <!--
+		Uncomment the one of the three logging systems your plugin uses: log4j, commons-logging or i18nlog
+		All three are provided to your plugin by the agent/plugin-container.
+		-->
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+            <version>1.1</version>
+            <scope>provided</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>javax.servlet</groupId>
+                    <artifactId>servlet-api</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <!--
+        <dependency>
+            <groupId>org.rhq</groupId>
+            <artifactId>rhq-jmx-plugin</artifactId>
+            <version>1.3.0.EmbJopr.1.3.0-4</version>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.8.1</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+        </dependency>
+        -->
+    </dependencies>
+    <properties>
+        <rhq.version>1.3.0.EmbJopr.1.3.0-4</rhq.version>
+    </properties>
+</project>



More information about the jboss-svn-commits mailing list