This page is for building the PSL source code for the purposes of development.
To get the code, simply clone the repository:
git clone https://github.com/linqs/psl.git
If you plan on committing code or need the absolute latest, you may want to use the development repository:
git clone https://github.com/eriq-augustine/psl.git
If you are already comfortable using Git, then you can just skip ahead to the section on compiling PSL.
Getting started with Git
The Git website has information on installing Git, as does the GitHub guides mentioned below. This tutorial is helpful for learning how to use Git, and this tutorial is particularly helpful for SVN users.
Once Git is installed and you’re ready to use it, you can run the above command to clone the PSL repository.
Checking out the development branch
Between releases, the develop branch may be significantly ahead of the master branch. To see the latest changes, checkout the develop branch.
git checkout develop
Then you clone that repository to a local machine, make commits, and push some or all of those commits back to the repository on GitHub. When your change is ready to be added to PSL, you can submit a pull request which will be reviewed by the PSL maintainers. The maintainers may request that you make additional changes. After your code is deemed acceptable, it will get merged into the develop branch of PSL.
PSL uses the maven build system. Move to the top-level directory of your working copy and run:
You can install PSL to your local Maven repository by running:
Updating your pom
Remember to update your project’s
pom.xml file with the (possibly) new version you installed.