Bug #52011 Compiling ClusterJ w/ Maven not documented
Submitted: 12 Mar 2010 19:33 Modified: 8 Nov 2013 12:09
Reporter: Todd Farmer (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster/J Severity:S3 (Non-critical)
Version:ndb-7.1+ OS:Any
Assigned to: Jon Stephens CPU Architecture:Any

[12 Mar 2010 19:33] Todd Farmer
Description:
Our documentation indicates that Cluster/J may be compiled using Maven, but provides no details on how to do so successfully:

http://dev.mysql.com/doc/ndbapi/en/mccj-overview-architecture.html

"MySQL Cluster Connector for Java is included with MySQL Cluster source and binary releases beginning with MySQL Cluster NDB 7.1.1. Building MySQL Cluster Connector for Java from source can be done as part of building MySQL Cluster; however, it can also be built with Maven."

How to repeat:
See above.

Suggested fix:
Please provide instructions on compiling Cluster/J.
[16 Mar 2010 21:11] Jon Stephens
Corrected category/lead.
[12 Apr 2010 15:19] Jon Stephens
Updated synopsis, set P4 since use of Maven for this purpose is optional.
[13 Jul 2010 2:51] Jon Stephens
Hi Craig,

Please supply requested info here, then assign bug back to me.

Thanks!
[7 Nov 2013 1:56] Craig Russell
Posted by developer:
 
I suggest we update http://dev.mysql.com/doc/ndbapi/en/mccj-getting.html#mccj-getting-build-install with information on setting up the developer's build environment to use maven.

The basic information:

> cd <mysql-source-release>/storage/ndb/clusterj
> mvn install

This will result in clusterj including clusterj-jpa being built and the jar files being installed in the user's local repository.
[8 Nov 2013 12:09] Jon Stephens
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products.

Fixed in mysqldoc rev 36639. Closed.