AppFuse
  1. AppFuse
  2. APF-748

plexus-utils is hidden from plugins in SVN version of the maven embedder

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0-M2, 2.0-M3, 2.0-M4, 2.0-M5
    • Fix Version/s: 2.0-M5
    • Component/s: WarPath Plugin
    • Labels:
      None
    • Environment:
      mac osx, eclipse, m2eclipse plugin, maven embedder

      Description

      I'm trying to use the latest version (from SVN) of the maven embedder (2.1.x development) with AppFuse. In this version, the warpath plugin fails because the dependencies on StringUtils and SelectorUtils provided by plexus-utils are no longer provided with the embedder artifact (in fact, they are, but the package name now starts with hidden.org.codehaus.plexus.util).

      For compatibility, it might be enough to have an explicit dependency on the artifact:
      <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
      <version>1.1</version>
      </dependency>

      If that wouldn't solve the problem, another (less elegant) option would be duplicating the code for the methods used in the warpath plugin.
      http://fisheye.codehaus.org/browse/plexus/plexus-utils/trunk/src/main/java/org/codehaus/plexus/util/SelectorUtils.java?r=1106
      http://fisheye.codehaus.org/browse/plexus/plexus-utils/trunk/src/main/java/org/codehaus/plexus/util/StringUtils.java?r=1106

        Activity

          People

          • Assignee:
            Michael Horwitz
            Reporter:
            Abel Mui?o
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development