Hello Tim
This is very useful for a project we are working on ! Thank you for
contributing. May be we can link it off of globus website..
On Mar 20, 2008, at 7:15 AM, Tim München wrote:
Hi list,
I wrote a maven2 plugin encapsulating the gt4 build ant-scripts also
used by
the globus-build-tool.sh / build.xml. By installing this plugin,
writing a
specific .pom file and organizing the project in a specific (maven-
default)
directory structure, one can build and package a .gar-file with just
one
command: mvn package.
The source for the plugin can be downloaded here:
https://sourceforge.net/projects/mavengt4plugin
After downloading, just extract the archive and run "mvn install" to
make the
plugin available. Then, set the packaging type of your project's pom
to "gar"
and add the following snippets:
...
<plugins>
<plugin>
<groupId>de.fh_muenster.lab4inf.maven.plugins</groupId>
<artifactId>maven-gt4-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<serviceName> ...name for the service...
</serviceName>
<servicePackage> ...package of the service impl... </
servicePackage>
<instanceInterface> ...instance interface name... </
instanceInterface>
<factoryInterface> ...optional: factory interface... </
factoryInterface>
</configuration>
</plugin>
</plugins>
...
...
<dependencies>
<dependency>
<groupId>de.fh_muenster.lab4inf.maven.plugins</groupId>
<artifactId>maven-gt4-plugin</artifactId>
<version>0.1-SNAPSHOT</version>
</dependency>
</dependencies>
...
There's also an example GridService project using the maven-gt4-plugin
available.
If you're interested, I'd love to hear from you after you tried the
plugin.
Tell me what I could change/improve, or any other comment is
appreciated.
--
from the desk of
Tim München M.Sc.
University of Applied Sciences, Muenster, Germany
Department of Electrical Engineering and Computer Sciences
--
Ravi K Madduri
The Globus Alliance | Argonne National Laboratory | University of
Chicago
http://www-unix.mcs.anl.gov/~madduri