com.google.code.sbt
Class SBTAddScalaSourcesMojo

Package class diagram package SBTAddScalaSourcesMojo
java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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

Field Summary
protected  MavenProject project
          Maven Internal: Project to interact with.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
SBTAddScalaSourcesMojo()
           
 
Method Summary
 void execute()
          Adds Scala sources.
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

project

@Component
protected MavenProject project
Maven Internal: Project to interact with.

Constructor Detail

SBTAddScalaSourcesMojo

public SBTAddScalaSourcesMojo()
Method Detail

execute

public void execute()
Adds Scala sources.



Copyright © 2013. All rights reserved.