sonatype/nexus — pull request #346 by cstamas (2012-03-20 15:05:06+00:00)
Title: NEXUS-4904 and related ones

EHCache was bumped from 1.6.x to 2.5.1 in Nexus master branch. The new EHCache introduced multiple substantial changes in behavior, like

* It calls home, see issue NEXUS-4904
* It is way more stricter about having same named cache manager in one JVM (it results in error).

This change, together with security changes merged from branch (that bumps EHCache version) enables Nexus to fully function with new EHCache 2.5.1 and also use the fixed "factory" component SISU EHCache.

2nd commit is needed only to make Nexus workable in ITs, when it is bounced in same JVM. Without those, a "production" would still properly work (as EHCache would be cleaned up on JVM shutdown), but due to 2nd restriction above, "bounced" Nexus would belly up.

Smaller fixes includes fix for "basedir" property, making it absolute path, and have it shown correctly at Nexus boots.

CI job:
https://builds.sonatype.org/view/nexus/job/nexus-oss-its-feature/286/