Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 1.0-rc2
-
Fix Version/s: 1.0-rc2
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
actually maven dependencies include commons-lang 1.0-b1.1.
It would be better to update it to commons-lang 2.0: the new release is totally compatible with the old (no methods have been removed) and this will allows to use new useful string utils method in plugin (replace, trim, ...).
Actually also if you include a commons-lang 2.0 dependency in a plugin it seems you are not able to call commons-lang 2.0 methods from jelly, since it always find the old commons-lang 1.0 classes in maven classloader first (unless specifing a root classloader in dependency).
Change: modify in project.xml
<dependency>
<id>commons-lang</id>
<version>1.0-b1.1</version>
<url>http://jakarta.apache.org/commons/</url>
</dependency>
with:
<dependency>
<artifactId>commons-lang</artifactId>
<groupId>commons-lang</groupId>
<version>2.0</version>
<url>http://jakarta.apache.org/commons/</url>
</dependency>
I think we can actually remove the dependency, which should free it up some. The only problem is that some people who rely on it being there may need to add a dependency to their project... I'll take a look