If you look at the dependency tree, where is the reference to jbosscache-core-3.1.0.

You appear to be adding just 3.3.2.GA, so 3.1.0.GA has to be coming from somewhere else. Parent POM?

See where it is in the dependency tree.
Maven is not making this up.

Ron

GA On 10/08/2011 11:24 AM, ccc wrote:
There is absolutely nothing else.
I am just trying to add ONE dependency: hibernate-jbosscache2
I can not control its dependencies, and I have NOTHING else in my pom.xml

As I said, the previous error you pointed out was from another test.
Now, with an empty pom with just one dependency, it just complains about
missing artifacts, even if they're in the repository.

In fact, when trying to download the jar and pom, what I get in
maven\repository\org\jboss\cache\jbosscache-core\3.1.0.GA
is 2 files:

jbosscache-core-3.1.0.GA.jar.lastUpdated
and
jbosscache-core-3.1.0.GA.pom.lastUpdated

This is their content:

#NOTE: This is an internal implementation file, its format can be changed
without prior notice.
#Wed Aug 10 16:23:55 CEST 2011
http\://repo1.maven.org/maven2/.error=
http\://repo1.maven.org/maven2/.lastUpdated=1312986235355


AND

#NOTE: This is an internal implementation file, its format can be changed
without prior notice.
#Wed Aug 10 16:23:55 CEST 2011
http\://repo1.maven.org/maven2/.error=
http\://repo1.maven.org/maven2/.lastUpdated=1312986235105


Have you got any idea other than duplicate dependency, since that's surely
not the issue here ?
Thank you.

On Wed, Aug 10, 2011 at 5:18 PM, Ron Wheeler [via Maven]<
ml-node+4686181-505830615-240...@n5.nabble.com>  wrote:

Someone else has a dependency on
org.jboss.cache:jbosscache-core:jar:3.1.0.GA
You need to look at your dependency tree and exclude this from the
package that is trying to add it in.

Ron

On 10/08/2011 11:08 AM, ccc wrote:

My mistake - I copied too much from the console and included some older
messages from when I was trying different solutions for my problem.

I have now removed ALL dependencies from my pom. I get no errors.

But as soon as I add just this dependency (nothing else):

<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jbosscache2</artifactId>
<version>3.3.2.GA</version>
<type>jar</type>
<scope>compile</scope>
</dependency>

I get:

10/08/11 17:04:33 CEST: Maven Builder: INCREMENTAL_BUILD requireFullBuild
10/08/11 17:04:33 CEST: [WARN] Using platform encoding (Cp1252 actually)
to
copy filtered resources, i.e. build is platform dependent!
10/08/11 17:04:33 CEST: [INFO] Copying 1 resource
10/08/11 17:04:33 CEST: [INFO] Nothing to compile - all classes are up to
date
10/08/11 17:04:33 CEST: [WARN] Using platform encoding (Cp1252 actually)
to
copy filtered resources, i.e. build is platform dependent!
10/08/11 17:04:33 CEST: [INFO] Copying 0 resource
10/08/11 17:04:33 CEST: Maven Builder: INCREMENTAL_BUILD requireFullBuild
10/08/11 17:04:33 CEST: [WARN] Using platform encoding (Cp1252 actually)
to
copy filtered resources, i.e. build is platform dependent!
10/08/11 17:04:33 CEST: [INFO] Copying 0 resource
10/08/11 17:04:33 CEST: [INFO] Nothing to compile - all classes are up to
date
10/08/11 17:04:33 CEST: [WARN] Using platform encoding (Cp1252 actually)
to
copy filtered resources, i.e. build is platform dependent!
10/08/11 17:04:33 CEST: [INFO] Copying 0 resource
10/08/11 17:04:33 CEST: Refreshing [/jump/pom.xml]
10/08/11 17:04:34 CEST: [WARN] The POM for
org.jboss.cache:jbosscache-core:jar:3.1.0.GA is missing, no dependency
information available
10/08/11 17:04:34 CEST: Missing artifact
org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile
10/08/11 17:04:34 CEST: Missing artifact
org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile
10/08/11 17:04:34 CEST: Missing artifact
org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile
10/08/11 17:04:34 CEST: Missing artifact
org.jboss.cache:jbosscache-core:jar:3.1.0.GA:compile



--
View this message in context:
http://maven.40175.n5.nabble.com/Problem-adding-hibernate-jbosscache2-to-my-project-tp4685996p4686132.html

Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden 
email]<http://user/SendEmail.jtp?type=node&node=4686181&i=0>
For additional commands, e-mail: [hidden 
email]<http://user/SendEmail.jtp?type=node&node=4686181&i=1>



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden 
email]<http://user/SendEmail.jtp?type=node&node=4686181&i=2>
For additional commands, e-mail: [hidden 
email]<http://user/SendEmail.jtp?type=node&node=4686181&i=3>



------------------------------
  If you reply to this email, your message will be added to the discussion
below:

http://maven.40175.n5.nabble.com/Problem-adding-hibernate-jbosscache2-to-my-project-tp4685996p4686181.html
  To unsubscribe from Problem adding hibernate-jbosscache2 to my project, click
here<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4685996&code=Y2FsaW5jb3NtYUBnbWFpbC5jb218NDY4NTk5NnwtODMyNDk5MTY1>.






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to