Skip to content

Commit

Permalink
Update for seed 3.10+
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienlauer committed Aug 13, 2020
1 parent 65eface commit 53a5dff
Show file tree
Hide file tree
Showing 102 changed files with 435 additions and 188 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -2,7 +2,7 @@ sudo: false

language: java

jdk: oraclejdk9
jdk: openjdk11

cache:
directories:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
# Version 3.1.2 (2020-08-13)

* [chg] Update for Seed 3.10+

# Version 3.1.1 (2017-07-30)

* [fix] Fields annotation with Guice `@Inject` annotation were not detected by Spring JPA override.
Expand Down
10 changes: 2 additions & 8 deletions batch/pom.xml
@@ -1,6 +1,6 @@
<!--
Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
Expand All @@ -14,7 +14,7 @@
<parent>
<groupId>org.seedstack.addons.spring</groupId>
<artifactId>spring-bridge</artifactId>
<version>3.1.1-SNAPSHOT</version>
<version>3.1.2-SNAPSHOT</version>
</parent>

<artifactId>spring-bridge-batch</artifactId>
Expand Down Expand Up @@ -90,12 +90,6 @@
<version>${hibernate.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>${jaxb-api.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
Expand Down
@@ -1,16 +1,16 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.seedstack.spring.batch.internal;

import com.google.common.base.Strings;
import com.google.inject.Injector;
import com.google.inject.Key;
import com.google.inject.name.Names;
import org.apache.commons.lang.StringUtils;
import org.seedstack.seed.cli.CliCommand;
import org.seedstack.seed.cli.CliOption;
import org.seedstack.seed.cli.CommandLineHandler;
Expand Down Expand Up @@ -111,7 +111,7 @@ private JobLauncher getJobLauncher() {
private String option(String option, String defaultName) {
String ret = defaultName;

if (!StringUtils.isBlank(option)) {
if (!Strings.isNullOrEmpty(option)) {
ret = option;
}

Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion batch/src/test/resources/META-INF/config/jdbc.properties
@@ -1,5 +1,5 @@
#
# Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
# Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion batch/src/test/resources/META-INF/persistence1.xml
@@ -1,6 +1,6 @@
<!--
Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion batch/src/test/resources/META-INF/persistence2.xml
@@ -1,6 +1,6 @@
<!--
Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion batch/src/test/resources/application.yaml
@@ -1,5 +1,5 @@
#
# Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
# Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down

0 comments on commit 53a5dff

Please sign in to comment.