-
Notifications
You must be signed in to change notification settings - Fork 34
Compiling
SimpleJPA uses Maven for compilation and packaging. If your not familiar with Maven, you can find out more about it here.
To begin, you need to download the source code. Using git, run the following:
git clone https://github.com/appoxy/simplejpa.git
This will download the current source from the master branch (trunk).
Once you've downloaded the code, you need to first compile the core module.
cd core
mvn compile
This will only compile the sources. If want to create a jar, run the package target.
mvn package
To add the jar to you local repository cache and to begin using it in other projects, run the install target.
mvn install
If you are going to use one of the cache plugins, then you'll need to compile them as well. From the simplejpa folder, first change to plugin directory and run the install target.
cd plugins
mvn install
Thats it! If you run into problems, you can run any of the previous maven commands with -X to provide debug information.
mvn -X <target>
If you've given it a good effort, google'd it, and are still stuck, then send us a message with the output and we'll see if we can help.