scala:add-source

Full name:

org.scala-tools:maven-scala-plugin:2.15.1:add-source

Description:

Add more source directories to the POM.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Binds by default to the lifecycle phase: initialize.

Optional Parameters

Name Type Since Description
sourceDir File - The directory in which scala source is found
testSourceDir File - The directory in which testing scala source is found

Parameter Details

sourceDir:

The directory in which scala source is found
  • Type: java.io.File
  • Required: No
  • Expression: ${project.build.sourceDirectory}/../scala

testSourceDir:

The directory in which testing scala source is found
  • Type: java.io.File
  • Required: No
  • Expression: ${project.build.testSourceDirectory}/../scala