Ounce/Maven goals
Ounce/Maven provides the following goals to perform AppScan® Source functions:
ounce:application
: Generates an AppScan Source application file that contains references to all child projects as defined by the pom file. An application is required for scanning (and therefore reporting).ounce:project
: Creates one or more AppScan Source project files depending on the number of Maven child projects. Theounce:project
goal is intended to run from the command line and incorporates the Maven build into the goal.ounce:project-only
: Creates one or more AppScan Source project files depending on the number of Maven child projects. Theounce:project-only
goal is provided to integrate the creation of AppScan Source project files into the Maven build life cycle.ounce:scan
: Scans an application. You can optionally publish the assessment or generate a report. Run theounce:scan
goal from the command line.ounce:report
: Generates an AppScan Source report. If needed to refresh results, execute a scan before generating the report. Run theounce:report
goal from the command line.
Note:
- To make your application and project files portable, create path variables to map file paths to their locations.
- For examples of how to use Ounce/Maven goals, see the Ounce/Maven site documentation at http://mojo.codehaus.org/ounce-maven-plugin/.