[Maven][Teneo] Problems with resolving org.hibernate.criterion [message #1077199] |
Thu, 01 August 2013 11:08 |
John M. Messages: 198 Registered: July 2010 |
Senior Member |
|
|
Hello,
I am trying to set up my maven build for an EMF application using teneo with hibernate.
In general it works but it can't resolve the package org.hibernate.criterion.
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: processAnalyzer.core 1.0.0.qualifier
[ERROR] Missing requirement: org.eclipse.emf.teneo.hibernate 2.0.1.v201302282249 requires 'package org.hibernate.criterion [4.0.0,5.0.0)' but it could not be
found
[ERROR] Cannot satisfy dependency: processAnalyzer.core 1.0.0.qualifier depends on: bundle org.eclipse.emf.teneo.hibernate 2.0.1
[ERROR]
[ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from org.eclipse.e
mf.teneo.hibernate 2.0.1.v201302282249 to package org.hibernate.criterion [4.0.0,5.0.0).", "Unable to satisfy dependency from processAnalyzer.core 1.0.0.qualifi
er to bundle org.hibernate 4.1.1.", "No solution found because the problem is unsatisfiable."] -> [Help 1]
My maven pom.xml contains following dependencies:
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>4.1.1.Final</version>
</dependency>
<dependency>
<groupId>org.eclipse.emf</groupId>
<artifactId>org.eclipse.emf.teneo.hibernate</artifactId>
<version>2.0.1-v201302282249</version>
</dependency>
<dependency>
<groupId>org.eclipse.emf</groupId>
<artifactId>
org.eclipse.emf.teneo.hibernate.mapper
</artifactId>
<version>2.0.1-v201302282249</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.11</version>
</dependency>
<dependency>
<groupId>org.eclipse.emf</groupId>
<artifactId>org.eclipse.emf.teneo</artifactId>
<version>2.0.1-v201302282249</version>
</dependency>
<dependency>
<groupId>org.eclipse.emf</groupId>
<artifactId>org.eclipse.emf.teneo.annotations</artifactId>
<version>2.0.1-v201302282249</version>
</dependency>
</dependencies>
Regarding http://mvnrepository.com/artifact/org.hibernate/hibernate-core/4.1.1.Final I am using the right hibernate artifact. The package list contains the missing package.
What is wrong? Thanks for any hints.
[Updated on: Thu, 01 August 2013 14:40] Report message to a moderator
|
|
|
Re: Maven project and teneo problems with resolving org.hibernate.criterion [message #1077940 is a reply to message #1077199] |
Fri, 02 August 2013 10:37 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi John,
I have no idea why this fails. I am using this same teneo version with maven a few times a week and it works fine with me...
The only thing is that I use http://search.maven.org/ maybe there is a difference with your repository.
gr. Martin
On 08/01/2013 01:08 PM, John M. wrote:
> Hello,
>
> I am trying to set up my maven build for an EMF application using teneo with hibernate.
> In general it works but it can't resolve the package org.hibernate.criterion.
> [ERROR] Cannot resolve project dependencies:
> [ERROR] Software being installed: processAnalyzer.core 1.0.0.qualifier
> [ERROR] Missing requirement: org.eclipse.emf.teneo.hibernate 2.0.1.v201302282249 requires 'package
> org.hibernate.criterion [4.0.0,5.0.0)' but it could not be
> found
> [ERROR] Cannot satisfy dependency: processAnalyzer.core 1.0.0.qualifier depends on: bundle
> org.eclipse.emf.teneo.hibernate 2.0.1
> [ERROR]
> [ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable
> to satisfy dependency from org.eclipse.e
> mf.teneo.hibernate 2.0.1.v201302282249 to package org.hibernate.criterion [4.0.0,5.0.0).", "Unable to satisfy dependency
> from processAnalyzer.core 1.0.0.qualifi
> er to bundle org.hibernate 4.1.1.", "No solution found because the problem is unsatisfiable."] -> [Help 1]
>
> My maven pom.xml contains following dependencies:
> <dependencies>
> <dependency>
> <groupId>org.hibernate</groupId>
> <artifactId>hibernate-core</artifactId>
> <version>4.1.1.Final</version>
> </dependency>
> <dependency>
> <groupId>org.eclipse.emf</groupId>
> <artifactId>org.eclipse.emf.teneo.hibernate</artifactId>
> <version>2.0.1-v201302282249</version>
> </dependency>
> <dependency>
> <groupId>org.eclipse.emf</groupId>
> <artifactId>
> org.eclipse.emf.teneo.hibernate.mapper
> </artifactId>
> <version>2.0.1-v201302282249</version>
> </dependency>
> <dependency>
> <groupId>mysql</groupId>
> <artifactId>mysql-connector-java</artifactId>
> <version>5.1.11</version>
> </dependency>
> <dependency>
> <groupId>org.eclipse.emf</groupId>
> <artifactId>org.eclipse.emf.teneo</artifactId>
> <version>2.0.1-v201302282249</version>
> </dependency>
> <dependency>
> <groupId>org.eclipse.emf</groupId>
> <artifactId>org.eclipse.emf.teneo.annotations</artifactId>
> <version>2.0.1-v201302282249</version>
> </dependency>
> </dependencies>
>
> Regarding http://mvnrepository.com/artifact/org.hibernate/hibernate-core/4.1.1.Final I am using the right hibernate
> artifact. The package list contains the missing package.
> What is wrong? Thanks for any hints.
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04402 seconds