Plugin Documentation

Goals available for this plugin:

GoalDescription
scons:cleanExecutes 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:compileExecutes SCons. Running the SConscript file in the sourceDirectory.
scons:configGenerates a configuration (maven-scons.ini) for SCons with values from the pom.
scons:initCreates the main SCons configuration by unpacking resources bundled with this plugin. Reconfigures the builds output and source directory
scons:packageCreates the Artifact
scons:testRun all test programs installed into the test directory.
scons:test-compileCompiles all unit tests.
scons:unpackUnpack zipped artifacts to make included header and objectfiles available for the build process. Binds to a parallel lifecycle to avoid repeated unpacks.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven2.0
JDKDefault target for maven-compiler-plugin version 3.1
MemoryNo minimum requirement.
Disk SpaceNo minimum requirement.

Usage

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"