[jboss-cvs] Repository SVN: r10200 - in maven2/org/rhq: rhq-core-native-system/1.0.0.GA and 3 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jun 6 12:42:35 EDT 2008


Author: ispringer
Date: 2008-06-06 12:42:35 -0400 (Fri, 06 Jun 2008)
New Revision: 10200

Modified:
   maven2/org/rhq/rhq-core-domain/1.0.0.GA/rhq-core-domain-1.0.0.GA.pom
   maven2/org/rhq/rhq-core-domain/1.0.0.GA/rhq-core-domain-1.0.0.GA.pom.md5
   maven2/org/rhq/rhq-core-domain/1.0.0.GA/rhq-core-domain-1.0.0.GA.pom.sha1
   maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.jar.md5
   maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.jar.sha1
   maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.pom
   maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.pom.md5
   maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.pom.sha1
   maven2/org/rhq/rhq-core-plugin-api/1.0.0.GA/rhq-core-plugin-api-1.0.0.GA.pom
   maven2/org/rhq/rhq-core-plugin-api/1.0.0.GA/rhq-core-plugin-api-1.0.0.GA.pom.md5
   maven2/org/rhq/rhq-core-plugin-api/1.0.0.GA/rhq-core-plugin-api-1.0.0.GA.pom.sha1
   maven2/org/rhq/rhq-core-util/1.0.0.GA/rhq-core-util-1.0.0.GA.pom
   maven2/org/rhq/rhq-core-util/1.0.0.GA/rhq-core-util-1.0.0.GA.pom.md5
   maven2/org/rhq/rhq-core-util/1.0.0.GA/rhq-core-util-1.0.0.GA.pom.sha1
   maven2/org/rhq/rhq-plugin-validator/1.0.0.GA/rhq-plugin-validator-1.0.0.GA.pom
   maven2/org/rhq/rhq-plugin-validator/1.0.0.GA/rhq-plugin-validator-1.0.0.GA.pom.md5
   maven2/org/rhq/rhq-plugin-validator/1.0.0.GA/rhq-plugin-validator-1.0.0.GA.pom.sha1
Log:
fix a bunch of poms


Modified: maven2/org/rhq/rhq-core-domain/1.0.0.GA/rhq-core-domain-1.0.0.GA.pom
===================================================================
--- maven2/org/rhq/rhq-core-domain/1.0.0.GA/rhq-core-domain-1.0.0.GA.pom	2008-06-06 15:29:36 UTC (rev 10199)
+++ maven2/org/rhq/rhq-core-domain/1.0.0.GA/rhq-core-domain-1.0.0.GA.pom	2008-06-06 16:42:35 UTC (rev 10200)
@@ -1,6 +1,306 @@
-<?xml version="1.0" encoding="UTF-8"?><project>
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.rhq</groupId>
-  <artifactId>rhq-core-domain</artifactId>
-  <version>1.0.0.GA</version>
-</project>
\ No newline at end of file
+<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>
+
+   <parent>
+      <groupId>org.rhq</groupId>
+      <artifactId>rhq-core-parent</artifactId>
+      <version>1.0.0.GA</version>
+   </parent>
+
+   <groupId>org.rhq</groupId>
+   <artifactId>rhq-core-domain</artifactId>
+   <packaging>ejb</packaging>
+
+   <name>RHQ Domain Model</name>
+   <description>RHQ domain model classes (i.e. POJOs used by both server and agent)</description>
+
+   <scm>
+     <connection>scm:svn:http://svn.rhq-project.org/repos/rhq/tags/RHQ_1_0_0_GA/modules/core/domain</connection>
+     <developerConnection>scm:svn:http://svn.rhq-project.org/repos/rhq/tags/RHQ_1_0_0_GA/modules/core/domain</developerConnection>
+   </scm>
+
+   <properties>
+     <scm.module.path>modules/core/domain/</scm.module.path>
+
+     <!-- dependency versions -->
+     <jboss-embeddable-ejb3.version>1.0.0.Alpha9</jboss-embeddable-ejb3.version>
+   </properties>
+
+   <dependencies>
+
+      <!-- the notorious util jar -->
+      <dependency>
+         <groupId>${rhq.groupId}</groupId>
+         <artifactId>rhq-core-util</artifactId>
+         <version>${project.version}</version>
+      </dependency>
+
+      <!-- required by PersistenceUtil -->
+      <dependency>
+         <groupId>hibernate</groupId>
+         <artifactId>hibernate3</artifactId>
+         <version>3.2.r14201-1</version>
+         <scope>provided</scope> <!-- by JBossAS -->
+      </dependency>
+
+      <dependency>
+         <groupId>hibernate-annotations</groupId>
+         <artifactId>hibernate-annotations</artifactId>
+         <version>3.2.1.GA</version>
+         <scope>provided</scope> <!-- by JBossAS -->
+      </dependency>
+
+      <!-- required by PersistenceUtil and EJB3 Embedded -->
+      <dependency>
+         <groupId>hibernate-entitymanager</groupId>
+         <artifactId>hibernate-entitymanager</artifactId>
+         <version>3.2.1.GA</version>
+         <scope>provided</scope> <!-- by JBossAS -->
+      </dependency>
+
+      <dependency>
+         <groupId>javax.persistence</groupId>
+         <artifactId>persistence-api</artifactId>
+         <version>1.0</version>
+         <scope>provided</scope> <!-- by JBossAS -->
+      </dependency>
+
+      <dependency>
+         <groupId>javax.xml.bind</groupId>
+         <artifactId>jaxb-api</artifactId>
+         <!-- NOTE: The version is defined in the root POM's dependencyManagement section. -->
+      </dependency>
+
+      <!-- needed if you want to use the logging JDBC wrapper
+      <dependency>
+         <groupId>org.rhq</groupId>
+         <artifactId>rhq-core-dbutils</artifactId>
+         <version>${project.version}</version>
+      </dependency>
+      -->
+
+      <!--
+      <!- - so Seam annotations can be used in the entities - ->
+      <dependency>
+         <groupId>jboss</groupId>
+         <artifactId>jboss-seam</artifactId>
+         <version>${seam.version}</version>
+         <scope>provided</scope> <!- - by ${rhq.earName} - ->
+      </dependency>
+      -->
+
+      <!--================ Test Deps ================-->
+
+      <!-- Oracle JDBC driver - required only if you want to run the tests against Oracle. -->
+      <!--
+      <dependency>
+         <groupId>ojdbc14</groupId>
+         <artifactId>ojdbc14</artifactId>
+         <scope>test</scope>
+      </dependency>
+      -->
+
+      <dependency>
+         <groupId>postgresql</groupId>
+         <artifactId>postgresql</artifactId>
+         <!-- NOTE: The version is defined in the root POM's dependencyManagement section. -->
+         <scope>test</scope>
+      </dependency>
+
+      <dependency>
+         <groupId>jboss.jboss-embeddable-ejb3</groupId>
+         <artifactId>jboss-ejb3-all</artifactId>
+         <version>${jboss-embeddable-ejb3.version}</version>
+         <scope>test</scope>
+      </dependency>
+
+<!--
+      <dependency>
+         <groupId>jboss.jboss-embeddable-ejb3</groupId>
+         <artifactId>hibernate-all</artifactId>
+         <version>${jboss-embeddable-ejb3.version}</version>
+         <scope>test</scope>
+      </dependency>
+
+      <dependency>
+         <groupId>jboss.jboss-embeddable-ejb3</groupId>
+         <artifactId>thirdparty-all</artifactId>
+         <version>${jboss-embeddable-ejb3.version}</version>
+         <scope>test</scope>
+      </dependency>
+-->
+
+      <!-- NOTE: The remaining test deps correspond to the classes contained in hibernate-all.jar and thirdparty-all.jar. -->
+
+      <dependency>
+         <groupId>antlr</groupId>
+         <artifactId>antlr</artifactId>
+         <version>2.7.7</version>
+         <scope>test</scope>
+      </dependency>
+
+      <dependency>
+         <groupId>cglib</groupId>
+         <artifactId>cglib-nodep</artifactId>
+         <version>2.1_3</version>
+         <scope>test</scope>
+      </dependency>
+
+      <dependency>
+         <groupId>commons-collections</groupId>
+         <artifactId>commons-collections</artifactId>
+         <version>2.1</version>
+         <scope>test</scope>
+      </dependency>
+
+      <dependency>
+         <groupId>dom4j</groupId>
+         <artifactId>dom4j</artifactId>
+         <version>1.6.1-jboss</version>
+         <scope>test</scope>
+      </dependency>
+
+      <dependency>
+         <groupId>jboss</groupId>
+         <artifactId>javassist</artifactId>
+         <version>3.4.ga</version>
+         <scope>test</scope>
+      </dependency>
+
+      <dependency>
+         <groupId>oswego-concurrent</groupId>
+         <artifactId>concurrent</artifactId>
+         <version>1.3.4</version>
+         <scope>test</scope>
+      </dependency>
+
+      <dependency>
+         <groupId>trove</groupId>
+         <artifactId>trove</artifactId>
+         <version>1.0.2</version>
+         <scope>test</scope>
+      </dependency>
+
+      <dependency>
+         <groupId>xerces</groupId>
+         <artifactId>xercesImpl</artifactId>
+         <version>2.8.1</version>
+         <scope>test</scope>
+      </dependency>
+
+   </dependencies>
+
+   <build>
+
+      <finalName>rhq-core-domain-ejb3</finalName>
+
+      <testResources>
+         <testResource>
+            <directory>src/test/resources</directory>
+            <filtering>true</filtering>
+         </testResource>
+      </testResources>
+
+      <plugins>
+
+         <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <systemProperties>
+                <property>
+                  <name>ejbjarDirectory</name>
+                  <value>target/classes</value>
+                </property>
+              </systemProperties>
+              <!-- The below is required for tests to run against Oracle. -->
+              <additionalClasspathElements>
+                 <additionalClasspathElement>${settings.localRepository}/ojdbc14/ojdbc14/${ojdbc14.version}/ojdbc14-${ojdbc14.version}.jar</additionalClasspathElement>
+              </additionalClasspathElements>
+            </configuration>
+         </plugin>
+
+         <plugin>
+            <artifactId>maven-ejb-plugin</artifactId>
+            <version>2.1</version>
+            <configuration>
+              <ejbVersion>3.0</ejbVersion>
+              <archive>
+                <manifest>
+                  <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+                  <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+                  <addClasspath>true</addClasspath>
+                  <classpathPrefix>lib/</classpathPrefix>
+                </manifest>
+                <manifestEntries>
+                  <Build-Number>${buildNumber}</Build-Number>
+                </manifestEntries>
+              </archive>
+            </configuration>
+         </plugin>
+
+      </plugins>
+   </build>
+
+   <profiles>
+
+       <profile>
+         <id>dev</id>
+
+         <properties>
+            <rhq.rootDir>../../..</rhq.rootDir>
+            <rhq.containerDir>${rhq.rootDir}/${rhq.defaultDevContainerPath}</rhq.containerDir>
+            <rhq.deploymentName>${project.build.finalName}.jar</rhq.deploymentName>
+            <rhq.deploymentDir>${rhq.containerDir}/jbossas/server/default/deploy/${rhq.earName}/${rhq.deploymentName}</rhq.deploymentDir>
+         </properties>
+
+         <build>
+            <plugins>
+
+               <plugin>
+                 <artifactId>maven-antrun-plugin</artifactId>
+                 <version>1.1</version>
+                 <executions>
+
+                     <execution>
+                        <id>deploy</id>
+                        <phase>compile</phase>
+                        <configuration>
+                          <tasks>
+                            <property name="deployment.dir" location="${rhq.deploymentDir}" />
+                            <echo>*** Copying updated files from target${file.separator}classes${file.separator} to ${deployment.dir}${file.separator}...</echo>
+                            <copy todir="${deployment.dir}" verbose="${rhq.verbose}">
+                               <fileset dir="target/classes" />
+                            </copy>
+                          </tasks>
+                        </configuration>
+                        <goals>
+                          <goal>run</goal>
+                        </goals>
+                     </execution>
+
+                     <execution>
+                        <id>undeploy</id>
+                        <phase>clean</phase>
+                        <configuration>
+                          <tasks>
+                            <property name="deployment.dir" location="${rhq.deploymentDir}" />
+                            <echo>*** Deleting ${deployment.dir}${file.separator}...</echo>
+                            <delete dir="${deployment.dir}" />
+                          </tasks>
+                        </configuration>
+                        <goals>
+                          <goal>run</goal>
+                        </goals>
+                     </execution>
+
+                   </executions>
+               </plugin>
+
+           </plugins>
+         </build>
+      </profile>
+
+   </profiles>
+
+</project>

Modified: maven2/org/rhq/rhq-core-domain/1.0.0.GA/rhq-core-domain-1.0.0.GA.pom.md5
===================================================================
--- maven2/org/rhq/rhq-core-domain/1.0.0.GA/rhq-core-domain-1.0.0.GA.pom.md5	2008-06-06 15:29:36 UTC (rev 10199)
+++ maven2/org/rhq/rhq-core-domain/1.0.0.GA/rhq-core-domain-1.0.0.GA.pom.md5	2008-06-06 16:42:35 UTC (rev 10200)
@@ -1 +1 @@
-202363ccde5c1a30a3fa0731ba3f6f62
\ No newline at end of file
+2b8298ba0334ef1ae03cd77d3b1e3c75

Modified: maven2/org/rhq/rhq-core-domain/1.0.0.GA/rhq-core-domain-1.0.0.GA.pom.sha1
===================================================================
--- maven2/org/rhq/rhq-core-domain/1.0.0.GA/rhq-core-domain-1.0.0.GA.pom.sha1	2008-06-06 15:29:36 UTC (rev 10199)
+++ maven2/org/rhq/rhq-core-domain/1.0.0.GA/rhq-core-domain-1.0.0.GA.pom.sha1	2008-06-06 16:42:35 UTC (rev 10200)
@@ -1 +1 @@
-87bc8fd8ac9f889080adb2798afae522115845e9
\ No newline at end of file
+2d8917c301125e6b1db3b3bd1daed70d93e40c49

Modified: maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.jar.md5
===================================================================
--- maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.jar.md5	2008-06-06 15:29:36 UTC (rev 10199)
+++ maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.jar.md5	2008-06-06 16:42:35 UTC (rev 10200)
@@ -1 +1 @@
-17d2c7208249511d3f7ffa79754e9c14
\ No newline at end of file
+17d2c7208249511d3f7ffa79754e9c14

Modified: maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.jar.sha1
===================================================================
--- maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.jar.sha1	2008-06-06 15:29:36 UTC (rev 10199)
+++ maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.jar.sha1	2008-06-06 16:42:35 UTC (rev 10200)
@@ -1 +1 @@
-5642b85519fe33445a9f0c8afd5aaf4cc7d8116a
\ No newline at end of file
+5642b85519fe33445a9f0c8afd5aaf4cc7d8116a

Modified: maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.pom
===================================================================
--- maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.pom	2008-06-06 15:29:36 UTC (rev 10199)
+++ maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.pom	2008-06-06 16:42:35 UTC (rev 10200)
@@ -1,6 +1,110 @@
-<?xml version="1.0" encoding="UTF-8"?><project>
+<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>
+
+  <parent>
+    <groupId>org.rhq</groupId>
+    <artifactId>rhq-parent</artifactId>
+    <version>1.0.0.GA</version>
+  </parent>
+
   <groupId>org.rhq</groupId>
   <artifactId>rhq-core-native-system</artifactId>
-  <version>1.0.0.GA</version>
+  <packaging>jar</packaging>
+
+  <name>RHQ Native System API</name>
+  <description>
+     Java API that wraps the native library used to access low-level system resources natively.
+  </description>
+
+  <scm>
+    <connection>scm:svn:http://svn.rhq-project.org/repos/rhq/tags/RHQ_1_0_0_GA/modules/core/native-system</connection>
+    <developerConnection>scm:svn:http://svn.rhq-project.org/repos/rhq/tags/RHQ_1_0_0_GA/modules/core/native-system</developerConnection>
+  </scm>
+
+  <properties>
+    <scm.module.path>modules/core/native-system/</scm.module.path>
+  </properties>
+
+  <dependencies>
+
+    <dependency>
+      <groupId>${rhq.groupId}</groupId>
+      <artifactId>rhq-core-util</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.hyperic</groupId>
+      <artifactId>sigar</artifactId>
+      <!-- NOTE: The version is defined in the root POM's dependencyManagement section. -->
+    </dependency>
+
+    <dependency>
+      <groupId>org.hyperic</groupId>
+      <artifactId>sigar-dist</artifactId>
+      <version>${sigar.version}</version>
+      <type>zip</type>
+    </dependency>
+
+  </dependencies>
+
+  <build>
+    <plugins>
+
+      <!-- need to copy/unzip the native libraries to the target directory and tell SystemInfoFactory where they are -->
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>process-test-resources</phase>
+            <configuration>
+              <tasks>
+                 <echo>SIGAR java library version used is ${sigar.version}</echo>
+                 <echo>Copying/unzipping SIGAR native libraries (version ${sigar.version}) to local build directory</echo>
+                 <mkdir dir="${project.build.directory}/jboss-sigar" />
+                 <copy toDir="${project.build.directory}/jboss-sigar">
+                    <fileset dir="${settings.localRepository}/org/hyperic/sigar-dist/${sigar.version}" includes="*.zip" />
+                 </copy>
+                 <unzip dest="${project.build.directory}/jboss-sigar">
+                    <fileset dir="${project.build.directory}/jboss-sigar" includes="*.zip" />
+                    <patternset>
+                       <include name="**/lib/sigar.jar" />
+                       <include name="**/lib/bcel*.jar" />
+                       <include name="**/lib/*.so" />
+                       <include name="**/lib/*.sl" />
+                       <include name="**/lib/*.dll" />
+                       <include name="**/lib/*.dylib" />
+                    </patternset>
+                 </unzip>
+                 <move todir="${project.build.directory}/jboss-sigar" flatten="true">
+                    <fileset dir="${project.build.directory}/jboss-sigar">
+                       <include name="**/lib/*" />
+                    </fileset>
+                 </move>
+                 <delete dir="${project.build.directory}/jboss-sigar/hyperic-sigar-${sigar.version}" />
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <excludedGroups>${rhq.testng.excludedGroups}</excludedGroups>
+          <!-- need to point the library path to the location of the native libraries -->
+          <argLine>-Dorg.hyperic.sigar.path=${project.build.directory}/jboss-sigar</argLine>
+          <!--
+          <argLine>-Dorg.hyperic.sigar.path=${project.build.directory}/jboss-sigar -Dsigar.nativeLogging=true -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y</argLine>
+           -->
+        </configuration>
+      </plugin>
+
+    </plugins>
+  </build>
+
 </project>
\ No newline at end of file

Modified: maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.pom.md5
===================================================================
--- maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.pom.md5	2008-06-06 15:29:36 UTC (rev 10199)
+++ maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.pom.md5	2008-06-06 16:42:35 UTC (rev 10200)
@@ -1 +1 @@
-0f2cdc2418901e33e9947f82e4404c42
\ No newline at end of file
+67a99967f1ec3012b3a0a0e2ee307a46

Modified: maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.pom.sha1
===================================================================
--- maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.pom.sha1	2008-06-06 15:29:36 UTC (rev 10199)
+++ maven2/org/rhq/rhq-core-native-system/1.0.0.GA/rhq-core-native-system-1.0.0.GA.pom.sha1	2008-06-06 16:42:35 UTC (rev 10200)
@@ -1 +1 @@
-9ff7d2329c6dd746526de777ae5a16f676b1f3e4
\ No newline at end of file
+cae37a0206813380bcaf4522f2b45a147da993f5

Modified: maven2/org/rhq/rhq-core-plugin-api/1.0.0.GA/rhq-core-plugin-api-1.0.0.GA.pom
===================================================================
--- maven2/org/rhq/rhq-core-plugin-api/1.0.0.GA/rhq-core-plugin-api-1.0.0.GA.pom	2008-06-06 15:29:36 UTC (rev 10199)
+++ maven2/org/rhq/rhq-core-plugin-api/1.0.0.GA/rhq-core-plugin-api-1.0.0.GA.pom	2008-06-06 16:42:35 UTC (rev 10200)
@@ -1,6 +1,95 @@
-<?xml version="1.0" encoding="UTF-8"?><project>
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.rhq</groupId>
-  <artifactId>rhq-core-plugin-api</artifactId>
-  <version>1.0.0.GA</version>
-</project>
\ No newline at end of file
+<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>
+
+   <parent>
+      <groupId>org.rhq</groupId>
+      <artifactId>rhq-core-parent</artifactId>
+      <version>1.0.0.GA</version>
+   </parent>
+
+   <groupId>org.rhq</groupId>
+   <artifactId>rhq-core-plugin-api</artifactId>
+   <packaging>jar</packaging>
+
+   <name>RHQ Plugin API</name>
+   <description>RHQ Plugin API used to write custom plugins</description>
+
+  <scm>
+    <connection>scm:svn:http://svn.rhq-project.org/repos/rhq/tags/RHQ_1_0_0_GA/modules/core/plugin-api</connection>
+    <developerConnection>scm:svn:http://svn.rhq-project.org/repos/rhq/tags/RHQ_1_0_0_GA/modules/core/plugin-api</developerConnection>
+  </scm>
+
+  <properties>
+    <scm.module.path>modules/core/plugin-api/</scm.module.path>
+  </properties>
+
+   <dependencies>
+
+      <!-- Internal Deps -->
+
+      <dependency>
+         <groupId>${rhq.groupId}</groupId>
+         <artifactId>rhq-core-domain</artifactId>
+         <version>${project.version}</version>
+         <scope>provided</scope>
+      </dependency>
+
+      <dependency>
+         <groupId>${rhq.groupId}</groupId>
+         <artifactId>rhq-core-native-system</artifactId>
+         <version>${project.version}</version>
+      </dependency>
+
+      <!-- 3rd Party Deps -->
+
+      <!-- TODO: This is a fix for the Javac bug requiring annotations to be
+           available when compiling dependent classes. It is fixed in JDK 6 -->
+      <dependency>
+         <groupId>javax.persistence</groupId>
+         <artifactId>persistence-api</artifactId>
+         <version>1.0</version>
+         <scope>provided</scope>
+      </dependency>
+      <dependency>
+         <groupId>jboss.jboss-embeddable-ejb3</groupId>
+         <artifactId>hibernate-all</artifactId>
+         <version>1.0.0.Alpha9</version>
+         <scope>provided</scope> <!-- by ON Container -->
+         <!-- needed for referenced domain entities that use Hibernate annotations -->
+      </dependency>
+
+      <dependency>
+         <groupId>javax.xml.bind</groupId>
+         <artifactId>jaxb-api</artifactId>
+         <!-- NOTE: The version is defined in the root POM's dependencyManagement section. -->
+      </dependency>
+
+      <dependency>
+         <groupId>com.sun.xml.bind</groupId>
+         <artifactId>jaxb-impl</artifactId>
+         <!-- NOTE: The version is defined in the root POM's dependencyManagement section. -->
+         <!--<scope>test</scope>  not sure about this -->
+      </dependency>
+            
+   </dependencies>
+
+   <pluginRepositories>
+      <pluginRepository>
+         <id>java.net</id>
+         <name>java.net Maven Repository</name>
+         <url>https://maven-repository.dev.java.net/nonav/repository</url>
+         <layout>legacy</layout>
+      </pluginRepository>
+   </pluginRepositories>
+
+   <repositories>
+      <repository>
+         <id>java.net</id>
+         <name>java.net Maven Repository</name>
+         <url>https://maven-repository.dev.java.net/nonav/repository</url>
+         <layout>legacy</layout>
+      </repository>
+   </repositories>
+
+</project>

Modified: maven2/org/rhq/rhq-core-plugin-api/1.0.0.GA/rhq-core-plugin-api-1.0.0.GA.pom.md5
===================================================================
--- maven2/org/rhq/rhq-core-plugin-api/1.0.0.GA/rhq-core-plugin-api-1.0.0.GA.pom.md5	2008-06-06 15:29:36 UTC (rev 10199)
+++ maven2/org/rhq/rhq-core-plugin-api/1.0.0.GA/rhq-core-plugin-api-1.0.0.GA.pom.md5	2008-06-06 16:42:35 UTC (rev 10200)
@@ -1 +1 @@
-b765b0398cc9f1e227476d9a991f853a
\ No newline at end of file
+80ae88d0a4e59d13c635a5b4938d57e9

Modified: maven2/org/rhq/rhq-core-plugin-api/1.0.0.GA/rhq-core-plugin-api-1.0.0.GA.pom.sha1
===================================================================
--- maven2/org/rhq/rhq-core-plugin-api/1.0.0.GA/rhq-core-plugin-api-1.0.0.GA.pom.sha1	2008-06-06 15:29:36 UTC (rev 10199)
+++ maven2/org/rhq/rhq-core-plugin-api/1.0.0.GA/rhq-core-plugin-api-1.0.0.GA.pom.sha1	2008-06-06 16:42:35 UTC (rev 10200)
@@ -1 +1 @@
-f89c969e8021aa882ed94aafcf228e9d71e22c9b
\ No newline at end of file
+5c251cd57a52559eb903d861a56656e7fb24f5b6

Modified: maven2/org/rhq/rhq-core-util/1.0.0.GA/rhq-core-util-1.0.0.GA.pom
===================================================================
--- maven2/org/rhq/rhq-core-util/1.0.0.GA/rhq-core-util-1.0.0.GA.pom	2008-06-06 15:29:36 UTC (rev 10199)
+++ maven2/org/rhq/rhq-core-util/1.0.0.GA/rhq-core-util-1.0.0.GA.pom	2008-06-06 16:42:35 UTC (rev 10200)
@@ -1,6 +1,135 @@
-<?xml version="1.0" encoding="UTF-8"?><project>
+<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>
+
+  <parent>
+    <groupId>org.rhq</groupId>
+    <artifactId>rhq-core-parent</artifactId>
+    <version>1.0.0.GA</version>
+  </parent>
+
   <groupId>org.rhq</groupId>
   <artifactId>rhq-core-util</artifactId>
-  <version>1.0.0.GA</version>
+  <packaging>jar</packaging>
+
+  <name>RHQ Utilities</name>
+  <description>generic utility classes for use by any JON module</description>
+
+  <scm>
+    <connection>scm:svn:http://svn.rhq-project.org/repos/rhq/tags/RHQ_1_0_0_GA/modules/core/util</connection>
+    <developerConnection>scm:svn:http://svn.rhq-project.org/repos/rhq/tags/RHQ_1_0_0_GA/modules/core/util</developerConnection>
+  </scm>
+
+  <properties>
+    <scm.module.path>modules/core/util/</scm.module.path>
+  </properties>
+
+  <dependencies>
+
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <version>1.0.4</version>
+      <scope>compile</scope>
+    </dependency>
+
+    <!-- Used by the (deprecated) legacy XML parser, which is used to parse JON license files. -->
+    <dependency>
+      <groupId>jdom</groupId>
+      <artifactId>jdom</artifactId>
+      <version>1.0</version>
+    </dependency>
+
+  </dependencies>
+
+  <build>
+    <plugins>
+
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>process-classes</phase>
+            <configuration>
+              <tasks>
+                <!-- generate the I18N resource bundles -->
+                <taskdef name="i18n" classpathref="maven.runtime.classpath" classname="mazz.i18n.ant.I18NAntTask" />
+
+                <i18n outputdir="${project.build.outputDirectory}" defaultlocale="en" verbose="false" append="false" verify="true">
+                   <classpath refid="maven.runtime.classpath" />
+                   <classfileset dir="${project.build.outputDirectory}">
+                      <include name="**/*.class" />
+                   </classfileset>
+                </i18n>
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+    </plugins>
+  </build>
+
+   <profiles>
+
+      <profile>
+         <id>dev</id>
+
+         <properties>
+            <rhq.rootDir>../../..</rhq.rootDir>
+            <rhq.containerDir>${rhq.rootDir}/${rhq.defaultDevContainerPath}</rhq.containerDir>
+            <rhq.deploymentDir>${rhq.containerDir}/jbossas/server/default/deploy/${rhq.earName}/lib</rhq.deploymentDir>
+         </properties>
+
+         <build>
+            <plugins>
+
+               <plugin>
+                 <artifactId>maven-antrun-plugin</artifactId>
+                 <version>1.1</version>
+                 <executions>
+
+                     <execution>
+                        <id>deploy</id>
+                        <phase>compile</phase>
+                        <configuration>
+                          <tasks>
+                            <mkdir dir="${rhq.deploymentDir}" />
+                            <property name="deployment.file" location="${rhq.deploymentDir}/${project.build.finalName}.jar" />
+                            <echo>*** Updating ${deployment.file}...</echo>
+                            <jar destfile="${deployment.file}" basedir="${project.build.outputDirectory}" />
+                          </tasks>
+                        </configuration>
+                        <goals>
+                          <goal>run</goal>
+                        </goals>
+                     </execution>
+
+                     <execution>
+                        <id>undeploy</id>
+                        <phase>clean</phase>
+                        <configuration>
+                          <tasks>
+                            <property name="deployment.file" location="${rhq.deploymentDir}/${project.build.finalName}.jar" />
+                            <echo>*** Deleting ${deployment.file}...</echo>
+                            <delete file="${deployment.file}" />
+                          </tasks>
+                        </configuration>
+                        <goals>
+                          <goal>run</goal>
+                        </goals>
+                     </execution>
+
+                  </executions>
+               </plugin>
+
+           </plugins>
+         </build>
+      </profile>
+
+   </profiles>
+
 </project>
\ No newline at end of file

Modified: maven2/org/rhq/rhq-core-util/1.0.0.GA/rhq-core-util-1.0.0.GA.pom.md5
===================================================================
--- maven2/org/rhq/rhq-core-util/1.0.0.GA/rhq-core-util-1.0.0.GA.pom.md5	2008-06-06 15:29:36 UTC (rev 10199)
+++ maven2/org/rhq/rhq-core-util/1.0.0.GA/rhq-core-util-1.0.0.GA.pom.md5	2008-06-06 16:42:35 UTC (rev 10200)
@@ -1 +1 @@
-2b94b60d428d3a3bc2f19bcb76ca99be
\ No newline at end of file
+13836f243de5e2deefb86e9f94e02860

Modified: maven2/org/rhq/rhq-core-util/1.0.0.GA/rhq-core-util-1.0.0.GA.pom.sha1
===================================================================
--- maven2/org/rhq/rhq-core-util/1.0.0.GA/rhq-core-util-1.0.0.GA.pom.sha1	2008-06-06 15:29:36 UTC (rev 10199)
+++ maven2/org/rhq/rhq-core-util/1.0.0.GA/rhq-core-util-1.0.0.GA.pom.sha1	2008-06-06 16:42:35 UTC (rev 10200)
@@ -1 +1 @@
-5a23c7e7fb3983c2b072a7666af4696f860b7296
\ No newline at end of file
+c94b8dec8231836175305faa30651655503fb37c

Modified: maven2/org/rhq/rhq-plugin-validator/1.0.0.GA/rhq-plugin-validator-1.0.0.GA.pom
===================================================================
--- maven2/org/rhq/rhq-plugin-validator/1.0.0.GA/rhq-plugin-validator-1.0.0.GA.pom	2008-06-06 15:29:36 UTC (rev 10199)
+++ maven2/org/rhq/rhq-plugin-validator/1.0.0.GA/rhq-plugin-validator-1.0.0.GA.pom	2008-06-06 16:42:35 UTC (rev 10200)
@@ -25,6 +25,12 @@
       </dependency>
       
       <dependency>
+         <groupId>org.rhq</groupId>
+         <artifactId>rhq-core-domain</artifactId>
+         <version>${project.version}</version>
+      </dependency>
+      
+      <dependency>
          <groupId>commons-logging</groupId>
          <artifactId>commons-logging</artifactId>
          <version>1.1</version>

Modified: maven2/org/rhq/rhq-plugin-validator/1.0.0.GA/rhq-plugin-validator-1.0.0.GA.pom.md5
===================================================================
--- maven2/org/rhq/rhq-plugin-validator/1.0.0.GA/rhq-plugin-validator-1.0.0.GA.pom.md5	2008-06-06 15:29:36 UTC (rev 10199)
+++ maven2/org/rhq/rhq-plugin-validator/1.0.0.GA/rhq-plugin-validator-1.0.0.GA.pom.md5	2008-06-06 16:42:35 UTC (rev 10200)
@@ -1 +1 @@
-0003a665a904e89d0effc533c67aa922
+6c2865e61fef9d6040b60037030fd295

Modified: maven2/org/rhq/rhq-plugin-validator/1.0.0.GA/rhq-plugin-validator-1.0.0.GA.pom.sha1
===================================================================
--- maven2/org/rhq/rhq-plugin-validator/1.0.0.GA/rhq-plugin-validator-1.0.0.GA.pom.sha1	2008-06-06 15:29:36 UTC (rev 10199)
+++ maven2/org/rhq/rhq-plugin-validator/1.0.0.GA/rhq-plugin-validator-1.0.0.GA.pom.sha1	2008-06-06 16:42:35 UTC (rev 10200)
@@ -1 +1 @@
-7c6f841e5ce3bf0772ba1f878585d77f688e48a5
+61aca1906464ed638b9adf571f6ff22cea565376




More information about the jboss-cvs-commits mailing list