diff --git a/maven-embedder/src/main/resources/plugins/maven-compiler-plugin.xml b/maven-embedder/src/main/resources/plugins/maven-compiler-plugin.xml new file mode 100644 index 0000000000..71ba4f6a74 --- /dev/null +++ b/maven-embedder/src/main/resources/plugins/maven-compiler-plugin.xml @@ -0,0 +1,369 @@ + + org.apache.maven.plugins + maven-compiler-plugin + 2.0-beta-2-SNAPSHOT + compiler + false + true + + + testCompile + test + false + true + false + false + false + true + test-compile + org.apache.maven.plugin.TestCompilerMojo + java + per-lookup + once-per-session + + + basedir + java.io.File + true + false + The directory to run the compiler from if fork is true. + + + buildDirectory + java.io.File + true + false + The target directory of the compiler if fork is true. + + + classpathElements + java.util.List + true + false + Project test classpath. + + + compileSourceRoots + java.util.List + true + false + The source directories containing the test-source to be compiled. + + + compilerArguments + java.util.LinkedHashMap + false + true + Arguments to be passed to the compiler if fork is set to true. <p/> This is because the list of valid arguments passed to a Java compiler varies based on the compiler version. + + + compilerId + java.lang.String + false + true + The compiler id of the compiler to use. + + + compilerVersion + java.lang.String + false + true + Version of the compiler to use, ex. "1.3", "1.5" + + + debug + boolean + false + true + Whether to include debugging information in the compiled class files. The default value is true. + + + encoding + java.lang.String + false + true + The -encoding argument for the Java compiler + + + executable + java.lang.String + false + true + The executable of the compiler to use. + + + fork + boolean + false + true + Runs the compiler in a separate process. <p/> If not set the compiler will default to a executable. + + + outputDirectory + java.io.File + true + false + The directory where compiled test classes go. + + + outputFileName + java.lang.String + false + true + Used to control the name of the output file when compiling a set of sources to a single file. + + + showDeprecation + boolean + false + true + Output source locations where deprecated APIs are used + + + showWarnings + boolean + false + true + Output warnings + + + source + java.lang.String + false + true + The -source argument for the Java compiler + + + staleMillis + int + false + true + The granularity in milliseconds of the last modification date for testing whether a source needs recompilation + + + target + java.lang.String + false + true + The -target argument for the Java compiler + + + testExcludes + java.util.Set + false + true + A list of exclusion filters for the compiler. + + + testIncludes + java.util.Set + false + true + A list of inclusion filters for the compiler. + + + + + ${maven.compiler.debug} + ${project.build.testOutputDirectory} + ${project.build.directory} + + ${project.testClasspathElements} + ${project.build.finalName} + ${project.testCompileSourceRoots} + ${lastModGranularityMs} + ${basedir} + + + + org.codehaus.plexus.compiler.manager.CompilerManager + compilerManager + + + + + compile + compile + false + true + false + false + false + true + compile + org.apache.maven.plugin.CompilerMojo + java + per-lookup + once-per-session + + + basedir + java.io.File + true + false + The directory to run the compiler from if fork is true. + + + buildDirectory + java.io.File + true + false + The target directory of the compiler if fork is true. + + + classpathElements + java.util.List + true + false + Project classpath. + + + compileSourceRoots + java.util.List + true + false + The source directories containing the sources to be compiled. + + + compilerArguments + java.util.LinkedHashMap + false + true + Arguments to be passed to the compiler if fork is set to true. <p/> This is because the list of valid arguments passed to a Java compiler varies based on the compiler version. + + + compilerId + java.lang.String + false + true + The compiler id of the compiler to use. + + + compilerVersion + java.lang.String + false + true + Version of the compiler to use, ex. "1.3", "1.5" + + + debug + boolean + false + true + Whether to include debugging information in the compiled class files. The default value is true. + + + encoding + java.lang.String + false + true + The -encoding argument for the Java compiler + + + excludes + java.util.Set + false + true + A list of exclusion filters for the compiler. + + + executable + java.lang.String + false + true + The executable of the compiler to use. + + + fork + boolean + false + true + Runs the compiler in a separate process. <p/> If not set the compiler will default to a executable. + + + includes + java.util.Set + false + true + A list of inclusion filters for the compiler. + + + outputDirectory + java.io.File + true + false + The directory for compiled classes. + + + outputFileName + java.lang.String + false + true + Used to control the name of the output file when compiling a set of sources to a single file. + + + projectArtifact + org.apache.maven.artifact.Artifact + true + false + Project artifacts. + + + showDeprecation + boolean + false + true + Output source locations where deprecated APIs are used + + + showWarnings + boolean + false + true + Output warnings + + + source + java.lang.String + false + true + The -source argument for the Java compiler + + + staleMillis + int + false + true + The granularity in milliseconds of the last modification date for testing whether a source needs recompilation + + + target + java.lang.String + false + true + The -target argument for the Java compiler + + + + + ${maven.compiler.debug} + ${project.build.outputDirectory} + ${project.artifact} + ${project.build.directory} + + ${project.compileClasspathElements} + ${project.build.finalName} + ${project.compileSourceRoots} + ${lastModGranularityMs} + ${basedir} + + + + org.codehaus.plexus.compiler.manager.CompilerManager + compilerManager + + + + + + \ No newline at end of file diff --git a/maven-embedder/src/main/resources/plugins/maven-jar-plugin.xml b/maven-embedder/src/main/resources/plugins/maven-jar-plugin.xml new file mode 100644 index 0000000000..c332228180 --- /dev/null +++ b/maven-embedder/src/main/resources/plugins/maven-jar-plugin.xml @@ -0,0 +1,69 @@ + + org.apache.maven.plugins + maven-jar-plugin + 2.0-beta-2-SNAPSHOT + jar + false + true + + + jar + false + true + false + false + false + true + package + org.apache.maven.plugin.jar.JarMojo + java + per-lookup + once-per-session + + + archive + org.apache.maven.archiver.MavenArchiveConfiguration + false + true + The maven archiver to use. + + + basedir + java.lang.String + true + false + Directory containing the generated JAR. + + + finalName + jarName + java.lang.String + true + true + Name of the generated JAR. + + + outputDirectory + java.lang.String + true + false + Directory containing the classes. + + + project + org.apache.maven.project.MavenProject + true + false + The maven project. + + + + ${project.build.outputDirectory} + ${project} + ${project.build.directory} + ${project.build.finalName} + + + + + \ No newline at end of file