scons:init

Full name:

de.gsi.cs.co.maven.plugins:scons-maven-plugin:1.0.10-SNAPSHOT:init

Description:

Creates the main SCons configuration by unpacking resources bundled with this plugin. Reconfigures the builds output and source directory

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Binds by default to the lifecycle phase: init.

Required Parameters

Name Type Since Description
alwaysExpandSnapshots boolean - Enforce expansion of snapshots. This slows down the build process and only helps in rare cases where a clock drift between multiple machines exists and a very fast snapshot release cycle happens.
Default value is: false.
expandedArtifactDirectory String - Folder to hold unpacked zip dependencies
Default value is: ${settings.localRepository}/../dep.
failOnMissingFolder boolean - Fail build if an expanded artifact contains no folders
Default value is: true.
markersDirectory String - Folder to hold meta information about zip dependencies
Default value is: ${settings.localRepository}/../dep.marker.
project MavenProject - The Maven project for plugin access
Default value is: ${project}.

Optional Parameters

Name Type Since Description
buildSourceDirectory String - Injection of mavens build source directory. Do not configure
Default value is: ${project.build.sourceDirectory}.
User property is: project.build.sourceDirectory.
outputDirectory String - Directory to use in SCons env.Install builders. Prepare for nasty effects if you modify it. For example assembly descriptors of the opkg-maven-plugin will break.
Default value is: ${project.build.directory}/install.
quiet boolean - Suppress SCons compile messages.
sconsThreads int - Parallel build threads in SCons. This is in addtion to mavens -T parallels.
Default value is: 1.
User property is: scons.threads.
sourceDirectory String - Sourcecode folder containing the SConscript file. You can specify this using property scons.sourceDirectory or in the plugin configuration/sourceDirectory. If you leave this blank mavens build.sourceDirectory will be used but trailing java will be replaced by native in the end the default is /src/main/native resolution order plugin configuration, property, build
User property is: scons.sourceDirectory.
targetArch String - The target architecture (amd64, i386, ppc). for i386 a few cflags are set for ppc a powerpc cross compiler is searched
Default value is: undefined.
User property is: scons.arch.

Parameter Details

alwaysExpandSnapshots:

Enforce expansion of snapshots. This slows down the build process and only helps in rare cases where a clock drift between multiple machines exists and a very fast snapshot release cycle happens.
  • Type: boolean
  • Required: Yes
  • Default: false

buildSourceDirectory:

Injection of mavens build source directory. Do not configure
  • Type: java.lang.String
  • Required: No
  • User Property: project.build.sourceDirectory
  • Default: ${project.build.sourceDirectory}

expandedArtifactDirectory:

Folder to hold unpacked zip dependencies
  • Type: java.lang.String
  • Required: Yes
  • Default: ${settings.localRepository}/../dep

failOnMissingFolder:

Fail build if an expanded artifact contains no folders
  • Type: boolean
  • Required: Yes
  • Default: true

markersDirectory:

Folder to hold meta information about zip dependencies
  • Type: java.lang.String
  • Required: Yes
  • Default: ${settings.localRepository}/../dep.marker

outputDirectory:

Directory to use in SCons env.Install builders. Prepare for nasty effects if you modify it. For example assembly descriptors of the opkg-maven-plugin will break.
  • Type: java.lang.String
  • Required: No
  • Default: ${project.build.directory}/install

project:

The Maven project for plugin access
  • Type: org.apache.maven.project.MavenProject
  • Required: Yes
  • Default: ${project}

quiet:

Suppress SCons compile messages.
  • Type: boolean
  • Required: No

sconsThreads:

Parallel build threads in SCons. This is in addtion to mavens -T parallels.
  • Type: int
  • Required: No
  • User Property: scons.threads
  • Default: 1

sourceDirectory:

Sourcecode folder containing the SConscript file. You can specify this using property scons.sourceDirectory or in the plugin configuration/sourceDirectory. If you leave this blank mavens build.sourceDirectory will be used but trailing java will be replaced by native in the end the default is /src/main/native resolution order plugin configuration, property, build
  • Type: java.lang.String
  • Required: No
  • User Property: scons.sourceDirectory

targetArch:

The target architecture (amd64, i386, ppc). for i386 a few cflags are set for ppc a powerpc cross compiler is searched
  • Type: java.lang.String
  • Required: No
  • User Property: scons.arch
  • Default: undefined