activemq-artemis/distribution/jnp-client/pom.xml

76 lines
2.6 KiB
XML

<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.apache.activemq</groupId>
<artifactId>activemq-distribution</artifactId>
<version>6.0.0-SNAPSHOT</version>
</parent>
<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</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>
<includes>
<include>org.jboss.naming:jnpserver</include>
<artifact>org.jboss.logging:jboss-logging</artifact>
</includes>
</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</artifact>
<includes>
<include>org/jboss/logging/**/*.class</include>
</includes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>