You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ccc <ca...@gmail.com> on 2011/08/10 16:30:32 UTC

Problem adding hibernate-jbosscache2 to my project

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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem adding hibernate-jbosscache2 to my project

Posted by Laird Nelson <lj...@gmail.com>.
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/content/groups/glassfish/org/hibernate/hibernate-jbosscache2/3.3.2.GA/hibernate-jbosscache2-3.3.2.GA.pom
Downloaded:
http://maven.glassfish.org/content/groups/glassfish/org/hibernate/hibernate-jbosscache2/3.3.2.GA/hibernate-jbosscache2-3.3.2.GA.pom(7
KB at 0.1 KB/sec)
Downloading:
http://download.java.net/maven/glassfish/org/hibernate/hibernate-parent/3.3.2.GA/hibernate-parent-3.3.2.GA.pom
Downloading:
http://maven.glassfish.org/content/groups/glassfish/org/hibernate/hibernate-parent/3.3.2.GA/hibernate-parent-3.3.2.GA.pom
Downloaded:
http://maven.glassfish.org/content/groups/glassfish/org/hibernate/hibernate-parent/3.3.2.GA/hibernate-parent-3.3.2.GA.pom(16
KB at 8.0 KB/sec)
Downloading:
http://download.java.net/maven/glassfish/org/jboss/cache/jbosscache-core/3.1.0.GA/jbosscache-core-3.1.0.GA.pom
Downloading:
http://maven.glassfish.org/content/groups/glassfish/org/jboss/cache/jbosscache-core/3.1.0.GA/jbosscache-core-3.1.0.GA.pom
Downloaded:
http://maven.glassfish.org/content/groups/glassfish/org/jboss/cache/jbosscache-core/3.1.0.GA/jbosscache-core-3.1.0.GA.pom(22
KB at 7.8 KB/sec)
Downloading:
http://download.java.net/maven/glassfish/jgroups/jgroups/2.6.7.GA/jgroups-2.6.7.GA.pom
Downloading:
http://maven.glassfish.org/content/groups/glassfish/jgroups/jgroups/2.6.7.GA/jgroups-2.6.7.GA.pom
Downloaded:
http://maven.glassfish.org/content/groups/glassfish/jgroups/jgroups/2.6.7.GA/jgroups-2.6.7.GA.pom(3
KB at 1.0 KB/sec)
Downloading:
http://download.java.net/maven/glassfish/org/jboss/jboss-common-core/2.2.10.GA/jboss-common-core-2.2.10.GA.pom
Downloading:
http://maven.glassfish.org/content/groups/glassfish/org/jboss/jboss-common-core/2.2.10.GA/jboss-common-core-2.2.10.GA.pom
Downloaded:
http://maven.glassfish.org/content/groups/glassfish/org/jboss/jboss-common-core/2.2.10.GA/jboss-common-core-2.2.10.GA.pom(3
KB at 1.3 KB/sec)
Downloading:
http://download.java.net/maven/glassfish/org/jboss/cache/jbosscache-core/3.1.0.GA/jbosscache-core-3.1.0.GA.jar
Downloading:
http://download.java.net/maven/glassfish/org/hibernate/hibernate-jbosscache2/3.3.2.GA/hibernate-jbosscache2-3.3.2.GA.jar
Downloading:
http://download.java.net/maven/glassfish/jgroups/jgroups/2.6.7.GA/jgroups-2.6.7.GA.jar
Downloading:
http://download.java.net/maven/glassfish/org/jboss/jboss-common-core/2.2.10.GA/jboss-common-core-2.2.10.GA.jar
Downloading:
http://maven.glassfish.org/content/groups/glassfish/org/hibernate/hibernate-jbosscache2/3.3.2.GA/hibernate-jbosscache2-3.3.2.GA.jar
Downloading:
http://maven.glassfish.org/content/groups/glassfish/org/jboss/cache/jbosscache-core/3.1.0.GA/jbosscache-core-3.1.0.GA.jar
Downloading:
http://maven.glassfish.org/content/groups/glassfish/jgroups/jgroups/2.6.7.GA/jgroups-2.6.7.GA.jar
Downloading:
http://maven.glassfish.org/content/groups/glassfish/org/jboss/jboss-common-core/2.2.10.GA/jboss-common-core-2.2.10.GA.jar
Downloaded:
http://maven.glassfish.org/content/groups/glassfish/org/jboss/jboss-common-core/2.2.10.GA/jboss-common-core-2.2.10.GA.jar(442
KB at 105.0 KB/sec)
Downloaded:
http://maven.glassfish.org/content/groups/glassfish/org/hibernate/hibernate-jbosscache2/3.3.2.GA/hibernate-jbosscache2-3.3.2.GA.jar(59
KB at 2.6 KB/sec)
Downloaded:
http://maven.glassfish.org/content/groups/glassfish/jgroups/jgroups/2.6.7.GA/jgroups-2.6.7.GA.jar(1965
KB at 78.9 KB/sec)
Downloaded:
http://maven.glassfish.org/content/groups/glassfish/org/jboss/cache/jbosscache-core/3.1.0.GA/jbosscache-core-3.1.0.GA.jar(1126
KB at 39.9 KB/sec)
[INFO]
[INFO] --- maven-dependency-plugin:2.2:go-offline (default-cli) @
hibernate-ips ---
[INFO] Resolved: hibernate-jbosscache2-3.3.2.GA.jar

Hope that helps.

Best,
Laird

Re: Problem adding hibernate-jbosscache2 to my project

Posted by Laird Nelson <lj...@gmail.com>.
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

Posted by Ron Wheeler <rw...@artifact-software.com>.
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 would be elegant if I ever 
finished it and tested it.

I just wanted to keep the conversation going to see if anyone has 
already hit that.
We don't use jboss so I can not go to my development team for answers.

You might try to get an answer in the JBoss forum since this is more of 
a JBoss issue than a Maven problem
I suspect that many people there would likely have solved this already 
since most of them use Maven.

Ron

On 10/08/2011 12:32 PM, ccc wrote:
> Actually, the repository they tell you to add in that link
>
> <repository>
>    <id>JBOSS</id>
>    <name>JBoss Repository</name>
>    <url>http://repository.jboss.org/maven2/</url>
> </repository>
>
> 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 project in eclipse, add
> the good jboss repo in settings.xml and try to add the dependency to
> hibernate-jbosscache2 ?
>
> Here is the jboss page with their repos:
> http://community.jboss.org/wiki/MavenGettingStarted-Developers
>
> Just to see if you get the same error.
> Thanks anyway for trying to help. It's a very frustrating issue, to be
> honest, as it's the 1st time this happens, and I've been using Maven for a
> few years already.
>
>
>
> On Wed, Aug 10, 2011 at 6:25 PM, Ron Wheeler [via Maven]<
> ml-node+4686438-2114658445-240519@n5.nabble.com>  wrote:
>
>> 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 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 repositories from jboss as well
>> as
>>> mirrors of jboss. Nothing worked.
>>>
>>> On Wed, Aug 10, 2011 at 5:34 PM, Ron Wheeler [via Maven]<
>>> [hidden email]<http://user/SendEmail.jtp?type=node&node=4686438&i=0>>
>>   wrote:
>>>> 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]<
>>>>> [hidden email]<http://user/SendEmail.jtp?type=node&node=4686247&i=0>>
>>>>    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<
>>>>>>
>>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [hidden email]<
>> http://user/SendEmail.jtp?type=node&node=4686247&i=1>
>>>> For additional commands, e-mail: [hidden email]<
>> http://user/SendEmail.jtp?type=node&node=4686247&i=2>
>>>>
>>>>
>>>> ------------------------------
>>>>    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-tp4685996p4686247.html
>>>>    To unsubscribe from Problem adding hibernate-jbosscache2 to my
>> project, click
>>>> here<
>>>>
>>> --
>>> View this message in context:
>> http://maven.40175.n5.nabble.com/Problem-adding-hibernate-jbosscache2-to-my-project-tp4685996p4686270.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=4686438&i=1>
>> For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4686438&i=2>
>>
>>
>>
>> ------------------------------
>>   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-tp4685996p4686438.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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem adding hibernate-jbosscache2 to my project

Posted by ccc <ca...@gmail.com>.
Actually, the repository they tell you to add in that link

<repository>
  <id>JBOSS</id>
  <name>JBoss Repository</name>
  <url>http://repository.jboss.org/maven2/</url>
</repository>

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 project in eclipse, add
the good jboss repo in settings.xml and try to add the dependency to
hibernate-jbosscache2 ?

Here is the jboss page with their repos:
http://community.jboss.org/wiki/MavenGettingStarted-Developers

Just to see if you get the same error.
Thanks anyway for trying to help. It's a very frustrating issue, to be
honest, as it's the 1st time this happens, and I've been using Maven for a
few years already.



On Wed, Aug 10, 2011 at 6:25 PM, Ron Wheeler [via Maven] <
ml-node+4686438-2114658445-240519@n5.nabble.com> wrote:

>
> 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 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 repositories from jboss as well
> as
> > mirrors of jboss. Nothing worked.
> >
> > On Wed, Aug 10, 2011 at 5:34 PM, Ron Wheeler [via Maven]<
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4686438&i=0>>
>  wrote:
> >
> >> 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]<
> >>> [hidden email]<http://user/SendEmail.jtp?type=node&node=4686247&i=0>>
> >>   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<
> >>>>
> >>>>
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=4686247&i=1>
> >> For additional commands, e-mail: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=4686247&i=2>
> >>
> >>
> >>
> >> ------------------------------
> >>   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-tp4685996p4686247.html
> >>   To unsubscribe from Problem adding hibernate-jbosscache2 to my
> project, click
> >> here<
>
> >>
> >>
> >
> > --
> > View this message in context:
> http://maven.40175.n5.nabble.com/Problem-adding-hibernate-jbosscache2-to-my-project-tp4685996p4686270.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=4686438&i=1>
> For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4686438&i=2>
>
>
>
> ------------------------------
>  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-tp4685996p4686438.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>.
>
>



-- 
Best regards,
Calin Cosma


--
View this message in context: http://maven.40175.n5.nabble.com/Problem-adding-hibernate-jbosscache2-to-my-project-tp4685996p4686477.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Problem adding hibernate-jbosscache2 to my project

Posted by Ron Wheeler <rw...@artifact-software.com>.
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 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 repositories from jboss as well as
> mirrors of jboss. Nothing worked.
>
> On Wed, Aug 10, 2011 at 5:34 PM, Ron Wheeler [via Maven]<
> ml-node+4686247-508618805-240519@n5.nabble.com>  wrote:
>
>> 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]<
>>> [hidden email]<http://user/SendEmail.jtp?type=node&node=4686247&i=0>>
>>   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<
>>>>
>>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4686247&i=1>
>> For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4686247&i=2>
>>
>>
>>
>> ------------------------------
>>   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-tp4685996p4686247.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>.
>>
>>
>
> --
> View this message in context: http://maven.40175.n5.nabble.com/Problem-adding-hibernate-jbosscache2-to-my-project-tp4685996p4686270.html
> Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: Problem adding hibernate-jbosscache2 to my project

Posted by ccc <ca...@gmail.com>.
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 repositories from jboss as well as
mirrors of jboss. Nothing worked.

On Wed, Aug 10, 2011 at 5:34 PM, Ron Wheeler [via Maven] <
ml-node+4686247-508618805-240519@n5.nabble.com> wrote:

> 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]<
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4686247&i=0>>
>  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<
> >>
> >>
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4686247&i=1>
> For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4686247&i=2>
>
>
>
> ------------------------------
>  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-tp4685996p4686247.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>.
>
>


--
View this message in context: http://maven.40175.n5.nabble.com/Problem-adding-hibernate-jbosscache2-to-my-project-tp4685996p4686270.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Problem adding hibernate-jbosscache2 to my project

Posted by Ron Wheeler <rw...@artifact-software.com>.
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-240519@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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem adding hibernate-jbosscache2 to my project

Posted by ccc <ca...@gmail.com>.
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-240519@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>.
>
>



-- 
Best regards,
Calin Cosma


--
View this message in context: http://maven.40175.n5.nabble.com/Problem-adding-hibernate-jbosscache2-to-my-project-tp4685996p4686212.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Problem adding hibernate-jbosscache2 to my project

Posted by Ron Wheeler <rw...@artifact-software.com>.
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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


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


Re: Problem adding hibernate-jbosscache2 to my project

Posted by ccc <ca...@gmail.com>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem adding hibernate-jbosscache2 to my project

Posted by Ron Wheeler <rw...@artifact-software.com>.
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 
versions of artifacts.

Ron

On 10/08/2011 10:30 AM, ccc wrote:
> 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-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


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


Re: Problem adding hibernate-jbosscache2 to my project

Posted by Laird Nelson <lj...@gmail.com>.
On Wed, Aug 10, 2011 at 3:41 PM, ccc <ca...@gmail.com> 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:

<repository>
      <id>maven.glassfish.org</id>
      <name>maven.glassfish.org Glassfish Repository Group</name>
      <url>http://maven.glassfish.org/content/groups/glassfish/</url>
      <layout>default</layout>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>

...is where my Maven happened to download the hibernate-jbosscache2 artifact
you were talking about earlier.  I hope that helps.

Best,
Laird

Re: Problem adding hibernate-jbosscache2 to my project

Posted by Ron Wheeler <rw...@artifact-software.com>.
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 results I get :)
>
> I am not the admin of our servers, but maybe I'll talk the guy into putting
> up a nexus of our own.
Trying to use Maven without your own repo is a good way to lose a ton of 
time.
We ran for about 2 years without a repo and once we put it in, we 
realized how much grief we went through for nothing.
It is easy to put in and once you get it configured and your 
settings.xml set up, Maven becomes so much easier and so much more 
transparent.

It is well worth the effort to get your server admin to set up a Nexus 
or some other repo.
We are using the free version and it saves us a lot of time.

- Once you set up your repo proxies, individual developers don't have to 
worry about finding things.
- Once you upload the third party libraries that have licenses that 
prevent them from being in a public repo, everyone has access to it 
without having to think about downloading it.
- A repo forces you to think about releases and SNAPSHOTs in a rational 
way so that your software development is organized.
- Just knowing that a release is immutable (except by asking the Nexus 
administrator to remove it) means that people take releasing a library 
or utility seriously.
- Being able to deploy SNAPSHOTS that others can use means that 
SNAPSHOTS start to get little guarantees about their level of 
functionality and degree of testing that makes collaborative development 
more productive.

Just wish we had done it earlier.

>
> On Wed, Aug 10, 2011 at 10:09 PM, Wayne Fay [via Maven]<
> ml-node+4687106-319269717-240519@n5.nabble.com>  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.
>>> 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 appreciated.
>> mvn -X compile may provide additional useful debugging information. Or
>> it may not, some people have trouble grokking all the info it spews.
>>
>> Are you behind an Internet proxy?
>> Are you connecting to a local Nexus or other MRM instance? [If not,
>> you should consider installing something...]
>> What does the updatePolicy for this repository look like in
>> settings.xml or Nexus config?
>> etc
>>
>> You should also try mvn -U to force an update of any jars/poms that
>> are involved in this build. Perhaps the pom file will be downloadable
>> when you try again. If not, there isn't a whole lot we'll be able to
>> do to help you. You could also just download the pom file and copy it
>> to the proper place in your local repo cache just to get past this
>> issue.
>>
>> Wayne
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4687106&i=0>
>> For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4687106&i=1>
>>
>>
>>
>> ------------------------------
>>   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-tp4685996p4687106.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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem adding hibernate-jbosscache2 to my project

Posted by Wayne Fay <wa...@gmail.com>.
> 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 working right.

Wayne

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


Re: Problem adding hibernate-jbosscache2 to my project

Posted by ccc <ca...@gmail.com>.
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 our servers, but maybe I'll talk the guy into putting
up a nexus of our own.


On Wed, Aug 10, 2011 at 10:09 PM, Wayne Fay [via Maven] <
ml-node+4687106-319269717-240519@n5.nabble.com> 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.
> > 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 appreciated.
>
> mvn -X compile may provide additional useful debugging information. Or
> it may not, some people have trouble grokking all the info it spews.
>
> Are you behind an Internet proxy?
> Are you connecting to a local Nexus or other MRM instance? [If not,
> you should consider installing something...]
> What does the updatePolicy for this repository look like in
> settings.xml or Nexus config?
> etc
>
> You should also try mvn -U to force an update of any jars/poms that
> are involved in this build. Perhaps the pom file will be downloadable
> when you try again. If not, there isn't a whole lot we'll be able to
> do to help you. You could also just download the pom file and copy it
> to the proper place in your local repo cache just to get past this
> issue.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4687106&i=0>
> For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4687106&i=1>
>
>
>
> ------------------------------
>  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-tp4685996p4687106.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>.
>
>



-- 
Best regards,
Calin Cosma


--
View this message in context: http://maven.40175.n5.nabble.com/Problem-adding-hibernate-jbosscache2-to-my-project-tp4685996p4687456.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Problem adding hibernate-jbosscache2 to my project

Posted by Wayne Fay <wa...@gmail.com>.
> 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 appreciated.

mvn -X compile may provide additional useful debugging information. Or
it may not, some people have trouble grokking all the info it spews.

Are you behind an Internet proxy?
Are you connecting to a local Nexus or other MRM instance? [If not,
you should consider installing something...]
What does the updatePolicy for this repository look like in
settings.xml or Nexus config?
etc

You should also try mvn -U to force an update of any jars/poms that
are involved in this build. Perhaps the pom file will be downloadable
when you try again. If not, there isn't a whole lot we'll be able to
do to help you. You could also just download the pom file and copy it
to the proper place in your local repo cache just to get past this
issue.

Wayne

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


Re: Problem adding hibernate-jbosscache2 to my project

Posted by ccc <ca...@gmail.com>.
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 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 appreciated.
I am thinking that maybe getting some debugging info from Maven might help -
to see what is it doing when trying to get that artifact.

PS: I already posted a message on JBoss's forums. Still waiting for a reply.


On Wed, Aug 10, 2011 at 9:08 PM, Wayne Fay [via Maven] <
ml-node+4686896-1511089207-240519@n5.nabble.com> wrote:

> > 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 stem from this problem.
>
> Resolve the missing pom file and you will fix your problems.
>
> This pom file should be hosted by JBoss in their repo along with their
> other artifacts. I suggest you contact them and ask why this pom is
> not available.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4686896&i=0>
> For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4686896&i=1>
>
>
>
> ------------------------------
>  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-tp4685996p4686896.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>.
>
>



-- 
Best regards,
Calin Cosma


--
View this message in context: http://maven.40175.n5.nabble.com/Problem-adding-hibernate-jbosscache2-to-my-project-tp4685996p4686999.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Problem adding hibernate-jbosscache2 to my project

Posted by Wayne Fay <wa...@gmail.com>.
> 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 stem from this problem.

Resolve the missing pom file and you will fix your problems.

This pom file should be hosted by JBoss in their repo along with their
other artifacts. I suggest you contact them and ask why this pom is
not available.

Wayne

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