If I try to add a dependency to org.hibernate:hibernate-jbosscache2:jar:3.3.2.GA:compile to my project, I get:
/10/08/11 16:09:46 CEST: Maven Builder: INCREMENTAL_BUILD 10/08/11 16:09:47 CEST: Maven Builder: INCREMENTAL_BUILD requireFullBuild 10/08/11 16:09:47 CEST: [WARN] 10/08/11 16:09:47 CEST: [WARN] Some problems were encountered while building the effective model for com.ordiges.jump:jump.business:jar:0.0.1-SNAPSHOT 10/08/11 16:09:47 CEST: [WARN] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.hibernate:hibernate:pom -> duplicate declaration of version 3.5.4-Final @ com.ordiges.jump:jump:0.0.1-SNAPSHOT, C:\java\workspaces\jump\jump\pom.xml, line 127, column 16 10/08/11 16:09:47 CEST: [WARN] 10/08/11 16:09:47 CEST: [WARN] It is highly recommended to fix these problems because they threaten the stability of your build. 10/08/11 16:09:47 CEST: [WARN] 10/08/11 16:09:47 CEST: [WARN] For this reason, future Maven versions might no longer support building such malformed projects. 10/08/11 16:09:47 CEST: [WARN] 10/08/11 16:09:48 CEST: Maven Builder: INCREMENTAL_BUILD 10/08/11 16:09:48 CEST: Maven Builder: INCREMENTAL_BUILD 10/08/11 16:09:48 CEST: Maven Builder: INCREMENTAL_BUILD 10/08/11 16:09:48 CEST: Maven Builder: INCREMENTAL_BUILD 10/08/11 16:23:17 CEST: Missing artifact org.hibernate:hibernate-jbosscache2:jar:3.3.2.GA:compile 10/08/11 16:23:55 CEST: Downloaded http://repo1.maven.org/maven2/org/jboss/cache/jbosscache-core/3.1.0.GA/jbosscache-core-3.1.0.GA.pom 10/08/11 16:23:55 CEST: [WARN] The POM for org.jboss.cache:jbosscache-core:jar:3.1.0.GA is missing, no dependency information available 10/08/11 16:23:55 CEST: Downloaded http://repo1.maven.org/maven2/org/jboss/cache/jbosscache-core/3.1.0.GA/jbosscache-core-3.1.0.GA.jar 10/08/11 16:23:55 CEST: Missing artifact org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile 10/08/11 16:23:55 CEST: Missing artifact org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile 10/08/11 16:23:55 CEST: Missing artifact org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile 10/08/11 16:23:55 CEST: Missing artifact org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile 10/08/11 16:25:16 CEST: Missing artifact org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile 10/08/11 16:25:16 CEST: Missing artifact org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile 10/08/11 16:25:16 CEST: Missing artifact org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile 10/08/11 16:25:16 CEST: Missing artifact org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile 10/08/11 16:24:33 CEST: Refreshing [/jump/pom.xml] 10/08/11 16:24:35 CEST: Maven Builder: INCREMENTAL_BUILD 10/08/11 16:24:35 CEST: Maven Builder: INCREMENTAL_BUILD 10/08/11 16:25:00 CEST: Refreshing [/jump/pom.xml] 10/08/11 16:25:02 CEST: Maven Builder: INCREMENTAL_BUILD 10/08/11 16:25:02 CEST: Maven Builder: INCREMENTAL_BUILD 10/08/11 16:25:15 CEST: Refreshing [/jump/pom.xml] 10/08/11 16:25:16 CEST: [WARN] The POM for org.jboss.cache:jbosscache-core:jar:3.1.0.GA is missing, no dependency information available 10/08/11 16:25:41 CEST: Missing artifact org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile 10/08/11 16:25:41 CEST: Missing artifact org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile 10/08/11 16:25:41 CEST: Missing artifact org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile 10/08/11 16:25:41 CEST: Missing artifact org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile 10/08/11 16:25:27 CEST: Refreshing [/jump/pom.xml] 10/08/11 16:25:40 CEST: Refreshing [/jump/pom.xml] 10/08/11 16:25:41 CEST: [WARN] The POM for org.jboss.cache:jbosscache-core:jar:3.1.0.GA is missing, no dependency information available / and a lot of "Missing artifact" lines I have the following repositories in my settings.xml <repositories> <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> <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> <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> <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> <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> </repositories> I checked the JBoss repo, and the artifact seems to be there. Any ideea why ? Thanks in advance. -- View this message in context: http://maven.40175.n5.nabble.com/Problem-adding-hibernate-jbosscache2-to-my-project-tp4685996p4685996.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org