Class ModifyEE9ToEE8ServiceLoaderFiles
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.eclipse.jetty.toolchain.modifysources.ModifyEE9ToEE8ServiceLoaderFiles
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="modify-service-loader-files-ee9-to-ee8",
defaultPhase=PROCESS_RESOURCES,
threadSafe=true)
public class ModifyEE9ToEE8ServiceLoaderFiles
extends org.apache.maven.plugin.AbstractMojo
Modify services files from EE9 project to be compiled with EE8 dependencies
-
Field Summary
FieldsModifier and TypeFieldDescriptionextra file names to change contentprivate Fileprotected org.apache.maven.project.MavenProjectMaven Project.private booleanFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()private StringmapFileName(String className) voidsetOutputDirectory(File outputDirectory) Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
skip
@Parameter(property="jetty.modifysources.servicesloader.files.skip") private boolean skip -
outputDirectory
-
project
@Parameter(defaultValue="${project}", readonly=true) protected org.apache.maven.project.MavenProject projectMaven Project. -
extraFileNames
-
-
Constructor Details
-
ModifyEE9ToEE8ServiceLoaderFiles
public ModifyEE9ToEE8ServiceLoaderFiles()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
mapFileName
-
setOutputDirectory
-