Goals available for this plugin:
Goal | Description |
---|---|
scons:clean | Executes SCons clean (scons -c) and removes all generated files This mojo is only for plugin completeness. The default maven clean target removes the complete target folder which is sufficient. |
scons:compile | Executes SCons. Running the SConscript file in the sourceDirectory. |
scons:config | Generates a configuration (maven-scons.ini) for SCons with values from the pom. |
scons:init | Creates the main SCons configuration by unpacking resources bundled with this plugin. Reconfigures the builds output and source directory |
scons:package | Creates the Artifact |
scons:test | Run all test programs installed into the test directory. |
scons:test-compile | Compiles all unit tests. |
scons:unpack | Unpack zipped artifacts to make included header and objectfiles available for the build process. Binds to a parallel lifecycle to avoid repeated unpacks. |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.0 |
JDK | Default target for maven-compiler-plugin version 3.1 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>de.gsi.cs.co.maven.plugins</groupId> <artifactId>scons-maven-plugin</artifactId> <version>1.0.10-SNAPSHOT</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>de.gsi.cs.co.maven.plugins</groupId> <artifactId>scons-maven-plugin</artifactId> <version>1.0.10-SNAPSHOT</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"