Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

maven and gigaspaces

is there a way to make dependency managment for gigaspaces via maven? all my tries failed because it seems that gigaspaces dependency is envlove with folder structure and configurations files.


{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=1890]{quote}

asked 2008-05-04 06:37:04 -0500

sabag2's avatar

updated 2013-08-08 09:52:00 -0500

jaissefsfex's avatar
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

Hi Avi,

We're about to release in few days M11. It will have built in support for Maven.

Stay tuned ;)


answered 2008-05-04 08:08:21 -0500

nirpaz's avatar
edit flag offensive delete link more


m11, our last pre-rc release is out.

We have a nice maven integration and openspaces plugin as part of it. You can download it from: http://www.gigaspaces.com/wiki/displa...

Take a look at the new tools/maven directory for it. The steps are:

  1. run the installmavenrep script which will install XAP into your maven repository
  2. You can than experiment with the various openspace plugin integrations.
    • mvn os:create - creates a multi-module project, similar to the data example
    • mvn compile os:run - runs the entire application
    • mvn os:package - builds the necessary jars ready to be deployed on the service grid
    • mvn os:deploy/undeploy - deploys and undeploys the project into the service grid

Obviously you can use the famour mvn eclipse:eclipse to create the necessary eclipse support

We're looking for feedback, so please feel free to post any.

Cheers, Guy

nirpaz's avatar nirpaz  ( 2008-05-08 15:56:30 -0500 )edit

hi, i'm having a problem installing the installmavenrep.bat i get this error: JAVA_HOME environment variable is set to C:\Program Files\Java\jdk1.6.0_05 in "< GigaSpaces Root>\bin\setenv.bat" Files\Java\jdk1.6.0_05\bin\java" -cp C:\GigaSpaces\bin\..\lib\JSpaces.jar com.g igaspaces.util.OutputJVMVendorName" was unexpected at this time.

then trying using the maven in command line with your plugin and it didn't recognize it.

are you familier with this installation problem? Avi.

sabag2's avatar sabag2  ( 2008-05-14 07:00:04 -0500 )edit

Is this just for Maven 2.* or does this also work against maven 1.*?

mcnoche's avatar mcnoche  ( 2008-05-14 10:24:03 -0500 )edit

its seems like this error message comes from the setenv.bat.
is this information is helpful?

sabag2's avatar sabag2  ( 2008-05-15 07:43:04 -0500 )edit
shay hassidim's avatar shay hassidim  ( 2008-05-15 12:12:48 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2008-05-04 06:37:04 -0500

Seen: 79 times

Last updated: May 04 '08