Skip to content

Commit c1490a8

Browse files
authored
Merge pull request #12 from adrienlauer/fix-11-validation-exception
Fix startup exception due to validation change
2 parents 458eb00 + c1d5139 commit c1490a8

File tree

62 files changed

+154
-129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+154
-129
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Version 3.0.2 (2019-01-10)
2+
3+
* [fix] Fix issue #11: an exception occurred at startup because the way of accessing the ValidationFactory changed.
4+
15
# Version 3.0.1 (2019-01-10)
26

37
* [fix] During translation of composite specifications (or, and), set the field for each member (avoid "No field has been set" exception).

checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<!--
33
4-
Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
4+
Copyright © 2013-2019, The SeedStack authors <http://seedstack.org>
55
66
This Source Code Form is subject to the terms of the Mozilla Public
77
License, v. 2.0. If a copy of the MPL was not distributed with this

core/pom.xml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
3-
Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
3+
Copyright © 2013-2019, 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,7 +14,7 @@
1414
<parent>
1515
<groupId>org.seedstack.addons.mongodb</groupId>
1616
<artifactId>mongodb</artifactId>
17-
<version>3.0.1-SNAPSHOT</version>
17+
<version>3.0.2-SNAPSHOT</version>
1818
</parent>
1919

2020
<artifactId>mongodb-core</artifactId>
@@ -35,10 +35,16 @@
3535

3636
<dependency>
3737
<groupId>org.seedstack.seed</groupId>
38-
<artifactId>seed-testing</artifactId>
38+
<artifactId>seed-testing-junit4</artifactId>
3939
<version>${seed.version}</version>
4040
<scope>test</scope>
4141
</dependency>
42+
<dependency>
43+
<groupId>org.assertj</groupId>
44+
<artifactId>assertj-core</artifactId>
45+
<version>${assertj.version}</version>
46+
<scope>test</scope>
47+
</dependency>
4248
<dependency>
4349
<groupId>ch.qos.logback</groupId>
4450
<artifactId>logback-classic</artifactId>

core/src/main/java/org/seedstack/mongodb/MongoDbConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
2+
* Copyright © 2013-2019, 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

core/src/main/java/org/seedstack/mongodb/internal/AbstractMongoDbManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
2+
* Copyright © 2013-2019, 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

core/src/main/java/org/seedstack/mongodb/internal/AsyncMongoDbManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
2+
* Copyright © 2013-2019, 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

core/src/main/java/org/seedstack/mongodb/internal/MongoDbErrorCode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
2+
* Copyright © 2013-2019, 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

core/src/main/java/org/seedstack/mongodb/internal/MongoDbManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
2+
* Copyright © 2013-2019, 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

core/src/main/java/org/seedstack/mongodb/internal/MongoDbModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
2+
* Copyright © 2013-2019, 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

core/src/main/java/org/seedstack/mongodb/internal/MongoDbPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
2+
* Copyright © 2013-2019, 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)