scala:add-source
Full name:
net.alchim31.maven:scala-maven-plugin:4.9.3:add-source
Description:
Add more source directories to the POM.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Binds by default to the lifecycle phase:
initialize
.
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<sourceDir> |
File |
- |
The directory in which scala source is found Default: ${project.build.sourceDirectory}/../scala |
<testSourceDir> |
File |
- |
The directory in which testing scala source is found Default: ${project.build.testSourceDirectory}/../scala |
<useCanonicalPath> |
boolean |
- |
Should use CanonicalPath to normalize path (true => getCanonicalPath, false => getAbsolutePath) See also: #50 Default: true User Property: maven.scala.useCanonicalPath |
Parameter Details
<sourceDir>
The directory in which scala source is found
- Type:
java.io.File
- Required:
No
- Default:
${project.build.sourceDirectory}/../scala
<testSourceDir>
The directory in which testing scala source is found
- Type:
java.io.File
- Required:
No
- Default:
${project.build.testSourceDirectory}/../scala
<useCanonicalPath>
Should use CanonicalPath to normalize path (true => getCanonicalPath, false => getAbsolutePath)
See also: #50
See also: #50
- Type:
boolean
- Required:
No
- User Property:
maven.scala.useCanonicalPath
- Default:
true