users@glassfish.java.net

Re: Versions of maven-embedded-glassfish-plugin

From: Sahoo <sanjeeb.sahoo_at_oracle.com>
Date: Thu, 03 Feb 2011 09:32:03 +0530

Laird,

To add to what Bhavani said, maven-embedded-glassfish-plugin is no
longer bound to a fixed version of glassfish. User can override what
version of glassfish they want to use by configuring the plugin
dependency appropriately. With this approach, one will be able to use
the plugin against GlassFish jar installed in user's local system as
well. In the absence of such any such plugin configuration, the plugin
falls back to a pre-decided version of glassfish embedded jar.

Sahoo

On Wednesday 02 February 2011 11:12 PM, Bhavanishankar wrote:
> Current stable version of embedded maven plugin is 3.1-b04. It points
> to glassfish-embedded-all:3.1-b38
>
> You can always point to a different version of glassfish-embedded-all
> by specifying it in the embedded plugin's dependencies section. Please
> refer this pom.xml
> <http://java.net/projects/glassfish/sources/svn/content/trunk/v3/tests/embedded/maven-plugin/init/pom.xml?rev=44826>
>
> _Bhavani.
>
> On 02/02/2011 09:59 PM, Laird Nelson wrote:
>> I'm looking at
>> http://download.java.net/maven/glassfish/org/glassfish/maven-embedded-glassfish-plugin/
>> and I see that for a while this plugin was maintained and then...it
>> drops off...and comes back?
>>
>> If I'm using b39 of embedded glassfish (glassfish-embedded-all), then
>> what build should I use of the plugin? Why isn't the plugin
>> versioned alongside the glassfish-embedded-all artifact?
>>
>> Thanks,
>> Laird