Revision: 7d9f2f69befa
Author: [email protected] <[email protected]>
Date: Sat Jul 7 04:56:10 2012
Log: 100:Add jboss profiles to copy the client side jars for each
module to jboss/lib
http://code.google.com/p/jss7/source/detail?r=7d9f2f69befa
Modified:
/hardware/cli/pom.xml
/m3ua/cli/m3ua/pom.xml
/m3ua/cli/sctp/pom.xml
/sccp/sccp-cli/pom.xml
=======================================
--- /hardware/cli/pom.xml Thu Jul 5 06:46:18 2012
+++ /hardware/cli/pom.xml Sat Jul 7 04:56:10 2012
@@ -36,4 +36,45 @@
</resource>
</resources>
</build>
+ <profiles>
+ <profile>
+ <!-- Adds the files to JBoss AS -->
+ <id>jboss</id>
+ <build>
+ <plugins>
+ <plugin>
+
<artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>deploy</id>
+
<phase>install</phase>
+ <goals>
+
<goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <copy
todir="${jboss.home}/lib"
+
file="${project.build.directory}/${build.finalName}.jar" />
+ </tasks>
+ </configuration>
+ </execution>
+ <execution>
+
<id>undeploy</id>
+
<phase>clean</phase>
+ <goals>
+
<goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <delete
failonerror="fals"
+
file="${jboss.home}/lib/${build.finalName}.jar" />
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
=======================================
--- /m3ua/cli/m3ua/pom.xml Tue Jul 3 02:19:00 2012
+++ /m3ua/cli/m3ua/pom.xml Sat Jul 7 04:56:10 2012
@@ -36,4 +36,45 @@
</resource>
</resources>
</build>
+ <profiles>
+ <profile>
+ <!-- Adds the files to JBoss AS -->
+ <id>jboss</id>
+ <build>
+ <plugins>
+ <plugin>
+
<artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>deploy</id>
+
<phase>install</phase>
+ <goals>
+
<goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <copy
todir="${jboss.home}/lib"
+
file="${project.build.directory}/${build.finalName}.jar" />
+ </tasks>
+ </configuration>
+ </execution>
+ <execution>
+
<id>undeploy</id>
+
<phase>clean</phase>
+ <goals>
+
<goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <delete
failonerror="fals"
+
file="${jboss.home}/lib/${build.finalName}.jar" />
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
=======================================
--- /m3ua/cli/sctp/pom.xml Wed Jul 4 05:57:12 2012
+++ /m3ua/cli/sctp/pom.xml Sat Jul 7 04:56:10 2012
@@ -36,4 +36,45 @@
</resource>
</resources>
</build>
+ <profiles>
+ <profile>
+ <!-- Adds the files to JBoss AS -->
+ <id>jboss</id>
+ <build>
+ <plugins>
+ <plugin>
+
<artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>deploy</id>
+
<phase>install</phase>
+ <goals>
+
<goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <copy
todir="${jboss.home}/lib"
+
file="${project.build.directory}/${build.finalName}.jar" />
+ </tasks>
+ </configuration>
+ </execution>
+ <execution>
+
<id>undeploy</id>
+
<phase>clean</phase>
+ <goals>
+
<goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <delete
failonerror="fals"
+
file="${jboss.home}/lib/${build.finalName}.jar" />
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
=======================================
--- /sccp/sccp-cli/pom.xml Tue Jul 3 02:20:13 2012
+++ /sccp/sccp-cli/pom.xml Sat Jul 7 04:56:10 2012
@@ -36,4 +36,45 @@
</resource>
</resources>
</build>
+ <profiles>
+ <profile>
+ <!-- Adds the files to JBoss AS -->
+ <id>jboss</id>
+ <build>
+ <plugins>
+ <plugin>
+
<artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>deploy</id>
+
<phase>install</phase>
+ <goals>
+
<goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <copy
todir="${jboss.home}/lib"
+
file="${project.build.directory}/${build.finalName}.jar" />
+ </tasks>
+ </configuration>
+ </execution>
+ <execution>
+
<id>undeploy</id>
+
<phase>clean</phase>
+ <goals>
+
<goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <delete
failonerror="fals"
+
file="${jboss.home}/lib/${build.finalName}.jar" />
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>