PageRenderTime 42ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/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
  1. ------
  2. Introduction
  3. ------
  4. Stefano "Kismet" Lenzi
  5. Trygve Laugstol <trygvis@inamo.no>
  6. Paul Gier
  7. ------
  8. February 07 2008
  9. ------
  10. RMI Compiler Maven Plugin
  11. This plugin works with Maven 2 and uses the java rmic compiler to generate classes used in remote method invocation.
  12. * Goals Overview
  13. * {{{rmic-mojo.html}rmic:rmic}} This goal uses rmic to generate rmi stub and skeleton classes.
  14. * {{{test-rmic-mojo.html}rmic:test-rmic}} This goal uses rmic to generate rmi stub and skeleton classes from the project test classes.
  15. * {{{package-mojo.html}rmic:package}} This goal packages stub and skeleton classes into a jar.
  16. * Usage
  17. This plugin is normally used after Java compilation, during the <<<process-classes>>> phase of a build.
  18. Detailed instructions on how to use the RMIC Maven Plugin can be found on the {{{usage.html}usage}} page.
  19. * Examples
  20. Below is a basic example of configuring your project build to use the RMIC Plugin. By default, the plugin will search
  21. for all classes that implement the <<<java.rmi.Remote>>> interface. Output will be written to the directory
  22. <<<target/rmi-output>>>.
  23. -------------------
  24. <project>
  25. ...
  26. <build>
  27. <plugins>
  28. <plugin>
  29. <groupId>org.codehaus.mojo</groupId>
  30. <artifactId>rmic-maven-plugin</artifactId>
  31. <version>${project.version}</version>
  32. <executions>
  33. <execution>
  34. <id>rmi compilation</id>
  35. <goals>
  36. <goal>rmic</goal>
  37. </goals>
  38. </execution>
  39. </executions>
  40. </plugin>
  41. </plugins>
  42. ...
  43. </build>
  44. ...
  45. </project>
  46. -------------------