[jboss-svn-commits] JBL Code SVN: r36678 - labs/jbosstm/trunk/rhq-plugin.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Feb 24 05:55:28 EST 2011


Author: tomjenkinson
Date: 2011-02-24 05:55:27 -0500 (Thu, 24 Feb 2011)
New Revision: 36678

Modified:
   labs/jbosstm/trunk/rhq-plugin/pom.xml
Log:
JBTM-574 inherit from our own parent

Modified: labs/jbosstm/trunk/rhq-plugin/pom.xml
===================================================================
--- labs/jbosstm/trunk/rhq-plugin/pom.xml	2011-02-24 10:55:20 UTC (rev 36677)
+++ labs/jbosstm/trunk/rhq-plugin/pom.xml	2011-02-24 10:55:27 UTC (rev 36678)
@@ -2,11 +2,11 @@
 
     <modelVersion>4.0.0</modelVersion>
 
+
     <parent>
-        <groupId>org.jboss.on</groupId>
-        <!--  Bypass the jopr-plugins-parent which can not have children. It must build after the plugins in order to execute integration tests on them. -->
-        <artifactId>jopr-modules-parent</artifactId>
-        <version>2.3.0.EmbJopr.1.3.0-4</version>
+        <groupId>org.jboss.jbossts</groupId>
+        <artifactId>narayana-build-common</artifactId>
+        <version>5.0.0.M1-SNAPSHOT</version>
     </parent>
 
     <groupId>org.jboss.on</groupId>
@@ -59,7 +59,7 @@
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-javadoc-plugin</artifactId>
-				<version>2.7</version>
+				<!--<version>2.7</version>-->
 				<executions>
 					<execution>
 						<id>create_javadocs</id>
@@ -88,13 +88,111 @@
 		</plugins>
 	</build>
 
+
+	<dependencyManagement>
+		<dependencies>
+			<dependency>
+        <groupId>org.jboss.on</groupId>
+        <!--  Bypass the jopr-plugins-parent which can not have children. It must build after the plugins in order to execute integration tests on them. -->
+        <artifactId>jopr-modules-parent</artifactId>
+        <version>2.3.0.EmbJopr.1.3.0-4</version>
+				<scope>import</scope>
+				<type>pom</type>
+			</dependency>
+		</dependencies>
+	</dependencyManagement>
+
+
     <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>${rhq.groupId}</groupId>
-            <artifactId>rhq-jmx-plugin</artifactId>
-            <version>${rhq.version}</version>
+ 			<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>hibernate-annotations</groupId>
+			<artifactId>hibernate-annotations</artifactId>
+			<version>3.2.1.GA</version>
+			<scope>provided</scope> <!-- provided by the agent/plugin-container -->
+		</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>
@@ -114,4 +212,9 @@
         -->
 
     </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