Re: Installing a File From a Plugin

2006-09-19 Thread Shinobu Kawai

Hi Bob,


I am working with a plugin which connects Maven to a third-party tool
kit (GWT) that the user must download separately.  I would like to write
a Mojo that takes the directory where the kit was installed and the
version of the kit and installs the required jars into the Maven
repository (or maybe deploys to a corporate one).  The basic operation
of the Mojo would be as a script which does mvn install:install-file
on the jars in the installation directory when the user enters the
command mvn gwt:install.  Anybody have a good idea or two on how to
accomplish this task?


1) Extend the install:file-install mojo, with GWT specific stuff.
2) Add the install mojo as a dependency, and create the mojo from the
gwt:install mojo with the GWT specific stuff and execute it.
3) Any other ideas?

Best regards,
-- Shinobu

--
Shinobu Kawai [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Installing a File From a Plugin

2006-09-16 Thread Allison, Bob
I am working with a plugin which connects Maven to a third-party tool
kit (GWT) that the user must download separately.  I would like to write
a Mojo that takes the directory where the kit was installed and the
version of the kit and installs the required jars into the Maven
repository (or maybe deploys to a corporate one).  The basic operation
of the Mojo would be as a script which does mvn install:install-file
on the jars in the installation directory when the user enters the
command mvn gwt:install.  Anybody have a good idea or two on how to
accomplish this task?


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]