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

Ask Your Question

XAP 12.0.1 Maven dependencies


the library xap-openspaces:12.0.1 has as a compile-time Maven dependencies hsqldb and Mockito. Are either of those actually required in compile-time and/or in run-time?

asked 2017-01-17 03:42:02 -0500

Alexey Serdyuk gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

Hi Alexey,

We are using hsqldb for testing only, so you can delete it. Regarding Mockito - where did you see it?

answered 2017-01-24 02:02:48 -0500

Yuval gravatar image
edit flag offensive delete link more


Hi Yuval,

mvn dependency:tree shows the following (unrelated lines removed for clarity):

[INFO] \- org.gigaspaces:xap-openspaces:jar:12.0.1:compile
[INFO]    \- com.atomikos:transactions-jta:jar:3.8.0:compile
[INFO]       \- org.mockito:mockito-all:jar:1.9.0:compile

I have tested this with the most recent Maven 3.3.9 in a test Maven project which declares a single dependency on xap-openspaces:12.0.1.

regards, Alexey

Alexey Serdyuk gravatar imageAlexey Serdyuk ( 2017-01-24 02:28:40 -0500 )edit

Hi Alexey,

You can delete also the mockito jar dependency. It is also used for testing.

Yuval gravatar imageYuval ( 2017-01-24 02:41:28 -0500 )edit


Regarding hsqldb, I got the following update from R&D:

We DO need HSQL dependency see HsqlServerBean We use this bean in our maven persistent-event-processing template.

Yuval gravatar imageYuval ( 2017-01-24 05:52:19 -0500 )edit

Hello Yuval,

Do we require hsqldb JAR if we are not using HsqlServerBean ?

regards, Alexey

Alexey Serdyuk gravatar imageAlexey Serdyuk ( 2017-01-24 06:19:59 -0500 )edit

You can try exclude it in your pom.xml

Yuval gravatar imageYuval ( 2017-01-24 08:01:32 -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: 2017-01-17 03:42:02 -0500

Seen: 1,748 times

Last updated: Jan 24 '17