announce@maven-glassfish-plugin.java.net

maven-glassfish-plugin 2.0 released

From: Dave Whitla <dave.whitla_at_ocean.net.au>
Date: Fri, 4 Jul 2008 00:13:06 +1000

The next iteration of the maven-glassfish-plugin has been released.
This is practically a complete rewrite to include all the code from
what had previously been an internal project at ocean.net.au.
To reflect the major changes the major version number has been
incremented to 2.
The groupId has also changed to unflatten the org.glassfish maven
namespace a little.

So to make use of the new plugin in your project you will need to
include the following plugin element in your build:

<plugin>
     <groupId>org.glassfish.maven.plugin</groupId>
     <artifactId>maven-glassfish-plugin</artifactId>
     <version>2.0</version>
</plugin>

Naturally you will also need:

<pluginRepositories>
     ...
     <pluginRepository>
         <id>maven.java.net</id>
         <name>Java.net Maven2 Repository</name>
         <url>http://download.java.net/maven/2</url>
     </pluginRepository>
     ...
</pluginRepositories>

The new plugin operates very differently to version 1 so I recommend
you consult the documentation at maven-glassfish-plugin.dev.java.net
before changing your POM.

The new plugin introduces several new features. It does not, however,
address every imaginable interaction with Glassfish from the Maven
build lifecycle, so please start submitting bugs and feature requests
via our JIRA issue tracker so we can get on with user-driven
improvements and fixes.

Enjoy :)


Dave