Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
version: 2
updates:
# Maven: the root pom aggregates every module
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "daily"
time: "00:00"
timezone: "Etc/UTC"
cooldown:
default-days: 1
open-pull-requests-limit: 10
rebase-strategy: "auto"
assignees:
- "Surfrdan"
- "rsteph-de"
labels:
- "dependencies"
ignore:
# Jackson is held at 2.18 for compatibility with s3mock 2.17 (see pom.xml)
- dependency-name: "com.fasterxml.jackson*"
update-types: ["version-update:semver-minor", "version-update:semver-major"]
# s3mock 3.x and later require Java 17; the build targets Java 11
- dependency-name: "com.adobe.testing:s3mock*"
update-types: ["version-update:semver-major"]
groups:
# Batch routine minor/patch bumps into one PR
maven-minor-and-patch:
update-types:
- "minor"
- "patch"

# GitHub Actions used in .github/workflows
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
cooldown:
default-days: 1
rebase-strategy: "auto"
assignees:
- "Surfrdan"
- "rsteph-de"
labels:
- "dependencies"
groups:
github-actions:
patterns:
- "*"
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
steps:
- name: Support longpaths
run: git config --global core.longpaths true
- uses: actions/checkout@v3
- uses: actions/checkout@v7
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v6
with:
distribution: 'zulu'
java-version: 11
- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v6
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand All @@ -42,14 +42,14 @@ jobs:
steps:
- name: Support longpaths
run: git config --global core.longpaths true
- uses: actions/checkout@v3
- uses: actions/checkout@v7
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v6
with:
distribution: 'zulu'
java-version: 11
- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v6
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -81,14 +81,14 @@ jobs:
- name: Git support longpaths
run: git config --global core.longpaths true
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v7
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v6
with:
distribution: 'zulu'
java-version: 11
- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v6
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -121,14 +121,14 @@ jobs:
- name: Git support longpaths
run: git config --global core.longpaths true
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v7
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v6
with:
distribution: 'zulu'
java-version: 11
- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v6
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
Binary file modified .mvn/wrapper/maven-wrapper.jar
Binary file not shown.
22 changes: 4 additions & 18 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.5/apache-maven-3.8.5-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar
wrapperVersion=3.3.4
distributionType=bin
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.10.2/apache-maven-3.10.2-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.4/maven-wrapper-3.3.4.jar
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## [Unreleased] - ReleaseDate

## [2.2.4] - 2026-11-25

### Changed

- Updated dependencies

### Fixed

- Fix exception when creating a validation error for version directories that are actually files. https://github.com/OCFL/ocfl-java/issues/135
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Add the following to your project's POM to pull in the library:
<dependency>
<groupId>io.ocfl</groupId>
<artifactId>ocfl-java-core</artifactId>
<version>2.2.3</version>
<version>2.2.4</version>
</dependency>
```

Expand All @@ -30,7 +30,7 @@ If you want S3 support, you must additionally add the following dependency:
<dependency>
<groupId>io.ocfl</groupId>
<artifactId>ocfl-java-aws</artifactId>
<version>2.2.3</version>
<version>2.2.4</version>
</dependency>
```

Expand Down
13 changes: 13 additions & 0 deletions docs/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,19 @@ fixtures, as part of the unit tests in the `ocfl-java-core` module.

# Release

`scripts/release.sh` runs the steps below with checks, pauses for the manual
steps, and a confirmation before each push and the deploy. Run it from a
terminal on an up-to-date `main`. It pushes to `origin`; set
`RELEASE_REMOTE=upstream` if `origin` is your fork. Merge the release PR
with a merge commit, not a squash, so the release commit can be tagged.

``` shell
scripts/release.sh # e.g. 2.2.4-SNAPSHOT -> 2.2.4, then 2.2.5-SNAPSHOT
scripts/release.sh 2.3.0 2.3.1-SNAPSHOT # explicit versions
```

Manual steps:

``` shell
RELEASE_VERSION=2.0.0
SNAP_VERSION=2.0.1-SNAPSHOT
Expand Down
Loading