sbt-compiler:compile

Full name:

com.google.code.sbt-compiler-maven-plugin:sbt-compiler-maven-plugin:1.0.0-beta2:compile

Description:

Compile Scala and Java sources

Attributes:

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

Optional Parameters

Name Type Since Description
excludes Set 1.0.0 A list of exclusion filters for the compiler.
includes Set 1.0.0 A list of inclusion filters for the compiler.
javacOptions String 1.0.0 Additional parameters for Java compiler.
Default value is: -g.
User property is: sbt.javacOptions.
sbtVersion String 1.0.0 SBT version
Default value is: 0.13.0.
User property is: sbt.version.
scalaVersion String 1.0.0 Scala Compiler version. If not specified: a) version of project's org.scala-lang:scala-library dependency is used b) if org.scala-lang:scala-library dependency does not exist in the project DEFAULT_SCALA_VERSION is used
User property is: scala.version.
scalacOptions String 1.0.0 Additional parameters for Scala compiler.
Default value is: -deprecation -unchecked.
User property is: sbt.scalacOptions.
skipMain boolean 1.0.0 Set this to 'true' to bypass compilation of main sources. Its use is NOT RECOMMENDED, but quite convenient on occasion.
User property is: maven.main.skip.
sourceEncoding String 1.0.0 The -encoding argument for Scala and Java compilers.
User property is: project.build.sourceEncoding.

Parameter Details

excludes:

A list of exclusion filters for the compiler.
  • Type: java.util.Set
  • Since: 1.0.0
  • Required: No

includes:

A list of inclusion filters for the compiler.
  • Type: java.util.Set
  • Since: 1.0.0
  • Required: No

javacOptions:

Additional parameters for Java compiler.
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: No
  • User Property: sbt.javacOptions
  • Default: -g

sbtVersion:

SBT version
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: No
  • User Property: sbt.version
  • Default: 0.13.0

scalaVersion:

Scala Compiler version. If not specified: a) version of project's org.scala-lang:scala-library dependency is used b) if org.scala-lang:scala-library dependency does not exist in the project DEFAULT_SCALA_VERSION is used
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: No
  • User Property: scala.version

scalacOptions:

Additional parameters for Scala compiler.
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: No
  • User Property: sbt.scalacOptions
  • Default: -deprecation -unchecked

skipMain:

Set this to 'true' to bypass compilation of main sources. Its use is NOT RECOMMENDED, but quite convenient on occasion.
  • Type: boolean
  • Since: 1.0.0
  • Required: No
  • User Property: maven.main.skip

sourceEncoding:

The -encoding argument for Scala and Java compilers.
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: No
  • User Property: project.build.sourceEncoding