Skip to content
Permalink
Browse files
validation - Providing el api & impl dependencies in restx-validation…
…, in order to make interpolation work in validation error messages (like @SiZe)
  • Loading branch information
fcamblor committed Dec 22, 2014
1 parent 91891fe commit 616a005
Showing 1 changed file with 17 additions and 0 deletions.
@@ -20,6 +20,7 @@
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.source>1.7</maven.compiler.source>
<hibernate-validator.version>5.0.1.Final</hibernate-validator.version>
<el.api.version>2.2</el.api.version>
</properties>

<dependencies>
@@ -32,6 +33,22 @@
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>${hibernate-validator.version}</version>
<!--
Using compile scope here, and not runtime, because we may need to use some
hibernate-validator specific annotations (like @Email)
-->
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.el</groupId>
<artifactId>el-api</artifactId>
<version>${el.api.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.web</groupId>
<artifactId>el-impl</artifactId>
<version>${el.api.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>

0 comments on commit 616a005

Please sign in to comment.