Skip to content

Commit 08f7e69

Browse files
Merge pull request #199 from kit-data-manager/development
Prepare for next release
2 parents 03455f5 + 07a77fe commit 08f7e69

File tree

72 files changed

+583
-498
lines changed

Some content is hidden

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

72 files changed

+583
-498
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@ updates:
55
target-branch: "development"
66
schedule:
77
interval: "weekly"
8+
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
target-branch: "development"
12+
schedule:
13+
interval: "weekly"

.github/workflows/codeql-analysis.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,18 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v2
41+
uses: actions/checkout@v3
42+
43+
# Initialize minimum JDK version
44+
- name: Setup Java JDK
45+
uses: actions/setup-java@v1.4.4
46+
with:
47+
distribution: zulu
48+
java-version: 17
4249

4350
# Initializes the CodeQL tools for scanning.
4451
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v1
52+
uses: github/codeql-action/init@v2
4653
with:
4754
languages: ${{ matrix.language }}
4855
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -53,7 +60,7 @@ jobs:
5360
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5461
# If this step fails, then you should remove it and run the build manually (see below)
5562
- name: Autobuild
56-
uses: github/codeql-action/autobuild@v1
63+
uses: github/codeql-action/autobuild@v2
5764

5865
# ℹ️ Command-line programs to run using the OS shell.
5966
# 📚 https://git.io/JvXDl
@@ -67,4 +74,4 @@ jobs:
6774
# make release
6875

6976
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@v1
77+
uses: github/codeql-action/analyze@v2

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ on:
1111

1212
env:
1313
# JDK version used for building jar file
14-
currentBuildVersion: 8
14+
currentBuildVersion: 17
1515
jobs:
1616
build:
1717
runs-on: ${{ matrix.operating-system }}
1818
strategy:
1919
matrix:
2020
operating-system: [ubuntu-latest, macOS-latest, windows-latest]
2121
# Use both LTS releases and latest one for tests
22-
jdk: [ 8, 11, 16 ]
22+
jdk: [ 17, 19 ]
2323
steps:
2424
- name: Checkout repo
2525
uses: actions/checkout@v2

.github/workflows/publishRelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Set up Java
1111
uses: actions/setup-java@v3
1212
with:
13-
java-version: 11
13+
java-version: 17
1414
distribution: zulu
1515
- name: Publish package
1616
run: ./gradlew -Prelease publishToSonatype closeAndReleaseSonatypeStagingRepository

CHANGELOG.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1818

1919
### Removed
2020

21+
## [1.2.0] - 2023-06-27
22+
23+
### Changed
24+
- At least JDK 17 is now required.
25+
- Bump some github actions from 2 to 3.
26+
- Bump org.springframework.boot:spring-boot-dependencies from 2.7.7 to 3.1.0.
27+
- Bump gradle from 7.6.1 to 8.1.1.
28+
- Bump service-base from 1.1.1 to 1.2.0.
29+
- Bump JaVers from 6.14.0 to 7.0.0.
30+
31+
### Added
32+
33+
### Fixed
34+
- Add check for empty ACL SID.
35+
36+
### Deprecated
37+
38+
### Removed
39+
2140
## [1.1.2] - 2023-03-17
2241

2342
### Changed
@@ -223,7 +242,8 @@ Extracted from the 'base-repo' project.
223242
### Removed
224243
- none
225244

226-
[Unreleased]: https://github.com/kit-data-manager/repo-core/compare/v1.1.2...HEAD
245+
[Unreleased]: https://github.com/kit-data-manager/repo-core/compare/v1.2.0...HEAD
246+
[1.2.0]: https://github.com/kit-data-manager/repo-core/compare/v1.1.2...v1.2.0
227247
[1.1.2]: https://github.com/kit-data-manager/repo-core/compare/v1.1.1...v1.1.2
228248
[1.1.1]: https://github.com/kit-data-manager/repo-core/compare/v1.1.0...v1.1.1
229249
[1.1.0]: https://github.com/kit-data-manager/repo-core/compare/v1.0.4...v1.1.0

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ and general purpose implementations, e.g. helpers and exceptions.
1515

1616
In order to build this module you'll need:
1717

18-
* Java SE Development Kit 11 or higher
18+
* Java SE Development Kit 17 or higher
1919

2020
After obtaining the sources change to the folder where the sources are located and call:
2121

@@ -39,14 +39,14 @@ Instead of using a local build you may also use the most recent version from the
3939
<dependency>
4040
<groupId>edu.kit.datamanager</groupId>
4141
<artifactId>repo-core</artifactId>
42-
<version>1.1.2</version>
42+
<version>1.2.0</version>
4343
</dependency>
4444
~~~~
4545

4646
### Gradle (short)
4747

4848
~~~~
49-
implementation "edu.kit.datamanager:repo-core:1.1.2"
49+
implementation "edu.kit.datamanager:repo-core:1.2.0"
5050
~~~~
5151

5252
## License

build.gradle

Lines changed: 33 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
* limitations under the License.
1515
*/
1616
plugins {
17-
id "io.freefair.lombok" version "6.6.1"
18-
id "io.freefair.maven-publish-java" version "6.5.1"
17+
id "io.freefair.lombok" version "8.0.1"
18+
id "io.freefair.maven-publish-java" version "8.0.1"
1919
id "io.spring.dependency-management" version "1.1.0"
2020
//id "com.github.kt3k.coveralls" version "2.8.1"
21-
id "org.owasp.dependencycheck" version "7.4.1"
21+
id "org.owasp.dependencycheck" version "8.3.1"
2222
id "org.asciidoctor.jvm.convert" version "3.3.2"
2323
//id "org.ajoberstar.grgit" version "2.0.1"
2424
id "com.jfrog.bintray" version "1.8.5"
@@ -27,22 +27,22 @@ plugins {
2727
// plugins for release and publishing to maven repo
2828
id "signing"
2929
id "net.researchgate.release" version "3.0.2"
30-
id "io.github.gradle-nexus.publish-plugin" version "1.1.0"
30+
id "io.github.gradle-nexus.publish-plugin" version "1.3.0"
3131
id 'maven-publish'
3232
}
3333

3434
ext {
3535
// versions of dependencies
36-
springBootVersion = '2.7.7'
37-
springDocVersion = '1.6.14'
38-
javersVersion = '6.8.2'
36+
springBootVersion = '3.1.0'
37+
springDocVersion = '2.1.0'
38+
javersVersion = '7.0.1'
3939
}
4040

4141
description = "Core module for data repositories based on metadata model of datacite."
4242
group = 'edu.kit.datamanager'
4343

44-
sourceCompatibility = 1.8
45-
targetCompatibility = 1.8
44+
sourceCompatibility = 1.17
45+
targetCompatibility = 1.17
4646

4747
jar {
4848
archiveBaseName = 'repo-core'
@@ -70,55 +70,57 @@ if (project.hasProperty('release')) {
7070

7171
dependencies {
7272
// Spring
73-
implementation 'org.springframework:spring-messaging:5.3.23'
73+
implementation 'org.springframework:spring-messaging:6.0.2'
7474
// Spring Boot
7575
implementation "org.springframework.boot:spring-boot-starter-data-rest"
7676
implementation "org.springframework.boot:spring-boot-starter-amqp"
7777
implementation "org.springframework.boot:spring-boot-starter-web"
7878
implementation "org.springframework.boot:spring-boot-starter-security"
7979
implementation "org.springframework.boot:spring-boot-starter-actuator"
8080
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
81-
implementation 'org.springframework.data:spring-data-elasticsearch:4.4.6'
81+
implementation 'org.springframework.data:spring-data-elasticsearch:5.1.0'
8282

8383

8484
// springdoc
85-
implementation "org.springdoc:springdoc-openapi-ui:${springDocVersion}"
86-
implementation "org.springdoc:springdoc-openapi-data-rest:${springDocVersion}"
87-
implementation "org.springdoc:springdoc-openapi-webmvc-core:${springDocVersion}"
85+
implementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:${springDocVersion}"
86+
implementation "org.springdoc:springdoc-openapi-starter-common:${springDocVersion}"
87+
implementation "org.springdoc:springdoc-openapi-starter-webmvc-api:${springDocVersion}"
8888
// apache
8989
implementation "commons-configuration:commons-configuration:1.10"
90-
implementation "commons-io:commons-io:2.11.0"
90+
implementation "commons-io:commons-io:2.13.0"
9191
implementation "org.apache.commons:commons-collections4:4.4"
9292
// includes commons-lang3
9393
implementation "org.apache.commons:commons-text:1.10.0"
9494
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
95-
implementation "org.apache.tika:tika-core:2.6.0"
95+
implementation "org.apache.tika:tika-core:2.8.0"
9696
// javers
9797
implementation "org.javers:javers-spring-boot-starter-sql:${javersVersion}"
9898
implementation "com.google.code.gson:gson:2.10.1"
9999

100100
// Database
101101
implementation "com.h2database:h2:2.1.214"
102-
implementation "org.postgresql:postgresql:42.5.1"
102+
implementation "org.postgresql:postgresql:42.6.0"
103103
// XML
104-
implementation "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.14.2"
105-
implementation "com.fasterxml.jackson.module:jackson-module-afterburner:2.13.4"
104+
implementation "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.15.2"
105+
implementation "com.fasterxml.jackson.module:jackson-module-afterburner:2.15.2"
106106

107-
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.13.4"
108-
implementation "com.fasterxml.jackson.datatype:jackson-datatype-joda:2.14.1"
107+
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.15.2"
108+
implementation "com.fasterxml.jackson.datatype:jackson-datatype-joda:2.15.2"
109109

110110
//implementation "com.monitorjbl:spring-json-view:1.0.1"
111111

112-
implementation "de.codecentric:spring-boot-admin-starter-client:2.7.10"
113-
112+
implementation "de.codecentric:spring-boot-admin-starter-client:3.0.4"
113+
// log4j core
114+
implementation "org.apache.logging.log4j:log4j-core"
115+
implementation "ch.qos.logback:logback-classic"
114116
//Java 11 Support
115-
implementation "javax.xml.bind:jaxb-api:2.3.1"
116-
implementation "com.sun.xml.bind:jaxb-core:4.0.1"
117-
implementation "com.sun.xml.bind:jaxb-impl:4.0.1"
118-
implementation "javax.activation:activation:1.1.1"
119-
implementation "org.javassist:javassist:3.29.2-GA"
117+
// implementation "javax.xml.bind:jaxb-api:2.3.1"
118+
// implementation "com.sun.xml.bind:jaxb-core:4.0.2"
119+
// implementation "com.sun.xml.bind:jaxb-impl:4.0.2"
120+
// implementation "javax.activation:activation:1.1.1"
121+
// implementation "org.javassist:javassist:3.29.2-GA"
120122

121-
implementation "edu.kit.datamanager:service-base:1.1.1"
123+
implementation "edu.kit.datamanager:service-base:1.2.0"
122124

123125
implementation "com.github.java-json-tools:json-patch:1.13"
124126
implementation "com.github.dozermapper:dozer-core:6.5.2"
@@ -128,11 +130,11 @@ dependencies {
128130
// boot starter
129131
testImplementation 'org.springframework.boot:spring-boot-starter-validation'
130132
testImplementation "org.springframework.boot:spring-boot-starter-test"
131-
testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc:2.0.6.RELEASE'
133+
testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc:3.0.0'
132134
testImplementation "org.springframework.security:spring-security-test"
133135

134136
//Java 11 Support
135-
testImplementation "org.mockito:mockito-inline:4.8.1"
137+
testImplementation "org.mockito:mockito-inline:5.2.0"
136138

137139
// testImplementation 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.9.2'
138140
// asciidoctor 'org.springframework.restdocs:spring-restdocs-asciidoctor:2.0.4.RELEASE'

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ systemProp.jdk.tls.client.protocols="TLSv1,TLSv1.1,TLSv1.2"
33
//-----------------------------
44
// Properties for build.gradle
55
//-----------------------------
6-
version=1.1.3-SNAPSHOT
6+
version=1.2.0-SNAPSHOT
77

88
action.custom-1=install
99
action.custom-1.args=--configure-on-demand -w -x check publishToMavenLocal

gradle/wrapper/gradle-wrapper.jar

1.99 KB
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)