Re: Problem adding hibernate-jbosscache2 to my project

2011-08-11 Thread Wayne Fay
> I ran Maven from Eclipse, but I'll run it from the console and try your > suggestions. > I will report back with whatever results I get :) If you are actually using m2eclipse, you should probably ask for help on the m2eclipse user list. There may be some Eclipse-specific reason this isn't workin

Re: Problem adding hibernate-jbosscache2 to my project

2011-08-10 Thread Ron Wheeler
On 10/08/2011 5:31 PM, ccc wrote: I am behind a proxy, but I doubt that's causing the issue. It hasn't caused any issue with other artifacts, but ... I can't be 100% sure. I ran Maven from Eclipse, but I'll run it from the console and try your suggestions. I will report back with whatever result

Re: Problem adding hibernate-jbosscache2 to my project

2011-08-10 Thread ccc
I am behind a proxy, but I doubt that's causing the issue. It hasn't caused any issue with other artifacts, but ... I can't be 100% sure. I ran Maven from Eclipse, but I'll run it from the console and try your suggestions. I will report back with whatever results I get :) I am not the admin of ou

Re: Problem adding hibernate-jbosscache2 to my project

2011-08-10 Thread Wayne Fay
> I had already tried putting the JBOss repo in my settings.xml, I even tried > using a mirror of it provided by some other company. Nothing worked. > That's why this issue has been so frustrating. > > So any ideas or suggestions about how to fix the issue or work around it > would be greatly appre

Re: Problem adding hibernate-jbosscache2 to my project

2011-08-10 Thread Laird Nelson
On Wed, Aug 10, 2011 at 3:41 PM, ccc wrote: > I had already tried putting the JBOss repo in my settings.xml, I even tried > using a mirror of it provided by some other company. Nothing worked. > As you can see from my earlier message, this repository: maven.glassfish.org maven.glas

Re: Problem adding hibernate-jbosscache2 to my project

2011-08-10 Thread ccc
Wayne, Laird First, thanks for trying to help. Second, I pretty much figured that out before posting the question. I guess my 1st message was too verbose, but if you look at the end of it, I said I could see the jbosscache-core artifact in JBoss's repo, but for some reason my maven couldn't. I ha

Re: Problem adding hibernate-jbosscache2 to my project

2011-08-10 Thread Wayne Fay
> 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 This is the only important line in your entire log. This says that Maven cannot find the pom file for jbosscache-core version 3.1.0.GA. All of your problems

Re: Problem adding hibernate-jbosscache2 to my project

2011-08-10 Thread Laird Nelson
More info from an actual resolution: [INFO] <<< maven-dependency-plugin:2.2:go-offline (default-cli) @ my-project <<< Downloading: http://download.java.net/maven/glassfish/org/hibernate/hibernate-jbosscache2/3.3.2.GA/hibernate-jbosscache2-3.3.2.GA.pom Downloading: http://maven.glassfish.org/conten

Re: Problem adding hibernate-jbosscache2 to my project

2011-08-10 Thread Laird Nelson
Looks like Sonatype's repository has it: https://oss.sonatype.org/index.html#nexus-search;quick~hibernate-jbosscache2 Best, Laird

Re: Problem adding hibernate-jbosscache2 to my project

2011-08-10 Thread Ron Wheeler
I don't have a lot of time to test things and I don't actually do any development work without my staff's permission. They let me set policy, set priorities and do high level design but find my coding contributions incomplete and almost always untested. They will admit, if pressed, that my code w

Re: Problem adding hibernate-jbosscache2 to my project

2011-08-10 Thread ccc
Actually, the repository they tell you to add in that link JBOSS JBoss Repository http://repository.jboss.org/maven2/ is the old JBoss repo. I have added the new one (see my initial message), but even with that one, it doesn't work. Could you maybe try to just create an empty maven proje

Re: Problem adding hibernate-jbosscache2 to my project

2011-08-10 Thread Ron Wheeler
Googling "jbosscache-core maven" turned up this lnk as the number 1 hit. http://www.mvnbrowser.com/artifact-details.html?groupId=org.jboss.cache&artifactId=jbosscache-core Does that help? On 10/08/2011 11:39 AM, ccc wrote: I am adding: *hibernate-**jbosscache2*:jar:3.3.2.GA which has a depen

Re: Problem adding hibernate-jbosscache2 to my project

2011-08-10 Thread ccc
I am adding: *hibernate-**jbosscache2*:jar:3.3.2.GA which has a dependency on *jbosscache-core*-3.1.0.GA They are 2 different things, not 2 versions of the same thing. It seems to me the problem is that Maven can't find the jbosscache-core project. In order to solve this I tried a bunch of reposi

Re: Problem adding hibernate-jbosscache2 to my project

2011-08-10 Thread Ron Wheeler
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

Re: Problem adding hibernate-jbosscache2 to my project

2011-08-10 Thread ccc
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 co

Re: Problem adding hibernate-jbosscache2 to my project

2011-08-10 Thread Ron Wheeler
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

Re: Problem adding hibernate-jbosscache2 to my project

2011-08-10 Thread ccc
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):

Re: Problem adding hibernate-jbosscache2 to my project

2011-08-10 Thread Ron Wheeler
It says that you are calling up 2 versions not that any of them are missing. duplicate declaration of version 3.5.4-Final http://repo1.maven.org/maven2/org/jboss/cache/jbosscache-core/3.1.0.GA/jbosscache-core-3.1.0.GA.jar It looks like you need to clean up your dependency tree to exclude older