File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 20
20
<maven .compiler.target>1.7</maven .compiler.target>
21
21
<maven .compiler.source>1.7</maven .compiler.source>
22
22
<hibernate-validator .version>5.0.1.Final</hibernate-validator .version>
23
+ <el .api.version>2.2</el .api.version>
23
24
</properties >
24
25
25
26
<dependencies >
32
33
<groupId >org.hibernate</groupId >
33
34
<artifactId >hibernate-validator</artifactId >
34
35
<version >${hibernate-validator.version} </version >
36
+ <!--
37
+ Using compile scope here, and not runtime, because we may need to use some
38
+ hibernate-validator specific annotations (like @Email)
39
+ -->
40
+ <scope >compile</scope >
41
+ </dependency >
42
+ <dependency >
43
+ <groupId >javax.el</groupId >
44
+ <artifactId >el-api</artifactId >
45
+ <version >${el.api.version} </version >
46
+ </dependency >
47
+ <dependency >
48
+ <groupId >org.glassfish.web</groupId >
49
+ <artifactId >el-impl</artifactId >
50
+ <version >${el.api.version} </version >
51
+ <scope >runtime</scope >
35
52
</dependency >
36
53
</dependencies >
37
54
You can’t perform that action at this time.
0 commit comments