/rmic-maven-plugin-1.1/src/site/apt/index.apt.vm
Unknown | 58 lines | 46 code | 12 blank | 0 comment | 0 complexity | d6f3d9ab71060088dbe348b35df9cc60 MD5 | raw file
- ------
- Introduction
- ------
- Stefano "Kismet" Lenzi
- Trygve Laugstol <trygvis@inamo.no>
- Paul Gier
- ------
- February 07 2008
- ------
- RMI Compiler Maven Plugin
- This plugin works with Maven 2 and uses the java rmic compiler to generate classes used in remote method invocation.
- * Goals Overview
- * {{{rmic-mojo.html}rmic:rmic}} This goal uses rmic to generate rmi stub and skeleton classes.
- * {{{test-rmic-mojo.html}rmic:test-rmic}} This goal uses rmic to generate rmi stub and skeleton classes from the project test classes.
- * {{{package-mojo.html}rmic:package}} This goal packages stub and skeleton classes into a jar.
- * Usage
- This plugin is normally used after Java compilation, during the <<<process-classes>>> phase of a build.
- Detailed instructions on how to use the RMIC Maven Plugin can be found on the {{{usage.html}usage}} page.
- * Examples
- Below is a basic example of configuring your project build to use the RMIC Plugin. By default, the plugin will search
- for all classes that implement the <<<java.rmi.Remote>>> interface. Output will be written to the directory
- <<<target/rmi-output>>>.
- -------------------
- <project>
- ...
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rmic-maven-plugin</artifactId>
- <version>${project.version}</version>
- <executions>
- <execution>
- <id>rmi compilation</id>
- <goals>
- <goal>rmic</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- ...
- </build>
- ...
- </project>
- -------------------