You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2020/04/15 16:05:44 UTC

[maven-site] branch elharo-patch-3 created (now da44404)

This is an automated email from the ASF dual-hosted git repository.

elharo pushed a change to branch elharo-patch-3
in repository https://gitbox.apache.org/repos/asf/maven-site.git.


      at da44404  [MNGSITE-393] remove old section on plexus-utils

This branch includes the following new commits:

     new da44404  [MNGSITE-393] remove old section on plexus-utils

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-site] 01/01: [MNGSITE-393] remove old section on plexus-utils

Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch elharo-patch-3
in repository https://gitbox.apache.org/repos/asf/maven-site.git

commit da444049f34288b12f0ca31709c19b2ff6a79cca
Author: Elliotte Rusty Harold <el...@users.noreply.github.com>
AuthorDate: Wed Apr 15 12:05:37 2020 -0400

    [MNGSITE-393] remove old section on plexus-utils
    
    @eolivelli
---
 content/apt/plugin-developers/common-bugs.apt | 29 ---------------------------
 1 file changed, 29 deletions(-)

diff --git a/content/apt/plugin-developers/common-bugs.apt b/content/apt/plugin-developers/common-bugs.apt
index 79c8377..5db7572 100644
--- a/content/apt/plugin-developers/common-bugs.apt
+++ b/content/apt/plugin-developers/common-bugs.apt
@@ -456,33 +456,4 @@ public MyMojo extends AbstractMojo
   format for its output and also outputs debug messages even if Maven's debug mode was not enabled. For this reason,
   developers must not try to cache the logger during construction time. The method <<<getLog()>>> is fast enough and
   can simply be called whenever one needs it.
-
-* {Depending on Plexus Utilities 1.1+}
-
-  Up to Maven 2.0.5, version 1.1 of the artifact <<<plexus-utils>>> was included in the Maven core class loader which
-  is shared with the plugin class realm. This effectively prevented plugins from using another/newer version of
-  <<<plexus-utils>>>. This has been solved starting with Maven 2.0.6 by shading (most of) the classes from
-  <<<plexus-utils>>> (see {{{https://issues.apache.org/jira/browse/MNG-2892}MNG-2892}}).
-
-  In short, plugins that strictly require a newer version of <<<plexus-utils>>> also require Maven 2.0.6 as a minimum.
-  Hence, a POM snippet for a Maven plugin like shown below is misleading:
-
-+---
-<project>
-  <packaging>maven-plugin</packaging>
-  ...
-  <prerequisites>
-    <!-- FIXME: This assumes the plugin works with plexus-utils:1.1, too -->
-    <maven>2.0</maven>
-  </prerequisites>
-  ...
-  <dependencies>
-    <dependency>
-      <groupId>org.codehaus.plexus</groupId>
-      <artifactId>plexus-utils</artifactId>
-      <version>1.5.6</version>
-    </dependency>
-  </dependencies>
-  ...
-</project>
 +---