Skip to content
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
ref: badges
path: badges

- name: Set up JDK 17
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'
java-version: '25'

- name: Build with Maven
run: mvn -B package -Pcoverage
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v7

- name: Set up JDK 17
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'
java-version: '25'

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
ref: gh-pages
path: gh-pages

- name: Set up JDK 17
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'
java-version: '25'

- name: Build docs with Maven
run: mvn compile javadoc:javadoc
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/manual-deploy-github-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
steps:
- uses: actions/checkout@v7

- name: Set up JDK 17 for deploy to github packages
- name: Set up JDK 25 for deploy to github packages
uses: actions/setup-java@v5
with:
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'
java-version: '25'
server-id: github

- name: Build with Maven
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/manual-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:

steps:
- uses: actions/checkout@v7
- name: Set up JDK 17
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'
java-version: '25'
server-id: github

- name: Build with Maven
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
id: get_version
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_OUTPUT

- name: Set up JDK 17 for deploy to Central
- name: Set up JDK 25 for deploy to Central
uses: actions/setup-java@v5
with:
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'
java-version: '25'
server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_CENTRAL_TOKEN
Expand All @@ -43,11 +43,11 @@ jobs:
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

- name: Set up JDK 17 for deploy to github packages
- name: Set up JDK 25 for deploy to github packages
uses: actions/setup-java@v5
with:
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'
java-version: '25'
server-id: github

- name: Publish to GitHub Packages Apache Maven
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased] - 2025-10-05
## [Unreleased] - 2026-07-07

__BREAKING CHANGES: Minimum supported Java is Java 25. Next version will be 7.0.0.__

### Added

Expand All @@ -18,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Refactored the internal classes associated with the hash-table implementation of Kendall Tau Sequence Distance, which were identified by RefactorFirst as highly-coupled.

### Dependencies
* Minimum supported Java bumped to Java 25 (breaking change).

### CI/CD

Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![JavaPermutationTools - A Java library for computation on permutations and sequences](https://jpt.cicirello.org/images/jpt640.png)](#javapermutationtools-jpt-a-java-library-for-computation-on-permutations-and-sequences)

Copyright (C) 2018-2024 [Vincent A. Cicirello](https://www.cicirello.org/).
Copyright (C) 2018-2026 [Vincent A. Cicirello](https://www.cicirello.org/).

Website: https://jpt.cicirello.org/

Expand Down Expand Up @@ -32,13 +32,14 @@ computation on permutations and sequences. It includes implementations of a vari
of permutation distance metrics as well as distance metrics on sequences (i.e., Strings,
arrays, and other ordered data types).

## Java 17+
## Java 25+

We currently support Java 17+. See the following table for mapping between library version
We currently support Java 25+. See the following table for mapping between library version
and minimum supported Java version.

| version | Java requirements |
| --- | --- |
| 7.x.y | Java 25+ |
| 4.w.x to 6.y.z | Java 17+ |
| 3.x.y | Java 11+ |
| 1.w.x to 2.y.z | Java 8+ |
Expand Down Expand Up @@ -123,14 +124,14 @@ module your.module.name.here {

## Importing the Library from Maven Central

Add this to the dependencies section of your pom.xml, replacing the version number
with the version you want to use.
Add this to the dependencies section of your pom.xml, replacing the `x.y.z` with the
version number of the version that you want to use.

```XML
<dependency>
<groupId>org.cicirello</groupId>
<artifactId>jpt</artifactId>
<version>5.0.0</version>
<version>x.y.z</version>
</dependency>
```

Expand Down
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.cicirello</groupId>
<artifactId>jpt</artifactId>
<version>6-SNAPSHOT</version>
<version>7-SNAPSHOT</version>
<packaging>jar</packaging>

<name>JavaPermutationTools</name>
Expand All @@ -30,7 +30,7 @@
<distribution>repo</distribution>
<comments>
JavaPermutationTools (JPT): A library for computation on permutations and sequences.
Copyright (C) 2005-2025 Vincent A. Cicirello.
Copyright (C) 2005-2026 Vincent A. Cicirello.

JavaPermutationTools is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -219,7 +219,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.release>17</maven.compiler.release>
<maven.compiler.release>25</maven.compiler.release>
</properties>

<build>
Expand All @@ -229,7 +229,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.15.0</version>
<configuration>
<release>17</release>
<release>25</release>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -270,7 +270,7 @@
<link>https://rho-mu.cicirello.org/api</link>
<link>https://core.cicirello.org/api</link>
</links>
<bottom><![CDATA[Copyright &copy; 2005-2025 <a href=\"https://www.cicirello.org/\" target=_top>Vincent A. Cicirello</a>. All rights reserved.]]></bottom>
<bottom><![CDATA[Copyright &copy; 2005-2026 <a href=\"https://www.cicirello.org/\" target=_top>Vincent A. Cicirello</a>. All rights reserved.]]></bottom>
</configuration>
</plugin>
<plugin>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* JavaPermutationTools - A Java library for computation on permutations.
* Copyright 2005-2024 Vincent A. Cicirello, <https://www.cicirello.org/>.
* Copyright 2005-2026 Vincent A. Cicirello, <https://www.cicirello.org/>.
*
* JavaPermutationTools is free software: you can
* redistribute it and/or modify it under the terms of the GNU
Expand All @@ -24,7 +24,7 @@
*
* <h2>JavaPermutationTools - A Java library for computation on permutations</h2>
*
* <p>Copyright &copy; 2005-2024 <a href="https://www.cicirello.org/" target=_top>Vincent A.
* <p>Copyright &copy; 2005-2026 <a href="https://www.cicirello.org/" target=_top>Vincent A.
* Cicirello</a>.
*
* <p><a href="https://doi.org/10.21105/joss.00950"><img
Expand Down
Loading