PageRenderTime 25ms CodeModel.GetById 23ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

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