dev@glassfish.java.net

V3 How to get gf:run to work

From: Stefan Arentz <stefan.arentz_at_norad.org>
Date: Fri, 11 May 2007 19:03:32 +0200

I'm hacking on a new deployer for V3. My project is completely
standalone, I build it outside of the Glassfish build root. Packaging
works fine, I end up with a correct HK2 module jar with a good
looking manifest. But then when I try to run Glassfish through 'mvn
gf:run' I get the following error:

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'gf'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-gf-plugin' does not
exist or no valid version could be found

I'm not a Maven guru and I'm not sure what to do now :-)

I know that just booting glassfish is not going to do anything with
my new module, but I thought it was a good first step. The second
question is of course, how do I actually let Glassfish know that I
have this new deployer available? :)

  S.