@Mojo(name="run", requiresDependencyCollection=RUNTIME) public class Play2RunMojo extends AbstractPlay2EnhanceMojo implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
sbt run
equivalent).Modifier and Type | Field and Description |
---|---|
protected String |
sourceEncoding
Source files encoding.
|
sbtVersion
localRepo, playVersion, pluginGroupId, pluginVersion, project, remoteRepos, repositorySystem, resolutionErrorHandler, session
Constructor and Description |
---|
Play2RunMojo() |
Modifier and Type | Method and Description |
---|---|
void |
contextualize(org.codehaus.plexus.context.Context context)
Retrieves the Plexus container.
|
protected void |
internalExecute() |
getAnalysisCacheFile, getSbtAnalysisProcessor
createBufferedFileReader, createBufferedFileWriter, createDirectory, execute, getProvider, getResolvedArtifact, getResolvedArtifact, getResolvedArtifact, isMatchingProject, readFileFirstLine, writeToFile
@Parameter(property="project.build.sourceEncoding") protected String sourceEncoding
file.encoding
system property.
public void contextualize(org.codehaus.plexus.context.Context context) throws org.codehaus.plexus.context.ContextException
contextualize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
context
- the contextorg.codehaus.plexus.context.ContextException
- if the container cannot be retrieved.protected void internalExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
internalExecute
in class AbstractPlay2Mojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2013–2019. All rights reserved.