Author: veithen Date: Sun Dec 5 11:46:48 2010 New Revision: 1042320 URL: http://svn.apache.org/viewvc?rev=1042320&view=rev Log: Use maven-shade-plugin to produce the sandesha2-client-constants JAR. This has the advantage that the resulting Maven artifact no longer has a dependency on sandesha2-core (from which sandesha2-client-constants is extracted). This is because maven-shade-plugin produces a dependency reduced JAR.
Modified: axis/axis2/java/sandesha/trunk/modules/client/pom.xml Modified: axis/axis2/java/sandesha/trunk/modules/client/pom.xml URL: http://svn.apache.org/viewvc/axis/axis2/java/sandesha/trunk/modules/client/pom.xml?rev=1042320&r1=1042319&r2=1042320&view=diff ============================================================================== --- axis/axis2/java/sandesha/trunk/modules/client/pom.xml (original) +++ axis/axis2/java/sandesha/trunk/modules/client/pom.xml Sun Dec 5 11:46:48 2010 @@ -34,36 +34,33 @@ <name>Sandesha2 - Client</name> <build> - <sourceDirectory>src/main/java</sourceDirectory> - <testSourceDirectory>src/main/java</testSourceDirectory> - <resources> - <resource> - <directory>src/main/resources</directory> - </resource> - </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> + <artifactId>maven-shade-plugin</artifactId> + <version>1.4</version> <executions> <execution> - <id>unpack</id> - <phase>process-resources</phase> + <phase>package</phase> <goals> - <goal>unpack</goal> + <goal>shade</goal> </goals> <configuration> - <artifactItems> - <artifactItem> - <groupId>org.apache.sandesha2</groupId> - <artifactId>sandesha2-core</artifactId> - <version>${project.version}</version> - <type>jar</type> - <overWrite>true</overWrite> - <outputDirectory>${project.build.directory}/classes/</outputDirectory> - <includes>org/apache/sandesha2/client/SandeshaClientConstants.class,org/apache/sandesha2/client/SandeshaListener.class,org/apache/sandesha2/client/SequenceReport.class</includes> - </artifactItem> - </artifactItems> + <artifactSet> + <includes> + <include>org.apache.sandesha2:sandesha2-core</include> + </includes> + </artifactSet> + <filters> + <filter> + <artifact>org.apache.sandesha2:sandesha2-core</artifact> + <includes> + <include>org/apache/sandesha2/client/SandeshaClientConstants.class</include> + <include>org/apache/sandesha2/client/SandeshaListener.class</include> + <include>org/apache/sandesha2/client/SequenceReport.class</include> + </includes> + </filter> + </filters> </configuration> </execution> </executions>