Building from source code

Getting JSPWiki Source Code#

JSPWiki source code is maintained using Git.

Checkout the code using:

git clone http://github.com/apache/jspwiki.git jspwiki
Change http to https if you are a developer intending to git push. You can check Getting started with Git at the ASF for further information. Also, as it is hosted on GitHub, you can also fork and send your PRs from there.

In order to be able to commit on the github repos, the following steps must be taken:

Current repositories#

ASF git copies are on gitbox, like https://gitbox.apache.org/repos/asf/jspwiki.git.

There's also an SVN PMC-only private repo at https://svn.apache.org/repos/private/pmc/jspwiki/ to store JSPWiki project admin related stuff.

Building JSPWiki#

Apache JSPWiki is a Maven-based project and builds using the same commands as other Maven projects. The JSPWiki team maintains a cheat sheet of common Maven tasks for this project. Current release can be reached through the downloads page.

Whole Apache JSPWiki builds with at least mvn clean package. Tests can be skipped (although not recommended) using the -DskipTests flag, i.e.: mvn clean package -DskipTests, not with -Dmaven.test.skip. Common problems when building JSPWiki goes into details of why these specifics are needed.

Coding standards#

Commits#