where is the correct and recent ehcache maven repository

I've been struggling to get ehcache 2.1.0 in my environment. Anytime I thought I got it right, it's just not downloading it. Here is where I set the repository:

 <repository>
 <!--<url>https://oss.sonatype.org/content/repositories/releases/</url>-->
     <url>http://oss.sonatype.org/content/repositories/sourceforge-releases</url>
     <id>sonatype-mirror</id>
     <layout>default</layout>
     <name>Repository for library including ehcache recent ones</name>
 </repository>

And I add the dependency this way :

<dependency>
  <groupId>net.sf.ehcache</groupId>
  <artifactId>ehcache</artifactId>
  <version>2.1.0</version>
</dependency>

Is there anything that's i'm doing wrong or not properly?

11
задан Xtreme Biker reinstate Monica 27 December 2015 в 16:14
поделиться