[hibernate-dev] Hibernate Core 3.5 and Bean Validation integrated

Steve Ebersole steve at hibernate.org
Thu May 7 09:17:33 EDT 2009


This is already set up in core if you wanted to take a look-see.

Basically you need to have a <distributionManagement/> section in your
pom (specifically the nested <snapshotRepository/> element.  If you use
the core parent pom this is already there for you:
http://fisheye.jboss.org/browse/Hibernate/core/branches/Branch_3_3/parent/pom.xml?r=16094#l340

Also, the version  in the project you are building must indicate a
SNAPSHOT (<version>x.y.z-SNAPSHOT</version>)

After that its a simple matter of running 'mvn deploy'.  'deploy' here
means "doe the build and then publish to the appropriate repository.

On Thu, 2009-05-07 at 12:05 +0200, Emmanuel Bernard wrote:
> It has a couple of SNAPSHOT external deps
> validation-api that is and then hibernate-validator
> 
> How can we say hudson to go dl the source and build it in it's local  
> maven cache?
> Otherwise, there is probably a way to publish official snapshots but I  
> don't know how to do that.
> 
> 
> 
> 
> 
> On  May 7, 2009, at 10:46, Juraci Paixao Krohling wrote:
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > It seems it needs something else (maybe a pom.xml extra spice?).
> > The build is breaking due to compilation failure:
> >
> > http://hudson.qa.jboss.com/hudson/job/hibernate-all-trunk/
> >
> > annotations/src/main/java/org/hibernate/cfg/beanvalidation/ 
> > BeanValidationEventListener.java:[83,38]
> > cannot find symbol
> > symbol  : constructor
> > ConstraintViolationException 
> > (java 
> > .lang.String,java.util.Set<javax.validation.ConstraintViolation<?>>)
> > location: class javax.validation.ConstraintViolationException
> >
> > - - Juca.
> >
> > Emmanuel Bernard escreveu:
> >> I've added support for:
> >> - validation modes
> >> - custom groups
> >> - provided ValidatorFactory
> >> - automatic VF creation if needed
> >> - raise of the ConstraintViolationException
> >> - custom TraversableResolver that ignores associations
> >> - DDL statement generation
> >>
> >> Please test out, in trunk for all.
> >>
> >>
> >> ------------------------------------------------------------------------
> >>
> >> _______________________________________________
> >> hibernate-dev mailing list
> >> hibernate-dev at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/hibernate-dev
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.9 (GNU/Linux)
> > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
> >
> > iEYEARECAAYFAkoCn+wACgkQPHUa7A/NqbpQugCcDsgWDFuDyI3H64GdZAWdWF5u
> > 1/AAnj3bL3rL+WOXdE90obTwk4+c4qnu
> > =ZWZi
> > -----END PGP SIGNATURE-----
> 
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
-- 
Steve Ebersole <steve at hibernate.org>
Hibernate.org




More information about the hibernate-dev mailing list