GlassFish Server 3.1.2.2 Maven Coordinates
Posted
by arungupta
on Oracle Blogs
See other posts from Oracle Blogs
or by arungupta
Published on Thu, 30 Aug 2012 00:29:12 +0000
Indexed on
2012/08/30
3:44 UTC
Read the original article
Hit count: 374
/GlassFish
GlassFish Server 3.1.2.2 was released a few weeks ago. This micro release fixed a couple of important bugfixes - one in JAX-WS (JAX-WS-1059) and another one related to JK listener with Apache + mod_ajp_proxy (GLASSFISH-18446). This release is already integrated in NetBeans 7.2 and you can download separately from here.
Maven coordinates for this build are now also described on the download page. The following fragment in your pom.xml will allow you to invoke embedded-glassfish:run, embedded-glassfish:deploy, and other similar commands.
<groupId>org.glassfish.embedded</groupId>
</dependency>
GlassFish Embedded Server Guide provide more details about setup etc.
Similarly full platform or Web profile implementation of GlassFish can be included as a single JAR using
<dependency>
<groupId>org.glassfish.main.extras</groupId>
<artifactId>glassfish-embedded-web</artifactId>
<version>3.1.2.2</version>
</dependency>
Of course, you need to replace "glassfish-embedded-web" with "glassfish-embedded-all" to get complete platform.
The download page provide more details different bundles and complete maven coordinates. Or you can get started with the simple zip bundle as well.
© Oracle Blogs or respective owner