-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
validation - Extracting hibernate validator dependency from restx-cor…
…e to new restx-validation module. [BREAKING] It means that to activate bean validation, you will need to explicitely add a dependency on restx-validation module on your project. Startup time on project not using restx-validation will then be improved (no hibernate validator will be loaded) for ~250ms
- Loading branch information
Showing
4 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<parent> | ||
<groupId>io.restx</groupId> | ||
<artifactId>restx-parent</artifactId> | ||
<version>0.34-SNAPSHOT</version> | ||
</parent> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>io.restx</groupId> | ||
<artifactId>restx-validation</artifactId> | ||
<version>0.34-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
<name>restx-validation</name> | ||
|
||
<properties> | ||
<restx.version>0.34-SNAPSHOT</restx.version> | ||
<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> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>io.restx</groupId> | ||
<artifactId>restx-factory</artifactId> | ||
<version>${restx.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.hibernate</groupId> | ||
<artifactId>hibernate-validator</artifactId> | ||
<version>${hibernate-validator.version}</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
4 changes: 3 additions & 1 deletion
4
...va/restx/validation/ValidatorFactory.java → ...va/restx/validation/ValidatorFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters