Revision: a95735c83aa1
Author: Alexandre Mendonça <ammendonca>
Date: Mon Jul 16 17:57:28 2012
Log: re-structure project poms
http://code.google.com/p/jdiameter/source/detail?r=a95735c83aa1&repo=rhq-plugin
Added:
/plugin/pom.xml
=======================================
--- /dev/null
+++ /plugin/pom.xml Mon Jul 16 17:57:28 2012
@@ -0,0 +1,308 @@
+<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.mobicents.diameter.tools</groupId>
+ <artifactId>rhq-plugin-parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>rhq-plugin</artifactId>
+
+ <packaging>jar</packaging>
+
+ <name>Mobicents :: Diameter Tools :: RHQ Plugin</name>
+ <description>A plugin for managing Mobicents Diameter on JBoss
Application Servers</description>
+
+ <properties>
+ <rhq.groupId>org.rhq</rhq.groupId>
+ <rhq.version>1.2.0.GA</rhq.version>
+ <jbossas.version>5.1.0.GA</jbossas.version>
+ <jopr-version>2.2.0.GA</jopr-version>
+ <rhq-version>1.4.0.B01</rhq-version>
+
<mobicents.jdiameter.version>1.5.4.1-build415</mobicents.jdiameter.version>
+
<mobicents.diameter.version>1.2.1.GA</mobicents.diameter.version>
+ <getopt.version>1.0.13</getopt.version>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.14</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- logging dependency -->
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.0.4</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- for the Nullable/NotNull annotations -->
+ <dependency>
+ <groupId>org.jetbrains</groupId>
+ <artifactId>annotations</artifactId>
+ <version>7.0.2</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.rhq</groupId>
+ <artifactId>rhq-core-plugin-api</artifactId>
+ <version>${rhq-version}</version>
+ <scope>provided</scope><!-- by PC -->
+ </dependency>
+
+ <dependency>
+ <groupId>org.rhq</groupId>
+ <artifactId>rhq-core-native-system</artifactId>
+ <version>${rhq-version}</version>
+ <scope>provided</scope><!-- by PC -->
+ </dependency>
+
+ <dependency>
+ <groupId>org.rhq</groupId>
+ <artifactId>rhq-jmx-plugin</artifactId>
+ <version>${rhq-version}</version>
+ <scope>provided</scope><!-- by PC -->
+ </dependency>
+
+ <dependency>
+ <groupId>org.rhq</groupId>
+ <artifactId>rhq-core-domain</artifactId>
+ <version>${rhq-version}</version>
+ <scope>provided</scope><!-- by PC -->
+ </dependency>
+
+ <dependency>
+ <!-- Update to org.mobicents.diameter once version >
1.4.0.FINAL -->
+ <groupId>org.mobicents.servers.diameter</groupId>
+ <artifactId>mobicents-diameter-mux-jar</artifactId>
+ <version>${mobicents.diameter.version}</version>
+ </dependency>
+ <dependency>
+ <!-- Update to org.mobicents.diameter once version >
1.4.0.FINAL -->
+ <groupId>org.mobicents.servers.diameter</groupId>
+ <artifactId>jdiameter-api</artifactId>
+ <version>${mobicents.jdiameter.version}</version>
+ </dependency>
+ <dependency>
+ <!-- Update to org.mobicents.diameter once version >
1.4.0.FINAL -->
+ <groupId>org.mobicents.servers.diameter</groupId>
+ <artifactId>jdiameter-impl</artifactId>
+ <version>${mobicents.jdiameter.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>gnu-getopt</groupId>
+ <artifactId>getopt</artifactId>
+ <version>${getopt.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>dom4j</groupId>
+ <artifactId>dom4j</artifactId>
+ <version>1.6.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>1.3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.4</version>
+ </dependency>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>1.6.5</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-system</artifactId>
+ <version>${jbossas.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-system-jmx</artifactId>
+ <version>${jbossas.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.client</groupId>
+ <artifactId>jboss-client</artifactId>
+ <version>5.1.0.CR1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-core</artifactId>
+ <version>2.2.14.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.integration</groupId>
+ <artifactId>jboss-integration</artifactId>
+ <version>${jbossas.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-javaee</artifactId>
+ <version>5.0.1.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.logging</groupId>
+ <artifactId>jboss-logging-spi</artifactId>
+ <version>2.1.0.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.remoting</groupId>
+ <artifactId>jboss-remoting</artifactId>
+ <version>2.5.1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.security</groupId>
+ <artifactId>jboss-security-spi</artifactId>
+ <version>2.0.3.SP1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-serialization</artifactId>
+ <version>1.0.3.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-transaction</artifactId>
+ <version>4.2.3.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.naming</groupId>
+ <artifactId>jnp-client</artifactId>
+ <version>5.0.3.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-server</artifactId>
+ <version>5.1.0.GA</version>
+ <classifier>jmx-invoker-adaptor-client</classifier>
+ </dependency>
+ </dependencies>
+
+ <profiles>
+ <profile>
+ <id>release</id>
+ <build>
+ <plugins>
+ <plugin>
+
<artifactId>maven-antrun-plugin</artifactId>
+ <inherited>false</inherited>
+ <executions>
+ <execution>
+
<phase>install</phase>
+ <goals>
+
<goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <copy overwrite="true"
todir="${basedir}/../../release/${release.name}/tools/management-console">
+
<fileset dir="${basedir}/target">
+
<include name="**.jar" />
+
</fileset>
+
</copy>
+ <copy overwrite="true" file="${basedir}/release/README.TXT"
todir="${basedir}/../../release/${release.name}/tools/management-console" />
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <compilerArguments>
+ <g />
+ </compilerArguments>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <groupId>org.mobicents.tools</groupId>
+ <inherited>false</inherited>
+ <executions />
+ <configuration>
+ <excludePoms />
+ <classpathExcludes>
+
<exclude>xml-apis:xml-apis</exclude>
+ <exclude>jtidy:jtidy</exclude>
+ </classpathExcludes>
+
<resolveTransitiveDependencies>true</resolveTransitiveDependencies>
+
<eclipseProjectName>mobicents-diameter-rhq-plugin</eclipseProjectName>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.0</version>
+ <executions>
+
+ <execution>
+ <id>copy-dependencies</id>
+ <phase>process-resources</phase>
+ <goals>
+
<goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+
<includeScope>runtime</includeScope>
+
<excludeTransitive>true</excludeTransitive>
+ <outputDirectory>
+
${project.build.outputDirectory}/lib
+ </outputDirectory>
+ </configuration>
+ </execution>
+
+ <execution>
+
<id>copy-dependencies-of-jbossas-common</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+
<groupId>javax.slee</groupId>
+
<artifactId>jain-slee</artifactId>
+
<version>1.1</version>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>
+
${project.build.outputDirectory}/lib
+ </outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>