-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: hibernate-validator 3.1.0GA to maven central repository?
PostPosted: Wed Nov 19, 2008 3:47 pm 
Newbie

Joined: Tue Jun 14, 2005 3:21 pm
Posts: 9
Note that hibernate-validator 3.1.0GA is present in:
http://repository.jboss.com/maven2/org/ ... validator/
but not in
http://repo2.maven.org/maven2/org/hiber ... validator/


The larger issue I'm trying to solve:
I tried using repository.jboss.com as an additional maven repository, but experienced problems identical to http://opensource.atlassian.com/project ... owse/HV-66. Even though the problem was fixed in hibernate-validator 3.1.0CR2, I still see:

java.lang.NoSuchMethodError: org.hibernate.event.PreUpdateEvent.getSource()Lorg/hibernate/event/EventSource;
at org.hibernate.validator.event.ValidateEventListener.onPreUpdate(ValidateEventListener.java:177)



Here are my hibernate dependencies:
<!-- **********************
Hibernate dependencies
********************** -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>3.3.1.GA</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<version>3.4.0.GA</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>3.1.0.GA</version>
</dependency>

<!-- Use Javassist as Hibernate's bytecode provider -->
<dependency>
<groupId>javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.4.GA</version>
</dependency>
<!-- Logging Setup (required) -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.5.2</version>
</dependency>

<dependency>
<groupId>javax.persistence</groupId>
<artifactId>persistence-api</artifactId>
<version>1.0</version>
</dependency>
<!-- **********************
End Hibernate dependencies
********************** -->

Per http://raibledesigns.com/rd/entry/upgra ... ate_to_3_4


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.