scons:config

Full name:

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

Description:

Generates a configuration (maven-scons.ini) for SCons with values from the pom.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • The goal is thread-safe and supports parallel builds.
  • Binds by default to the lifecycle phase: generate-sources.

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.
localRepository ArtifactRepository - (no description)
Default value is: ${localRepository}.
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

localRepository:

(no description)
  • Type: org.apache.maven.artifact.repository.ArtifactRepository
  • Required: No
  • Default: ${localRepository}

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