Author: pferraro
Date: 2008-10-27 22:04:26 -0400 (Mon, 27 Oct 2008)
New Revision: 2007
Added:
trunk/mod_cluster/src/assembly/
trunk/mod_cluster/src/assembly/bin.xml
Modified:
trunk/mod_cluster/pom.xml
Log:
Add assembly plugin for packaging.
Modified: trunk/mod_cluster/pom.xml
===================================================================
--- trunk/mod_cluster/pom.xml 2008-10-28 00:18:33 UTC (rev 2006)
+++ trunk/mod_cluster/pom.xml 2008-10-28 02:04:26 UTC (rev 2007)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<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">
+<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/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.jboss</groupId>
@@ -14,7 +14,7 @@
<name></name>
<description></description>
<url></url>
-
+
<scm>
<
connection>scm:svn:https://svn.jboss.org/repos/jbossnative/trunk/mod_c...
</scm>
@@ -46,6 +46,22 @@
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>assembly</id>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ <configuration>
+
<descriptorSourceDirectory>src/assembly</descriptorSourceDirectory>
+ </configuration>
+ </plugin>
+ <plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<
tagBase>https://svn.jboss.org/repos/jbossnative/tags/mod_cluster</t...
@@ -94,6 +110,10 @@
<groupId>org.jboss.jbossas</groupId>
<artifactId>jboss-server-manager</artifactId>
</artifactItem>
+ <artifactItem>
+ <groupId>org.jboss.naming</groupId>
+ <artifactId>jnp-client</artifactId>
+ </artifactItem>
</artifactItems>
<outputDirectory>${project.build.directory}/dependencies/lib</outputDirectory>
<overWriteIfNewer>true</overWriteIfNewer>
@@ -157,7 +177,7 @@
<dependency>
<groupId>org.jboss.microcontainer</groupId>
<artifactId>jboss-kernel</artifactId>
- <version>2.0.0.CR1</version>
+ <version>2.0.0.CR2</version>
</dependency>
<!-- Test dependencies -->
@@ -186,6 +206,12 @@
<scope>test</scope>
</dependency>
<dependency>
+ <groupId>org.jboss.naming</groupId>
+ <artifactId>jnp-client</artifactId>
+ <version>5.0.0.CR2</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.3</version>
Added: trunk/mod_cluster/src/assembly/bin.xml
===================================================================
--- trunk/mod_cluster/src/assembly/bin.xml (rev 0)
+++ trunk/mod_cluster/src/assembly/bin.xml 2008-10-28 02:04:26 UTC (rev 2007)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<assembly
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/xsd/assembly-1.0.0.xsd">
+ <id>bin</id>
+ <formats>
+ <format>tar.gz</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <fileSets>
+ <fileSet>
+ <includes>
+ <include>README*</include>
+ <include>LICENSE*</include>
+ <include>NOTICE*</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>target</directory>
+ <outputDirectory>mod-cluster.sar</outputDirectory>
+ <includes>
+ <include>${project.build.finalName}.jar</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>src/main/resources</directory>
+ <outputDirectory>mod-cluster.sar/META-INF</outputDirectory>
+ </fileSet>
+ </fileSets>
+</assembly>
\ No newline at end of file