Usage

SweatSuite simply adds configuration information to the Maven 2 Project Object Model (POM). Once it is set up, use Maven as usual to perform builds, deploy artifacts, run reports and build and deploy the project web site. It is configured by declaring the sweatsuite artifact or one of it's children as the parent project:

<project>
        <modelVersion>4.0.0</modelVersion>
        ...
        <parent>
                <groupId>net.sf.sweatsuite</groupId>
                <artifactId>sweatsuite</artifactId>
                <version>1.0-SNAPSHOT</version>
        </parent>
        ...
</project>

Configuration Options

Standalone

SweatSuite may be used by a standalone project to add test and code quality reporting to any Java-based project that uses Maven 2.

SourceForge

There is a specialized POM to make configuring projects that use SourceForge.net even easier. If your project is hosted on SourceForge, these instructions will help you get started.

Local Services

Projects may be supported by a local development environment based on an Apache2 web server. Use these instructions to configure local services.

Using Reports

Projects that inherit from the sweatsuite project object model gain a reporting profile that runs a number of code quality reports on the project. The default configuration can be used simply by activating that profile, or reporting can be configured to match project preferences.

Generating the Site

Projects can use the default Maven site configuration, or use a custom project site.