dion 2003/10/14 16:58:52
Modified: xdocs/reference/developers developer-guide.xml
Log:
Apply MAVEN-931
Revision Changes Path
1.3 +1 -65 maven/xdocs/reference/developers/developer-guide.xml
Index: developer-guide.xml
===================================================================
RCS file: /home/cvs/maven/xdocs/reference/developers/developer-guide.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- developer-guide.xml 29 Sep 2003 19:32:27 -0000 1.2
+++ developer-guide.xml 14 Oct 2003 23:58:52 -0000 1.3
@@ -180,71 +180,7 @@
]]></source>
</subsection>
- <subsection name="Programmatic Report Control">
- <p>If you wish to use the default reports but remove one or add one, the
- preferred method is to use a postGoal for xdoc:register-reports
- </p>
-
- <source><![CDATA[
-<postGoal name="xdoc:register-reports">
- <attainGoal name="maven-changelog-plugin:deregister"/>
- <attainGoal name="maven-myown-plugin:register"/>
-</postGoal>
- ]]></source>
-
-
- </subsection>
- <subsection name="Class Loaders">
- <p>When writing plugins, you will need to control the class loaders that
- are used to load your specified dependencies. The following table
- shows the classloaders available:
- </p>
- <table>
- <tr>
- <th>Class loader</th>
- <th>Description</th>
- </tr>
- <tr>
- <td><default></td>
- <td>
- This class loader is used if none is specified in the dependency.
- This means that the dependency is loaded into the plugin's class
- loader, making it available to the plugin only.
- </td>
- </tr>
- <tr>
- <td><code>root</code></td>
- <td>
- This is the Ant class loader, and the most common override used in
- a plugin. Use this if you need to specify a dependency used by a
- custom Ant task used in the plugin.
- </td>
- </tr>
- <tr>
- <td><code>root.maven</code></td>
- <td>
- This is the Maven class loader. Use it if you wish to have the
- dependency available to the Maven core.
- </td>
- </tr>
- </table>
- <p>To specify a classloader for a dependency, add a section similar to
- the following to your plugin's project.xml:
- </p>
- <source><![CDATA[
-<dependency>
- <groupId>jaxb</groupId>
- <artifactId>jaxb-xjc</artifactId>
- <properties>
- <classloader>root</classloader>
- </properties>
-</dependency>
- ]]></source>
- <p>You should also note that the same properties can be used in your
- projects, not just plugins. This may be required if you are writing
- custom scripts in <code>maven.xml</code>.
- </p>
- </subsection>
+
</section>
</body>
</document>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]