Add the following into your pom.xml:
<project>
...
<build>
...
<plugins>
<plugin>
<groupId>net.sourceforge.clownfish.mojo.glassfish</groupId>
<artifactId>clownfish-maven-plugin</artifactId>
<version>0.1.1-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>glassfish</groupId>
<artifactId>appserv-deployment-client</artifactId>
<version>2</version>
</dependency>
<dependency>
<groupId>glassfish</groupId>
<artifactId>appserv-rt</artifactId>
<version>2</version>
</dependency>
<dependency>
<groupId>glassfish</groupId>
<artifactId>appserv-ext</artifactId>
<version>2</version>
</dependency>
<dependency>
<groupId>glassfish</groupId>
<artifactId>jmxremote_optional</artifactId>
<version>2</version>
</dependency>
<dependency>
<groupId>javaee</groupId>
<artifactId>javaee-api</artifactId>
<version>5</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
...
</project>