-
• Download Clownfish binary file and extract it into a local directory:
-
• Download Glassfish v2:
-
• Run the following from the command line:
mvn install:install-file
-DgroupId=net.sourceforge.clownfish.mojo.glassfish
-DartifactId=clownfish-maven-plugin
-Dversion=0.1.1-SNAPSHOT
-Dpackaging=maven-plugin
-Dfile=<path>/clownfish-maven-plugin-0.1.1-SNAPSHOT.jar
-DpomFile=<path>/pom.xml
(where <path> points to extracted Clownfish directory)
mvn install:install-file -DgroupId=glassfish
-DartifactId=appserv-deployment-client
-Dversion=2 -Dpackaging=jar
-Dfile=<glassfish-home>/lib/appserv-deployment-client.jar
mvn install:install-file -DgroupId=glassfish
-DartifactId=appserv-rt
-Dversion=2 -Dpackaging=jar
-Dfile=<glassfish-home>/lib/appserv-rt.jar
mvn install:install-file -DgroupId=glassfish
-DartifactId=appserv-ext
-Dversion=2 -Dpackaging=jar
-Dfile=<glassfish-home>/lib/appserv-ext.jar
mvn install:install-file -DgroupId=glassfish
-DartifactId=jmxremote_optional
-Dversion=2 -Dpackaging=jar
-Dfile=<glassfish-home>/lib/jmxremote_optional.jar
mvn install:install-file -DgroupId=javaee
-DartifactId=javaee-api
-Dversion=5 -Dpackaging=jar
-Dfile=<glassfish-home>/lib/javaee.jar