Skip to content

Commit 8fde7f6

Browse files
cppwfslcmarvin
authored andcommitted
Remove benign [WARNINGS] from batch build
This is done by: 1) Enabling quiet for doc build so that it, "Shuts off non-error and non-warning messages," so that builders can focus on warnings. 2) Disable missing javadoc warnings. We will handle missing javadoc warnings in subsequent PRs. 3) Fix existing warnings that are in the batch code base. This reduces the number of [WARNING]s from 7171 down to 52
1 parent c5b9fd8 commit 8fde7f6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
127127
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
128128
<maven-failsafe-plugin.version>2.22.2</maven-failsafe-plugin.version>
129-
<maven-javadoc-plugin.version>3.3.1</maven-javadoc-plugin.version>
129+
<maven-javadoc-plugin.version>3.3.2</maven-javadoc-plugin.version>
130130
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
131131
<jacoco-maven-plugin.version>0.8.7</jacoco-maven-plugin.version>
132132
<flatten-maven-plugin.version>1.2.7</flatten-maven-plugin.version>
@@ -204,6 +204,8 @@
204204
</excludePackageNames>
205205
<overview>${project.basedir}/spring-batch-docs/src/main/javadoc/overview.html</overview>
206206
<detectJavaApiLink>false</detectJavaApiLink>
207+
<doclint>all,-missing</doclint>
208+
<quiet>true</quiet>
207209
</configuration>
208210
<executions>
209211
<execution>

spring-batch-core/src/main/java/org/springframework/batch/core/repository/support/SimpleJobRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
* <p>
4646
* Implementation of {@link JobRepository} that stores JobInstances,
4747
* JobExecutions, and StepExecutions using the injected DAOs.
48-
* <p>
48+
* </p>
4949
*
5050
* @author Lucas Ward
5151
* @author Dave Syer

0 commit comments

Comments
 (0)