emmanuelbernard / hibernate-core-ogm

Hibernate extension for Object Grid Mapper
http://hibernate.org
11 stars 4 forks source link

How to build

Starting with development of version 4.0, Hibernate uses Gradle (http://gradle.org) as its build tool.

This README describes some of the basics developers and contributors new to Gradle need to know to get productive quickly.

Resources

To start with - here is a list of resources to obtain more information about Gradle:

Here is the link of how to set up ~/.m2/settings.xml to use JBoss Nexus repo.

Executing Tasks Across All Modules

To execute a task across all modules, simply perform that task from the root directory. Gradle will visit each subproject and execute that task if the subproject defines it.

Executing Tasks In Specific Module

To execute a task in a specific module you can either:

  1. cd into that module directory and execute the task
  2. name the "task path". For example, in order to run the tests for the hibernate-core module from the root directory you could say gradle hibernate-core:test

Common Java-module tasks