com.google.code.sbt
Class SBTAddScalaSourcesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.google.code.sbt.SBTAddScalaSourcesMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
@Mojo(name="addScalaSources",
defaultPhase=INITIALIZE)
public class SBTAddScalaSourcesMojo
- extends AbstractMojo
Add default Scala source roots, if they exist and are not already added.
- adds src/main/scala to Maven project as compile source root
- adds src/test/scala to Maven project as test compile source root
- Since:
- 1.0.0
- Author:
- Grzegorz Slowikowski
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
Adds Scala sources. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
project
@Component
protected MavenProject project
- Maven Internal: Project to interact with.
SBTAddScalaSourcesMojo
public SBTAddScalaSourcesMojo()
execute
public void execute()
- Adds Scala sources.
Copyright © 2013. All rights reserved.