Fork me on GitHub

scalor:scala-native-pack-main

Full name:

com.carrotgarden.maven:scalor-maven-plugin_2.12:1.5.0.20190502181145:scala-native-pack-main

Description:

Package Scala.native runtime artifact for scope=main. A member of goal=scala-native-pack.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • Binds by default to the lifecycle phase: package.

Optional Parameters

Name Type Since Description
<nativeArchiveConfig> MavenArchiveConfiguration - Configuration of Scala.native archive jar. Normally used with provided default values. Component reference: MavenArchiveConfiguration
<nativeFinalName> String - Root name for the generated Scala.native jar file. Full name will include classifier suffix.
Default value is: ${project.build.finalName}.
User property is: scalor.nativeFinalName.
<nativeLibraryDetect> boolean - Invoke Scala.native linker only when Scala.native library is detected in project dependencies with given scope. Detection parameter: nativeScalaLibRegex.
Default value is: true.
User property is: scalor.nativeLibraryDetect.
<nativeMainAttach> boolean - Enable to attach generated Scala.native jar to the project as deployment artifact with scope=main.
Default value is: true.
User property is: scalor.nativeMainAttach.
<nativeMainClassifier> String - Artifact classifier for Scala.native with scope=main. Appended to nativeFinalName.
Default value is: native.
User property is: scalor.nativeMainClassifier.
<nativeMainOutputFolder> File - Folder with generated Scala.native content with scope=main.
Default value is: ${project.build.directory}/scalor/native/output/main.
User property is: scalor.nativeMainOutputFolder.
<nativeNativeLibRegex> String - Regular expression used to discover Scala.native interop C/CPP library from class path. This library normally comes as dependency to scalalib, see nativeScalaLibRegex. This regular expression is matched against resolved project depenencies in given scope. Regular expression in the form: ${groupId}:${artifactId}.
Default value is: org.scala-native:nativelib_.+.
User property is: scalor.nativeNativeLibRegex.
<nativeScalaLibRegex> String - Regular expression used to discover Scala.native core *.nir library from class path. This regular expression is matched against resolved project depenencies in given scope. Regular expression in the form: ${groupId}:${artifactId}. Enablement parameter: nativeLibraryDetect.
Default value is: org.scala-native:scalalib_.+.
User property is: scalor.nativeScalaLibRegex.
<nativeSystemDetect> boolean - Detect operating system and invoke native goals only when running on supported o/s. When false, force native goals invocation.
Default value is: true.
User property is: scalor.nativeSystemDetect.
<skip> boolean - Force to skip all executions of this plugin.
Default value is: false.
User property is: scalor.skip.
<skipLogReason> boolean - Enable logging of reason for skipping an execution.
Default value is: true.
User property is: scalor.skipLogReason.
<skipNativePack> boolean - Flag to skip this execution: scala-native-pack-*.
Default value is: false.
User property is: scalor.skipNativePack.
<skipNativePackMain> boolean - Flag to skip this goal execution: scala-native-pack-main.
Default value is: false.
User property is: scalor.skipNativePackMain.
<skipPackagingList> String[] - List of packaging types, which are skipped by this plugin.
Default value is: pom.
User property is: scalor.skipPackagingList.

Parameter Details

<nativeArchiveConfig>

Configuration of Scala.native archive jar. Normally used with provided default values. Component reference: MavenArchiveConfiguration
  • Type: org.apache.maven.archiver.MavenArchiveConfiguration
  • Required: No

<nativeFinalName>

Root name for the generated Scala.native jar file. Full name will include classifier suffix.
  • Type: java.lang.String
  • Required: No
  • User Property: scalor.nativeFinalName
  • Default: ${project.build.finalName}

<nativeLibraryDetect>

Invoke Scala.native linker only when Scala.native library is detected in project dependencies with given scope. Detection parameter: nativeScalaLibRegex.
  • Type: boolean
  • Required: No
  • User Property: scalor.nativeLibraryDetect
  • Default: true

<nativeMainAttach>

Enable to attach generated Scala.native jar to the project as deployment artifact with scope=main.
  • Type: boolean
  • Required: No
  • User Property: scalor.nativeMainAttach
  • Default: true

<nativeMainClassifier>

Artifact classifier for Scala.native with scope=main. Appended to nativeFinalName.
  • Type: java.lang.String
  • Required: No
  • User Property: scalor.nativeMainClassifier
  • Default: native

<nativeMainOutputFolder>

Folder with generated Scala.native content with scope=main.
  • Type: java.io.File
  • Required: No
  • User Property: scalor.nativeMainOutputFolder
  • Default: ${project.build.directory}/scalor/native/output/main

<nativeNativeLibRegex>

Regular expression used to discover Scala.native interop C/CPP library from class path. This library normally comes as dependency to scalalib, see nativeScalaLibRegex. This regular expression is matched against resolved project depenencies in given scope. Regular expression in the form: ${groupId}:${artifactId}.
  • Type: java.lang.String
  • Required: No
  • User Property: scalor.nativeNativeLibRegex
  • Default: org.scala-native:nativelib_.+

<nativeScalaLibRegex>

Regular expression used to discover Scala.native core *.nir library from class path. This regular expression is matched against resolved project depenencies in given scope. Regular expression in the form: ${groupId}:${artifactId}. Enablement parameter: nativeLibraryDetect.
  • Type: java.lang.String
  • Required: No
  • User Property: scalor.nativeScalaLibRegex
  • Default: org.scala-native:scalalib_.+

<nativeSystemDetect>

Detect operating system and invoke native goals only when running on supported o/s. When false, force native goals invocation.
  • Type: boolean
  • Required: No
  • User Property: scalor.nativeSystemDetect
  • Default: true

<skip>

Force to skip all executions of this plugin.
  • Type: boolean
  • Required: No
  • User Property: scalor.skip
  • Default: false

<skipLogReason>

Enable logging of reason for skipping an execution.
  • Type: boolean
  • Required: No
  • User Property: scalor.skipLogReason
  • Default: true

<skipNativePack>

Flag to skip this execution: scala-native-pack-*.
  • Type: boolean
  • Required: No
  • User Property: scalor.skipNativePack
  • Default: false

<skipNativePackMain>

Flag to skip this goal execution: scala-native-pack-main.
  • Type: boolean
  • Required: No
  • User Property: scalor.skipNativePackMain
  • Default: false

<skipPackagingList>

List of packaging types, which are skipped by this plugin.
  • Type: java.lang.String[]
  • Required: No
  • User Property: scalor.skipPackagingList
  • Default: pom