Skip to content

Commit 3c266e7

Browse files
chore: prepare release 2.0.2
1 parent 59f7cbd commit 3c266e7

4 files changed

Lines changed: 58 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [2.0.2] - 2026-02-20
810
### Changed
11+
- Normalized logging and error messages using Keyple coding standards.
912
- Migrated the CI pipeline from Jenkins to GitHub Actions.
13+
### Upgraded
14+
- `keypop-reader-java-api` from `2.0.1` to `2.1.0` (source code not impacted)
15+
- `keyple-common-java-api` from `2.0.1` to `2.0.2` (source code not impacted)
16+
- `keyple-plugin-java-api` from `2.3.1` to `2.3.2` (source code not impacted)
17+
- `keyple-service-resource-java-lib` from `3.0.1` to `3.1.1` (source code not impacted)
18+
- `keyple-util-java-lib` from `2.4.0` to `2.4.1` (source code not impacted)
19+
- `slf4j-api` from `1.7.32` to `1.7.36` (`compileOnly`)
1020

1121
## [2.0.1] - 2024-04-12
1222
### Changed
@@ -41,7 +51,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4151
## [1.0.0] - 2023-04-25
4252
This is the initial release.
4353

44-
[unreleased]: https://github.com/eclipse-keyple/keyple-plugin-cardresource-java-lib/compare/2.0.1...HEAD
54+
[unreleased]: https://github.com/eclipse-keyple/keyple-plugin-cardresource-java-lib/compare/2.0.2...HEAD
55+
[2.0.2]: https://github.com/eclipse-keyple/keyple-plugin-cardresource-java-lib/compare/2.0.1...2.0.2
4556
[2.0.1]: https://github.com/eclipse-keyple/keyple-plugin-cardresource-java-lib/compare/2.0.0...2.0.1
4657
[2.0.0]: https://github.com/eclipse-keyple/keyple-plugin-cardresource-java-lib/compare/1.0.1...2.0.0
4758
[1.0.1]: https://github.com/eclipse-keyple/keyple-plugin-cardresource-java-lib/compare/1.0.0...1.0.1

build.gradle.kts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@ plugins {
1414
///////////////////////////////////////////////////////////////////////////////
1515

1616
dependencies {
17-
implementation("org.eclipse.keypop:keypop-reader-java-api:2.0.1")
18-
implementation("org.eclipse.keyple:keyple-common-java-api:2.0.1")
19-
implementation("org.eclipse.keyple:keyple-plugin-java-api:2.3.1")
20-
implementation("org.eclipse.keyple:keyple-service-resource-java-lib:3.0.1")
21-
implementation("org.eclipse.keyple:keyple-util-java-lib:2.4.0")
22-
implementation("org.slf4j:slf4j-api:1.7.32")
23-
testImplementation("org.slf4j:slf4j-simple:1.7.32")
17+
implementation("org.eclipse.keypop:keypop-reader-java-api:2.1.0")
18+
implementation("org.eclipse.keyple:keyple-common-java-api:2.0.2")
19+
implementation("org.eclipse.keyple:keyple-plugin-java-api:2.3.2")
20+
implementation("org.eclipse.keyple:keyple-service-resource-java-lib:3.1.1")
21+
implementation("org.eclipse.keyple:keyple-util-java-lib:2.4.1")
22+
compileOnly("org.slf4j:slf4j-api:1.7.36")
23+
24+
testImplementation("org.slf4j:slf4j-simple:1.7.36")
2425
testImplementation(platform("org.junit:junit-bom:5.10.2"))
2526
testImplementation("org.junit.jupiter:junit-jupiter")
2627
testImplementation("org.junit.vintage:junit-vintage-engine")

src/main/java/org/eclipse/keyple/plugin/cardresource/CardResourcePluginAdapter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,13 @@ public PoolReaderSpi allocateReader(String cardResourceProfileName) throws Plugi
8686
cardResource = cardResourceService.getCardResource(cardResourceProfileName);
8787
if (cardResource == null) {
8888
throw new PluginIOException(
89-
"No card resource available for profile " + cardResourceProfileName);
89+
"No card resource available for profile '" + cardResourceProfileName + "'");
9090
}
9191
} catch (IllegalArgumentException e) {
9292
throw new PluginIOException(
9393
"Not configured card resource profile: " + cardResourceProfileName);
9494
} catch (IllegalStateException e) {
95-
throw new PluginIOException("Card Resource Service not started");
95+
throw new PluginIOException("Card Resource Service is not started");
9696
}
9797
return new CardResourceReaderAdapter(cardResource);
9898
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# SLF4J's SimpleLogger configuration file
2+
# Simple implementation of Logger that sends all enabled log messages, for all defined loggers, to System.err.
3+
4+
# Default logging detail level for all instances of SimpleLogger.
5+
# Must be one of ("trace", "debug", "info", "warn", or "error").
6+
# If not specified, defaults to "info".
7+
org.slf4j.simpleLogger.defaultLogLevel=trace
8+
9+
# Logging detail level for a SimpleLogger instance named "xxxxx".
10+
# Must be one of ("trace", "debug", "info", "warn", or "error").
11+
# If not specified, the default logging detail level is used.
12+
#org.slf4j.simpleLogger.log.xxxxx=
13+
14+
# Set to true if you want the current date and time to be included in output messages.
15+
# Default is false, and will output the number of milliseconds elapsed since startup.
16+
org.slf4j.simpleLogger.showDateTime=true
17+
18+
# The date and time format to be used in the output messages.
19+
# The pattern describing the date and time format is the same that is used in java.text.SimpleDateFormat.
20+
# If the format is not specified or is invalid, the default format is used.
21+
# The default format is yyyy-MM-dd HH:mm:ss:SSS Z.
22+
org.slf4j.simpleLogger.dateTimeFormat=[HH:mm:ss:SSS]
23+
24+
# Set to true if you want to output the current thread name.
25+
# Defaults to true.
26+
org.slf4j.simpleLogger.showThreadName=true
27+
28+
# Set to true if you want the Logger instance name to be included in output messages.
29+
# Defaults to true.
30+
org.slf4j.simpleLogger.showLogName=false
31+
32+
# Set to true if you want the last component of the name to be included in output messages.
33+
# Defaults to false.
34+
org.slf4j.simpleLogger.showShortLogName=true
35+
36+
org.slf4j.simpleLogger.levelInBrackets=true

0 commit comments

Comments
 (0)