scons:package

Full name:

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

Description:

Creates the Artifact

Attributes:

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

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.
finalName String - (no description)
Default value is: ${project.build.finalName}.
markersDirectory String - Folder to hold meta information about zip dependencies
Default value is: ${settings.localRepository}/../dep.marker.
outputDirectory File - (no description)
Default value is: ${project.build.directory}.
project MavenProject - The Maven project for plugin access
Default value is: ${project}.
zipSourceDirectory File - (no description)
Default value is: ${project.build.directory}/install.

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.
classifier String - (no description)
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}

classifier:

(no description)
  • Type: java.lang.String
  • Required: No

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

finalName:

(no description)
  • Type: java.lang.String
  • Required: Yes
  • Default: ${project.build.finalName}

markersDirectory:

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

outputDirectory:

(no description)
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.directory}

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

zipSourceDirectory:

(no description)
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.directory}/install