You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2008/02/15 00:21:02 UTC

svn commit: r627908 - /maven/site/trunk/src/site/apt/guides/plugin/guide-java-plugin-development.apt

Author: dennisl
Date: Thu Feb 14 15:20:57 2008
New Revision: 627908

URL: http://svn.apache.org/viewvc?rev=627908&view=rev
Log:
[MNG-3273] Point out known pitfalls when developing plugins

o Maven 2.0.6 is required to use plexus-utils > 1.1

Modified:
    maven/site/trunk/src/site/apt/guides/plugin/guide-java-plugin-development.apt

Modified: maven/site/trunk/src/site/apt/guides/plugin/guide-java-plugin-development.apt
URL: http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/guides/plugin/guide-java-plugin-development.apt?rev=627908&r1=627907&r2=627908&view=diff
==============================================================================
--- maven/site/trunk/src/site/apt/guides/plugin/guide-java-plugin-development.apt (original)
+++ maven/site/trunk/src/site/apt/guides/plugin/guide-java-plugin-development.apt Thu Feb 14 15:20:57 2008
@@ -757,6 +757,19 @@
   on the reports being generated. Therefore, developers should always use <<<MavenReport.getReportOutputDirectory()>>> if they
   need to query the effective output directory for the report. 
 
+** Using Plexus Utilities
+
+  If you depend on a version of plexus-utils later than 1.1, be sure to properly specify your prerequisites on Maven:
+
++-----+
+  <prerequisites>
+    <maven>2.0.6</maven>
+  </prerequisites>
++-----+
+
+  <<Explanation>>: Before Maven 2.0.6, Maven always used plexus-utils 1.1 for the plugin class realm regardless of the
+  version of plexus-utils that the plugin specified in its POM.
+
 * Resources
 
     [[1]] {{{../../developers/mojo-api-specification.html}Mojo Documentation}}: Mojo API, Mojo annotations