[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: plexus-utils upgrade



More information on this transition, here is the clirr report detailing
the differences between plexus-utils 1.5.15 and 2.0.5:

ebourg@icare:~$ clirr -o plexus-utils-1.5.15.jar -n plexus-utils-2.0.5.jar
INFO: 7011: org.codehaus.plexus.util.cli.StreamPumper: Method 'public
java.lang.Exception getException()' has been added
ERROR: 8001:
org.codehaus.plexus.util.interpolation.EnvarBasedValueSource: Class
org.codehaus.plexus.util.interpolation.EnvarBasedValueSource removed
ERROR: 8001: org.codehaus.plexus.util.interpolation.Interpolator: Class
org.codehaus.plexus.util.interpolation.Interpolator removed
ERROR: 8001:
org.codehaus.plexus.util.interpolation.InterpolatorFilterReader: Class
org.codehaus.plexus.util.interpolation.InterpolatorFilterReader removed
ERROR: 8001: org.codehaus.plexus.util.interpolation.MapBasedValueSource:
Class org.codehaus.plexus.util.interpolation.MapBasedValueSource removed
ERROR: 8001:
org.codehaus.plexus.util.interpolation.ObjectBasedValueSource: Class
org.codehaus.plexus.util.interpolation.ObjectBasedValueSource removed
ERROR: 8001:
org.codehaus.plexus.util.interpolation.PropertiesBasedValueSource: Class
org.codehaus.plexus.util.interpolation.PropertiesBasedValueSource removed
ERROR: 8001:
org.codehaus.plexus.util.interpolation.RegexBasedInterpolator: Class
org.codehaus.plexus.util.interpolation.RegexBasedInterpolator removed
ERROR: 8001: org.codehaus.plexus.util.interpolation.ValueSource: Class
org.codehaus.plexus.util.interpolation.ValueSource removed


The only incompatibility reported by clirr is the removal of the
org.codehaus.plexus.util.interpolation package. This was spinned off in
the plexus-interpolation package.

I searched on codesearch.debian.net for the packages containing an
import statement on the removed interpolation package [1]. Besides
plexus-utils itself there is only one package using the removed classes,
maven-doxia-tools, and it was patched two years ago by Damien to use
plexus-interpolation instead [2].

This is another evidence that upgrading libplexus-utils-java to 2.0.x is
safe, at least at the Java level.

Emmanuel Bourg


[1]
http://codesearch.debian.net/search?q=org.codehaus.plexus.util.interpolation
[2]
http://sources.debian.net/src/maven-doxia-tools/1.2.1-2/debian/patches/0001-fix-for-plexus-interpolation.patch


Reply to: