Goals available for this plugin:
Goal | Description |
---|---|
compile:compile | Maven Mojo for compiling Class files to the .NET Intermediate Language. To use a specific vendor (MICROSOFT/MONO) or language, the compiler/language must be previously installed AND configured through the plugin-compiler.xml file: otherwise the Mojo either will throw a MojoExecutionException telling you that the platform is not supported (occurs if entry is not in plugin-compilers.xml, regardless of whether the compiler/language is installed) or will attempt to execute the compiler and fail (occurs if entry is in plugin-compilers.xml and the compiler/language is not installed). |
compile:generate-assembly-info | Generates an AssemblyInfo.* class based on information within the pom file. |
compile:initialize | This class initializes and validates the setup. |
compile:process-sources | Copies source files to target directory. |
compile:process-test-sources | Copies test source files to target directory. |
compile:testCompile | Compiles test classes. |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.0 |
JDK | 1.5 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>npanday.plugin</groupId> <artifactId>maven-compile-plugin</artifactId> <version>1.2</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>npanday.plugin</groupId> <artifactId>maven-compile-plugin</artifactId> <version>1.2</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"