Updated Branches: refs/heads/master 10ef5b2df -> c54475ff7
allow building a full pubsub demo client JAR by executing 'mvn assembly:single' Project: http://git-wip-us.apache.org/repos/asf/mina-vysper/repo Commit: http://git-wip-us.apache.org/repos/asf/mina-vysper/commit/c54475ff Tree: http://git-wip-us.apache.org/repos/asf/mina-vysper/tree/c54475ff Diff: http://git-wip-us.apache.org/repos/asf/mina-vysper/diff/c54475ff Branch: refs/heads/master Commit: c54475ff7a0e7d60061d9312d2617e9d80a74c85 Parents: 10ef5b2 Author: Bernd Fondermann <[email protected]> Authored: Tue Jul 23 10:06:55 2013 +0200 Committer: Bernd Fondermann <[email protected]> Committed: Tue Jul 23 10:06:55 2013 +0200 ---------------------------------------------------------------------- examples/pubsub-client/pom.xml | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mina-vysper/blob/c54475ff/examples/pubsub-client/pom.xml ---------------------------------------------------------------------- diff --git a/examples/pubsub-client/pom.xml b/examples/pubsub-client/pom.xml index c57c09d..7936baf 100644 --- a/examples/pubsub-client/pom.xml +++ b/examples/pubsub-client/pom.xml @@ -24,11 +24,11 @@ <version>0.8-SNAPSHOT</version> </parent> - <groupId>org.apache.vysper.examples</groupId> <artifactId>vysper-pubsub-demo</artifactId> <name>Apache Vysper Publish-Subscribe demo</name> <version>0.8-SNAPSHOT</version> - + <packaging>jar</packaging> + <dependencies> <dependency> <groupId>jivesoftware</groupId> @@ -62,6 +62,33 @@ </archive> </configuration> </plugin> + <plugin> + <!-- execute with 'mvn assembly:single' --> + <artifactId>maven-assembly-plugin</artifactId> + <configuration> + <descriptorRefs> + <descriptorRef>jar-with-dependencies</descriptorRef> + </descriptorRefs> + <archive> + <manifest> + <mainClass>org.apache.vysper.demo.pubsub.client.PubsubClientGUI</mainClass> + </manifest> + </archive> + <finalName>pubsub-client-full</finalName> + <appendAssemblyId>true</appendAssemblyId> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <!-- this is used for inheritance merges --> + <phase>package</phase> + <!-- bind to the packaging phase --> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </pluginManagement> </build>
