The classes from org.codehaus.plexus.utils.interpolation are not self-contained
-------------------------------------------------------------------------------

                 Key: PLXUTILS-117
                 URL: http://jira.codehaus.org/browse/PLXUTILS-117
             Project: Plexus Utils
          Issue Type: Bug
    Affects Versions: 1.5.15
            Reporter: Benjamin Bentmann
         Attachments: pu-vs-pi.zip

[r8255|http://fisheye.codehaus.org/changelog/plexus/?cs=8255] caused exclusion of the 
plexus-interpolation classes from the plexus-utils JAR. This in turn makes usage of the 
{{org.codehaus.plexus.utils.intepolation.*}} classes from a standalone plexus-utils JAR 
impossible as their super classes can't be resolved. See the attached demo project that 
fails upon "mvn clean compile".

Note sure whether the change in the above commit was actually necessary given 
that previous plexus-utils versions like 1.5.12 apparently shipped with a 
[dependency reduced 
POM|http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.12/plexus-utils-1.5.12.pom]
 that already declared plexus-interpolation as provided.

Declaring plexus-interpolation as provided in the original POM causes the 
dependency to be ignored by the Shade Plugin because that uses 
{...@requiresdependencyresolution runtime}} but provided dependencies are not 
resolved for this resolution scope...


How about if we just remove the org.codehaus.plexus.utils.intepolation package from plexus-utils, bump the version number for plexus-utils to 1.6 and get back to a simple project that doesn't need fancy shading?


Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to