Skip to content

Commit 1a3271d

Browse files
committed
Use latest parent version, and fixed Logback Javadoc link
1 parent c6cc656 commit 1a3271d

File tree

6 files changed

+20
-6
lines changed

6 files changed

+20
-6
lines changed

checkstyle_suppressions.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<?xml version="1.0"?>
22

3-
<!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.1//EN" "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
3+
<!DOCTYPE suppressions PUBLIC "-//Checkstyle//DTD SuppressionFilter Configuration 1.1//EN" "https://checkstyle.org/dtds/suppressions_1_1.dtd">
44

55
<suppressions>
6-
<suppress files=".*\.java" checks="JavadocType"/>
6+
<suppress files=".*AutoConfiguration\.java" checks="MissingJavadocMethod"/>
7+
<suppress files=".*Endpoint\.java" checks="JavadocStyle|MissingJavadocType|MissingJavadocMethod"/>
8+
<suppress files=".*Properties\.java" checks="MissingJavadocType|MissingJavadocMethod"/>
79
</suppressions>

pom.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>com.github.robtimus</groupId>
2424
<artifactId>robtimus-parent</artifactId>
25-
<version>1.8</version>
25+
<version>1.9</version>
2626
<relativePath />
2727
</parent>
2828

@@ -202,9 +202,14 @@
202202
<links>
203203
<link>https://docs.spring.io/spring-boot/docs/2.7.x/api</link>
204204
<link>https://docs.spring.io/spring-framework/docs/5.3.x/javadoc-api</link>
205-
<link>https://logback.qos.ch/apidocs</link>
206205
<link>https://ingenico-epayments.github.io/connect-sdk-java/apidocs/latest</link>
207206
</links>
207+
<offlineLinks>
208+
<offlineLink>
209+
<url>https://logback.qos.ch/apidocs/</url>
210+
<location>${project.basedir}/src/main/apidocs/ch.qos.logback/logback-classic</location>
211+
</offlineLink>
212+
</offlineLinks>
208213
</configuration>
209214
</plugin>
210215
</plugins>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ch.qos.logback.classic

src/main/java/com/github/robtimus/connect/sdk/java/springboot/actuator/ConnectSdkHealthIndicator.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ public class ConnectSdkHealthIndicator extends AbstractHealthIndicator {
4747
private long lastCheck;
4848

4949
/**
50+
* Creates a new health indicator.
51+
*
5052
* @param merchantClient The merchant client to use.
5153
* @param minInterval The minimum interval in seconds between calls. Must be &gt; 0.
5254
*/

src/main/java/com/github/robtimus/connect/sdk/java/springboot/logging/LogbackCommunicatorLogger.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ public class LogbackCommunicatorLogger implements CommunicatorLogger {
3434
private final Level errorLogLevel;
3535

3636
/**
37+
* Creates a new communicator logger.
38+
*
3739
* @param logger The backing logger.
3840
* @param level The level to use when logging through both {@link #log(String)} and {@link #log(String, Throwable)}.
3941
*/
@@ -42,6 +44,8 @@ public LogbackCommunicatorLogger(Logger logger, Level level) {
4244
}
4345

4446
/**
47+
* Creates a new communicator logger.
48+
*
4549
* @param logger The backing logger.
4650
* @param logLevel The level to use when logging through {@link #log(String)}.
4751
* @param errorLogLevel The level to use when logging through {@link #log(String, Throwable)}.

src/site/site.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
-->
1717

1818
<project name="connect-sdk-java-spring-boot-starter"
19-
xmlns="https://maven.apache.org/xsd/decoration-1.7.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="https://maven.apache.org/xsd/decoration-1.7.0.xsd https://maven.apache.org/xsd/decoration-1.7.0.xsd">
19+
xmlns="http://maven.apache.org/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd">
2121

2222
<body>
2323
<head />

0 commit comments

Comments
 (0)