Development

chocolateboy edited this page Sep 6, 2011 · 13 revisions

To build PMSEncoder, you'll need to have Maven 2.x installed. On Debian/Ubuntu, this is provided by the maven2 package.

First of all, download and install the external dependencies (this only needs to be done if you get a "Failed to resolve artifact" error):

    mvn com.savage7.maven.plugins:maven-external-dependency-plugin:resolve-external
    mvn com.savage7.maven.plugins:maven-external-dependency-plugin:install-external

Note: the first command may take several minutes.

Then run the default Maven goal to test:

    mvn

If there are errors/failures, take a look at target/site/surefire-report.html and/or the .txt files in target/surefire-reports.

Use the assembly goal to build the PMSEncoder jar in the targets directory:

    mvn package assembly:single