Thursday, February 19, 2015

Hibernate Validator Issue

Hey guys, I'm trying to get the GWT Validation working but I keep getting a ton of compile errors. I am using Maven to import the dependencies including the Hibernate Sources which I am manually installing with maven. This is the error I get when compiling: http://pastebin.com/TBt0ps4K and here is how I have it set up.

Parent POM:

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${maven-install-plugin.version}</version>
<inherited>false</inherited>
<executions>
<execution>
<id>install-hibernate-validator</id>
<phase>validate</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<file>${basedir}/lib/hibernate-validator-4.1.0.Final-sources.jar</file>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator-sources</artifactId>
<version>${hibernate-validator.version}</version>
<packaging>jar</packaging>
<generatePom>true</generatePom>
</configuration>
</execution>
</executions>
</plugin>

 ...

<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>

<version>${hibernate-validator.version}</version></dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator-sources</artifactId>
<version>${hibernate-validator.version}</version>
</dependency>

...

Modules POM:

<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator-sources</artifactId>
</dependency>


Any Ideas what might be going on here?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment