dev@glassfish.java.net

Re: About the integration of hibernate-validator

From: Tang Yong <tangyong_at_cn.fujitsu.com>
Date: Tue, 09 Oct 2012 22:40:08 +0900

Hi Team,

  The problem of hibernate-validator building because of encoding's
inconsistence(For example, my os encoding is jp,but on
hibernate-validator's
pom,<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
is set) has been resolved.

  I want to tell team that if in the future, you met the problem, the
simplest handing way is:

1) modify the jaxb2-maven-plugin's version in hibernate-validator
4.3.0.Final's pom into 1.5 because jaxb2-maven-plugin's community has
supported
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> from
1.4 [1]
[1]:http://jira.codehaus.org/browse/MJAXB-53

2) modify
org\codehaus\mojo\jaxb2-maven-plugin\1.5\jaxb2-maven-plugin-1.5.pom on
your local maven repository liking the following:

<groupId>com.sun.xml.bind</groupId>
      <artifactId>jaxb-xjc</artifactId>
      <version>2.1.13</version>
</dependency>

<dependency>
      <groupId>com.sun.xml.bind</groupId>
      <artifactId>jaxb-xjc</artifactId>
      <version>2.1.12</version>
</dependency>

I am sorry for interrupting team.
Thanks!
--Tang

Tang Yong wrote:
> Hi Team,
>
> Has anyone ever done the integration of hibernate-validator? Nowadays,
> I met some building problems about hibernate-validator 4.3.0.Final[1] on
> windows platform.
>
> [1]:
> https://svn.java.net/svn/glassfish~svn/trunk/external/modules/bean-validator/hibernate-validator/4.3.0.Final
>
> Thanks!
> --Tang
>
>
>