Author: ataylor
Date: 2011-04-14 11:27:35 -0400 (Thu, 14 Apr 2011)
New Revision: 10510
Added:
trunk/distribution/jnp-client/
trunk/distribution/jnp-client/jnp-client.iml
trunk/distribution/jnp-client/pom.xml
Modified:
trunk/distribution/pom.xml
trunk/distribution/src/main/assembly/dep.xml
Log:
added dependency for jnp client jar and removed version extensions from jars
Added: trunk/distribution/jnp-client/jnp-client.iml
===================================================================
--- trunk/distribution/jnp-client/jnp-client.iml (rev 0)
+++ trunk/distribution/jnp-client/jnp-client.iml 2011-04-14 15:27:35 UTC (rev 10510)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true"
type="JAVA_MODULE" version="4">
+ <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6"
inherit-compiler-output="false">
+ <output url="file://$MODULE_DIR$/target/classes" />
+ <output-test url="file://$MODULE_DIR$/target/test-classes" />
+ <exclude-output />
+ <content url="file://$MODULE_DIR$">
+ <excludeFolder url="file://$MODULE_DIR$/target" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ <orderEntry type="library" name="Maven:
org.jboss.naming:jnpserver:5.0.3.GA" level="project" />
+ <orderEntry type="library" name="Maven:
org.jboss:jboss-common-core:2.2.14.GA" level="project" />
+ <orderEntry type="library" name="Maven:
org.jboss.logging:jboss-logging-spi:2.1.0.GA" level="project" />
+ </component>
+</module>
+
Added: trunk/distribution/jnp-client/pom.xml
===================================================================
--- trunk/distribution/jnp-client/pom.xml (rev 0)
+++ trunk/distribution/jnp-client/pom.xml 2011-04-14 15:27:35 UTC (rev 10510)
@@ -0,0 +1,83 @@
+<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.hornetq</groupId>
+ <artifactId>hornetq-pom</artifactId>
+ <version>2.2.3-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.hornetq</groupId>
+ <artifactId>jnp-client</artifactId>
+ <packaging>jar</packaging>
+ <name>JBoss jnp client jar</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.naming</groupId>
+ <artifactId>jnpserver</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.logging</groupId>
+ <artifactId>jboss-logging-spi</artifactId>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <artifactSet>
+ <excludes>
+ <exclude>org.jboss.netty:netty</exclude>
+ </excludes>
+ </artifactSet>
+ <filters>
+ <filter>
+ <artifact>org.jboss.naming:jnpserver</artifact>
+ <includes>
+
<include>org/jnp/interfaces/**/*.class</include>
+ <include>org/jboss/naming/**/*.class</include>
+
<include>org/jnp/server/NamingServer_Stub.class</include>
+ </includes>
+ </filter>
+ <filter>
+
<artifact>org.jboss.logging:jboss-logging-spi</artifact>
+ <includes>
+
<include>org/jboss/logging/**/*.class</include>
+ </includes>
+ </filter>
+ </filters>
+ </configuration>
+ </execution>
+
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Modified: trunk/distribution/pom.xml
===================================================================
--- trunk/distribution/pom.xml 2011-04-14 15:04:10 UTC (rev 10509)
+++ trunk/distribution/pom.xml 2011-04-14 15:27:35 UTC (rev 10510)
@@ -25,6 +25,9 @@
</dependency>
</dependencies>
+ <modules>
+ <module>jnp-client</module>
+ </modules>
<build>
<resources>
Modified: trunk/distribution/src/main/assembly/dep.xml
===================================================================
--- trunk/distribution/src/main/assembly/dep.xml 2011-04-14 15:04:10 UTC (rev 10509)
+++ trunk/distribution/src/main/assembly/dep.xml 2011-04-14 15:27:35 UTC (rev 10510)
@@ -18,6 +18,7 @@
<includeDependencies>false</includeDependencies>
<outputDirectory>lib</outputDirectory>
<unpack>false</unpack>
+
<outputFileNameMapping>${module.artifactId}.${module.extension}</outputFileNameMapping>
</binaries>
</moduleSet>
<moduleSet>
@@ -29,6 +30,7 @@
<includeDependencies>false</includeDependencies>
<outputDirectory>lib</outputDirectory>
<unpack>false</unpack>
+
<outputFileNameMapping>${module.artifactId}.${module.extension}</outputFileNameMapping>
</binaries>
</moduleSet>
<moduleSet>
@@ -56,6 +58,7 @@
<includeDependencies>false</includeDependencies>
<outputDirectory>lib</outputDirectory>
<unpack>false</unpack>
+
<outputFileNameMapping>${module.artifactId}.${module.extension}</outputFileNameMapping>
</binaries>
</moduleSet>
<moduleSet>
@@ -67,6 +70,7 @@
<includeDependencies>false</includeDependencies>
<outputDirectory>lib</outputDirectory>
<unpack>false</unpack>
+
<outputFileNameMapping>${module.artifactId}.${module.extension}</outputFileNameMapping>
</binaries>
</moduleSet>
<moduleSet>
@@ -83,6 +87,7 @@
<include>**/*.xsd</include>
</includes>
</unpackOptions>
+
<outputFileNameMapping>${module.artifactId}.${module.extension}</outputFileNameMapping>
</binaries>
</moduleSet>
<moduleSet>
@@ -94,6 +99,7 @@
<includeDependencies>false</includeDependencies>
<outputDirectory>lib</outputDirectory>
<unpack>false</unpack>
+
<outputFileNameMapping>${module.artifactId}.${module.extension}</outputFileNameMapping>
</binaries>
</moduleSet> <moduleSet>
<useAllReactorProjects>true</useAllReactorProjects>
@@ -104,6 +110,7 @@
<includeDependencies>false</includeDependencies>
<outputDirectory>lib</outputDirectory>
<unpack>false</unpack>
+
<outputFileNameMapping>${module.artifactId}.${module.extension}</outputFileNameMapping>
</binaries>
</moduleSet>
<moduleSet>
@@ -115,6 +122,7 @@
<includeDependencies>false</includeDependencies>
<outputDirectory>lib</outputDirectory>
<unpack>false</unpack>
+
<outputFileNameMapping>${module.artifactId}.${module.extension}</outputFileNameMapping>
</binaries>
</moduleSet>
<!--
@@ -137,6 +145,7 @@
<includeDependencies>false</includeDependencies>
<outputDirectory>lib</outputDirectory>
<unpack>false</unpack>
+
<outputFileNameMapping>${module.artifactId}.${module.extension}</outputFileNameMapping>
</binaries>
</moduleSet>
<moduleSet>
@@ -148,6 +157,7 @@
<includeDependencies>false</includeDependencies>
<outputDirectory>lib</outputDirectory>
<unpack>false</unpack>
+
<outputFileNameMapping>${module.artifactId}.${module.extension}</outputFileNameMapping>
</binaries>
</moduleSet>
<moduleSet>
@@ -159,11 +169,24 @@
<includeDependencies>false</includeDependencies>
<outputDirectory>lib</outputDirectory>
<unpack>false</unpack>
+
<outputFileNameMapping>${module.artifactId}.${module.extension}</outputFileNameMapping>
</binaries>
</moduleSet>
<moduleSet>
<useAllReactorProjects>true</useAllReactorProjects>
<includes>
+ <include>org.hornetq:jnp-client</include>
+ </includes>
+ <binaries>
+ <includeDependencies>false</includeDependencies>
+ <outputDirectory>lib</outputDirectory>
+ <unpack>false</unpack>
+
<outputFileNameMapping>${module.artifactId}.${module.extension}</outputFileNameMapping>
+ </binaries>
+ </moduleSet>
+ <moduleSet>
+ <useAllReactorProjects>true</useAllReactorProjects>
+ <includes>
<include>org.hornetq:hornetq-examples</include>
</includes> <sources>
<includeModuleDirectory>false</includeModuleDirectory>
@@ -196,6 +219,7 @@
</includes>
<outputDirectory>lib</outputDirectory>
<unpack>false</unpack>
+ <outputFileNameMapping>jboss-jms-api.jar</outputFileNameMapping>
</dependencySet>
<dependencySet>
<includes>
@@ -203,6 +227,7 @@
</includes>
<outputDirectory>lib</outputDirectory>
<unpack>false</unpack>
+ <outputFileNameMapping>jnpserver.jar</outputFileNameMapping>
</dependencySet>
</dependencySets>
<fileSets>