Skip to content

Commit 54e5823

Browse files
committed
Upgrade to Java 21, replace cdk-bundle with 16 individual CDK modules, bump SMSD to 5.8.1
- Java target 11 → 21 - SMSD 5.7.1 → 5.8.1 - Replaced fat cdk-bundle (200+ modules) with 16 individual CDK modules: cdk-core, cdk-interfaces, cdk-silent, cdk-data, cdk-io, cdk-ctab, cdk-smiles, cdk-smarts, cdk-isomorphism, cdk-fingerprint, cdk-atomtype, cdk-standard, cdk-sdg, cdk-signature, cdk-legacy, cdk-inchi - CI updated to Java 21 - All 163 tests pass - RDT version 3.5.0
1 parent 9cfeeec commit 54e5823

2 files changed

Lines changed: 86 additions & 9 deletions

File tree

.github/workflows/maven-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v4
16-
- name: Set up JDK 11
16+
- name: Set up JDK 21
1717
uses: actions/setup-java@v4
1818
with:
19-
java-version: '11'
19+
java-version: '21'
2020
distribution: 'temurin'
2121
server-id: github
2222
settings-path: ${{ github.workspace }}

pom.xml

Lines changed: 84 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44
<groupId>com.bioinceptionlabs</groupId>
55
<artifactId>rdt</artifactId>
66
<description>Reaction Decoder Tool</description>
7-
<version>3.4.1</version>
7+
<version>3.5.0</version>
88
<packaging>jar</packaging>
99
<properties>
10-
<jdk.version>11</jdk.version>
10+
<jdk.version>21</jdk.version>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12-
<maven.compiler.source>11</maven.compiler.source>
13-
<maven.compiler.target>11</maven.compiler.target>
12+
<maven.compiler.source>21</maven.compiler.source>
13+
<maven.compiler.target>21</maven.compiler.target>
14+
<cdk.version>2.12</cdk.version>
1415
<mainClass>com.bioinceptionlabs.aamtool.ReactionDecoder</mainClass>
1516
</properties>
1617

@@ -104,16 +105,92 @@
104105
<version>1.5.2</version>
105106
</dependency>
106107

108+
<!-- CDK individual modules (replaces cdk-bundle fat jar) -->
107109
<dependency>
108110
<groupId>org.openscience.cdk</groupId>
109-
<artifactId>cdk-bundle</artifactId>
110-
<version>2.12</version>
111+
<artifactId>cdk-core</artifactId>
112+
<version>${cdk.version}</version>
113+
</dependency>
114+
<dependency>
115+
<groupId>org.openscience.cdk</groupId>
116+
<artifactId>cdk-interfaces</artifactId>
117+
<version>${cdk.version}</version>
118+
</dependency>
119+
<dependency>
120+
<groupId>org.openscience.cdk</groupId>
121+
<artifactId>cdk-silent</artifactId>
122+
<version>${cdk.version}</version>
123+
</dependency>
124+
<dependency>
125+
<groupId>org.openscience.cdk</groupId>
126+
<artifactId>cdk-data</artifactId>
127+
<version>${cdk.version}</version>
128+
</dependency>
129+
<dependency>
130+
<groupId>org.openscience.cdk</groupId>
131+
<artifactId>cdk-io</artifactId>
132+
<version>${cdk.version}</version>
133+
</dependency>
134+
<dependency>
135+
<groupId>org.openscience.cdk</groupId>
136+
<artifactId>cdk-ctab</artifactId>
137+
<version>${cdk.version}</version>
138+
</dependency>
139+
<dependency>
140+
<groupId>org.openscience.cdk</groupId>
141+
<artifactId>cdk-smiles</artifactId>
142+
<version>${cdk.version}</version>
143+
</dependency>
144+
<dependency>
145+
<groupId>org.openscience.cdk</groupId>
146+
<artifactId>cdk-smarts</artifactId>
147+
<version>${cdk.version}</version>
148+
</dependency>
149+
<dependency>
150+
<groupId>org.openscience.cdk</groupId>
151+
<artifactId>cdk-isomorphism</artifactId>
152+
<version>${cdk.version}</version>
153+
</dependency>
154+
<dependency>
155+
<groupId>org.openscience.cdk</groupId>
156+
<artifactId>cdk-fingerprint</artifactId>
157+
<version>${cdk.version}</version>
158+
</dependency>
159+
<dependency>
160+
<groupId>org.openscience.cdk</groupId>
161+
<artifactId>cdk-atomtype</artifactId>
162+
<version>${cdk.version}</version>
163+
</dependency>
164+
<dependency>
165+
<groupId>org.openscience.cdk</groupId>
166+
<artifactId>cdk-standard</artifactId>
167+
<version>${cdk.version}</version>
168+
</dependency>
169+
<dependency>
170+
<groupId>org.openscience.cdk</groupId>
171+
<artifactId>cdk-sdg</artifactId>
172+
<version>${cdk.version}</version>
173+
</dependency>
174+
<dependency>
175+
<groupId>org.openscience.cdk</groupId>
176+
<artifactId>cdk-signature</artifactId>
177+
<version>${cdk.version}</version>
178+
</dependency>
179+
<dependency>
180+
<groupId>org.openscience.cdk</groupId>
181+
<artifactId>cdk-legacy</artifactId>
182+
<version>${cdk.version}</version>
183+
</dependency>
184+
<dependency>
185+
<groupId>org.openscience.cdk</groupId>
186+
<artifactId>cdk-inchi</artifactId>
187+
<version>${cdk.version}</version>
111188
</dependency>
112189

113190
<dependency>
114191
<groupId>com.bioinceptionlabs</groupId>
115192
<artifactId>smsd</artifactId>
116-
<version>5.7.1</version>
193+
<version>5.8.1</version>
117194
</dependency>
118195

119196
<!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->

0 commit comments

Comments
 (0)