• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • ehcache-server
  • hhuynh
  • Reporter: foshea
  • May 06, 2010
  • 0
  • Watchers: 0
  • July 27, 2012
  • May 06, 2010

Description

From Ashish

downloaded the latest release 1.0.0 from sourceforge, and found that it ships with Ehcache 2.0.1 snapshot jars.

Comments

Hung Huynh 2010-05-06

Here’s the bug report from Maven http://jira.codehaus.org/browse/MNG-3092

I will have to remove the range usage and specify specific version of which ehcache we want to depend on and that is the one that will be included in the kit of Ehcache Server.

On 5/6/2010 3:03 PM, Hung Huynh wrote:

The SNAPSHOT snuck into the distribution kit of Ehcache Server because the pom of this project depends on a range of “ehcache”

    <dependency>
        <groupId>net.sf.ehcache</groupId>
        <artifactId>ehcache</artifactId>
        <version>[1.7.1,]</version>
        <type>pom</type>
    </dependency>

If at the moment of the build, there’s a SNAPSHOT version that was greater than a release version, Maven will pick that one. We can’t choose to favor RELEASE over SNAPSHOT which this usage.

So something has to be change otherwise it will happen again when we build since there’s always the NEXT SNAPSHOT.

Greg, what do you think?

Hung-

Hung Huynh 2010-05-06

rebuilt http://kong/output/release-kits/ehcache/

ehcache-server-1.0.0 ehcache-standalone-server-1.0.0

also uploaded to sourceforge