0 Replies Latest reply on Aug 10, 2011 10:56 AM by c c

    Getting jbosscache-core via Maven

    c c Newbie

      Hi,

       

      I am trying to add hibernate-jbosscache2 as a Maven dependency to my project, but I get:

      Missing artifact org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile

       

      I have the following repositories in my maven settings.xml

       

       

       





      <!-- CODEHAUS -->




      <repository>





      <id>codehausSnapshots</id>





      <name>Codehaus Snapshots</name>





      <releases>






      <enabled>false</enabled>






      <updatePolicy>always</updatePolicy>






      <checksumPolicy>warn</checksumPolicy>





      </releases>





      <snapshots>






      <enabled>true</enabled>






      <updatePolicy>never</updatePolicy>






      <checksumPolicy>fail</checksumPolicy>





      </snapshots>





      <url>http://snapshots.maven.codehaus.org/maven2</url>





      <layout>default</layout>




      </repository>

       

       





      <!-- MAVEN CENTRAL -->




      <repository>





      <id>repo1</id>





      <name>Maven default repo</name>





      <releases>






      <enabled>true</enabled>






      <updatePolicy>always</updatePolicy>






      <checksumPolicy>warn</checksumPolicy>





      </releases>





      <snapshots>






      <enabled>true</enabled>






      <updatePolicy>never</updatePolicy>






      <checksumPolicy>fail</checksumPolicy>





      </snapshots>





      <url>http://repo1.maven.org/maven2</url>





      <layout>default</layout>




      </repository>








      <!-- JAVA -->




      <repository>





      <id>maven2-repository.java.net</id>





      <name>Java.net Repository for Maven</name>





      <releases>






      <enabled>true</enabled>






      <updatePolicy>always</updatePolicy>






      <checksumPolicy>warn</checksumPolicy>





      </releases>





      <url>http://download.java.net/maven/2/</url>





      <layout>default</layout>




      </repository>








      <!-- SPRING -->




      <repository>





      <id>com.springsource.repository.bundles.release</id>





      <name>EBR Spring Release Repository</name>





      <url>http:// repository.springsource.com/maven/bundles/release</url>




      </repository>




      <repository>





      <id>com.springsource.repository.bundles.external</id>





      <name>EBR External Release Repository</name>





      <url>http:// repository.springsource.com/maven/bundles/external</url>




      </repository>








      <!-- JBOSS -->




      <repository>





      <id>jboss-public-repository-group</id>





      <name>JBoss Public Repository Group</name>





      <url>http://repository.jboss.org/nexus/content/groups/public/</url>





      <layout>default</layout>





      <releases>






      <enabled>true</enabled>






      <updatePolicy>never</updatePolicy>





      </releases>





      <snapshots>






      <enabled>true</enabled>






      <updatePolicy>never</updatePolicy>





      </snapshots>




      </repository>

       

       

      Any ideas why this happens ?

      Thank you.