Index: src/main/java/com/sun/grizzly/samples/comet/Main.java =================================================================== --- src/main/java/com/sun/grizzly/samples/comet/Main.java (revision 0) +++ src/main/java/com/sun/grizzly/samples/comet/Main.java (revision 0) @@ -0,0 +1,10 @@ +package com.sun.grizzly.samples.comet; + +import com.sun.grizzly.standalone.cometd.Cometd; + +public class Main { + + public static void main(String[] args) throws Exception { + Cometd.main(args); + } +} Index: pom.xml =================================================================== --- pom.xml (revision 2169) +++ pom.xml (working copy) @@ -1,17 +1,18 @@ - - - com.sun.grizzly - grizzly-project - 1.9.4-SNAPSHOT - ../../../pom.xml - + + + com.sun.grizzly + grizzly-project + 1.9.4-SNAPSHOT + ../../../pom.xml + 4.0.0 com.sun.grizzly.samples grizzly-comet-chat war - ${grizzly-version} + 1.9.4-SNAPSHOT grizzly-comet-chat http://maven.apache.org @@ -24,9 +25,14 @@ com.sun.grizzly grizzly-comet - ${grizzly-version} - provided + 1.9.4-SNAPSHOT + provided + + com.sun.grizzly + grizzly-cometd-webserver + 1.9.4-SNAPSHOT + grizzly-comet-chat @@ -41,4 +47,76 @@ + + + + build-archetype + + + + + + maven-archetype-plugin + + + + create-archetype + generate-sources + + create-from-project + + + true + false + true + + + + + package-archetype + + jar + + + target/generated-sources/archetype + target + + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.1 + + + + install + + exec + + + mvn + target/generated-sources/archetype + + + install + + + + + + + + + + + + + maven2.java.net + Java.net Repository for Maven 2 + http://download.java.net/maven/2 + +