Skip to content

Commit f91f325

Browse files
committed
Parent 2.3.0
1 parent a524679 commit f91f325

40 files changed

+54
-48
lines changed

.travis.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
# Use docker-based infrastructure
21
sudo: false
32

43
language: java
54

6-
jdk:
7-
- oraclejdk8
5+
jdk: oraclejdk8
86

97
cache:
108
directories:
119
- "$HOME/.m2/repository"
1210

1311
install:
14-
- rm ~/.m2/settings.xml
15-
- if [ $TRAVIS_PULL_REQUEST = false ] && [ $TRAVIS_BRANCH = master ]; then GOAL=deploy; else GOAL=install; fi
12+
- echo "<settings><servers><server><id>bintray</id><username>\${env.BINTRAY_USER}</username><password>\${env.BINTRAY_KEY}</password></server></servers></settings>" > ~/.m2/settings.xml
13+
- if [[ $TRAVIS_PULL_REQUEST = false ]] && [[ $TRAVIS_BRANCH = master ]] || [[ $TRAVIS_TAG = v* ]]; then GOAL=deploy; else GOAL=install; fi
14+
- if [[ $TRAVIS_TAG = v* ]]; then ADDITIONAL_PROFILES=release; mvn -q -U org.seedstack:seedstack-maven-plugin:release; else ADDITIONAL_PROFILES=snapshots; fi
1615

17-
script: mvn -q -U -T 2 -Pbuild-number,compatibility,bintray,snapshots,javadoc $GOAL jacoco:report
16+
script: mvn -q -U -T 2 -Pbuild-number,compatibility,bintray,javadoc,$ADDITIONAL_PROFILES $GOAL jacoco:report
1817

1918
after_success: mvn -q coveralls:report -DrepoToken=$COVERALLS_TOKEN

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
* [new] An `ExceptionMapper` for `ConstraintViolationException` is provided by default.
44
* [new] The `ValidatorFactory` is now injectable.
5-
* [brk] The `ValidationService` is deprecated.
5+
* [chg] The `ValidationService` is deprecated and replaced by `Validator` from the spec (injected or obtained through `ValidatorFactory`).
66
* [brk] The `org.seedstack.validation.ValidationException` is replaced by the standard `ConstraintViolationException`.
77

8+
# Version 2.1.0 (2015-11-15)
9+
10+
* [chg] Refactored as an add-on and updated to work with Seed 2.1.0+
11+
12+
# Version 2.0.0 (2015-07-30)
13+
14+
* [new] Initial Open-Source release.

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
3-
Copyright (c) 2013-2015, The SeedStack authors <http://seedstack.org>
3+
Copyright (c) 2013-2016, The SeedStack authors <http://seedstack.org>
44
55
This Source Code Form is subject to the terms of the Mozilla Public
66
License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -14,18 +14,18 @@
1414
<parent>
1515
<groupId>org.seedstack.poms</groupId>
1616
<artifactId>parent-internal</artifactId>
17-
<version>2.1.0</version>
17+
<version>2.3.0</version>
1818
</parent>
1919

2020
<groupId>org.seedstack.addons.validation</groupId>
2121
<artifactId>validation</artifactId>
2222
<version>2.2.0-SNAPSHOT</version>
2323

2424
<properties>
25-
<seed.version>2.1.0</seed.version>
25+
<seed.version>2.2.0-SNAPSHOT</seed.version>
2626
<hibernate-validator.version>5.1.3.Final</hibernate-validator.version>
2727

28-
<compatibility.skip>true</compatibility.skip>
28+
<compatibility.version>2.1.0</compatibility.version>
2929
</properties>
3030

3131
<build>

src/it/java/org/seedstack/validation/internal/FieldValidationKoIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-2015, The SeedStack authors <http://seedstack.org>
2+
* Copyright (c) 2013-2016, The SeedStack authors <http://seedstack.org>
33
*
44
* This Source Code Form is subject to the terms of the Mozilla Public
55
* License, v. 2.0. If a copy of the MPL was not distributed with this

src/it/java/org/seedstack/validation/internal/FieldValidationOkIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-2015, The SeedStack authors <http://seedstack.org>
2+
* Copyright (c) 2013-2016, The SeedStack authors <http://seedstack.org>
33
*
44
* This Source Code Form is subject to the terms of the Mozilla Public
55
* License, v. 2.0. If a copy of the MPL was not distributed with this

src/it/java/org/seedstack/validation/internal/InjectionsIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-2015, The SeedStack authors <http://seedstack.org>
2+
* Copyright (c) 2013-2016, The SeedStack authors <http://seedstack.org>
33
*
44
* This Source Code Form is subject to the terms of the Mozilla Public
55
* License, v. 2.0. If a copy of the MPL was not distributed with this

src/it/java/org/seedstack/validation/internal/ValidationPluginIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-2015, The SeedStack authors <http://seedstack.org>
2+
* Copyright (c) 2013-2016, The SeedStack authors <http://seedstack.org>
33
*
44
* This Source Code Form is subject to the terms of the Mozilla Public
55
* License, v. 2.0. If a copy of the MPL was not distributed with this

src/it/java/org/seedstack/validation/internal/ValidationServiceIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-2015, The SeedStack authors <http://seedstack.org>
2+
* Copyright (c) 2013-2016, The SeedStack authors <http://seedstack.org>
33
*
44
* This Source Code Form is subject to the terms of the Mozilla Public
55
* License, v. 2.0. If a copy of the MPL was not distributed with this

src/it/java/org/seedstack/validation/internal/pojo/Bean.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-2015, The SeedStack authors <http://seedstack.org>
2+
* Copyright (c) 2013-2016, The SeedStack authors <http://seedstack.org>
33
*
44
* This Source Code Form is subject to the terms of the Mozilla Public
55
* License, v. 2.0. If a copy of the MPL was not distributed with this

src/it/java/org/seedstack/validation/internal/pojo/FieldValidationKO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-2015, The SeedStack authors <http://seedstack.org>
2+
* Copyright (c) 2013-2016, The SeedStack authors <http://seedstack.org>
33
*
44
* This Source Code Form is subject to the terms of the Mozilla Public
55
* License, v. 2.0. If a copy of the MPL was not distributed with this

0 commit comments

Comments
 (0)