Skip to content

Commit feb5f01

Browse files
committed
work
1 parent f63995c commit feb5f01

File tree

1 file changed

+47
-15
lines changed

1 file changed

+47
-15
lines changed

pom.xml

Lines changed: 47 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,11 @@
6868
</distributionManagement>
6969

7070
<properties>
71-
<java.version>11</java.version>
71+
<version.java>11</version.java>
7272
<version.maven>3.6.3</version.maven>
73-
<maven.compiler.source>${java.version}</maven.compiler.source>
74-
<maven.compiler.target>${java.version}</maven.compiler.target>
73+
<maven.compiler.source>${version.java}</maven.compiler.source>
74+
<maven.compiler.target>${version.java}</maven.compiler.target>
75+
<version.java>${java.version}</version.java>
7576
<spring-boot.repackage.layout>JAR</spring-boot.repackage.layout>
7677
<version.spring-boot-maven-plugin>${project.parent.version}</version.spring-boot-maven-plugin>
7778
<version.thymeleaf-testing>3.1.0.M2</version.thymeleaf-testing>
@@ -82,7 +83,7 @@
8283
<webjars.popper.js.version>2.9.3</webjars.popper.js.version>
8384
<webjars.bootstrap.version>5.2.2</webjars.bootstrap.version>
8485
<webjars.font-awesome.version>6.2.0</webjars.font-awesome.version>
85-
<opencsv.version>5.7.0</opencsv.version>
86+
<opencsv.version>5.7.1</opencsv.version>
8687

8788
<!-- Unit and Integration Testing -->
8889
<skipTests>false</skipTests>
@@ -112,7 +113,7 @@
112113

113114
<!-- UML -->
114115
<version.plantuml-maven-plugin>1.5.2</version.plantuml-maven-plugin>
115-
<version.net.sourceforge.plantuml>1.2022.6</version.net.sourceforge.plantuml>
116+
<version.plantuml-maven-plugin.plantuml>1.2022.6</version.plantuml-maven-plugin.plantuml>
116117

117118
<version.maven-invoker-plugin>3.3.0</version.maven-invoker-plugin>
118119
<version.maven-clean-plugin>3.2.0</version.maven-clean-plugin>
@@ -127,9 +128,12 @@
127128
<version.maven-site-plugin>3.12.0</version.maven-site-plugin>
128129
<version.maven-project-info-reports-plugin>3.3.0</version.maven-project-info-reports-plugin>
129130
<version.maven-checkstyle-plugin>3.1.2</version.maven-checkstyle-plugin>
131+
<version.maven-checkstyle-plugin.checkstyle>10.4</version.maven-checkstyle-plugin.checkstyle>
130132
<version.maven-jxr-plugin>3.2.0</version.maven-jxr-plugin>
131133
<version.maven-pmd-plugin>3.17.0</version.maven-pmd-plugin>
132-
<version.spotbugs-maven-plugin>4.7.0.0</version.spotbugs-maven-plugin>
134+
<version.maven-pmd-plugin.pmd>6.51.0</version.maven-pmd-plugin.pmd>
135+
<version.spotbugs-maven-plugin>4.7.3.0</version.spotbugs-maven-plugin>
136+
<version.spotbugs-maven-plugin.spotbugs>4.7.0.0</version.spotbugs-maven-plugin.spotbugs>
133137
<version.maven-surefire-report-plugin>3.0.0-M7</version.maven-surefire-report-plugin>
134138
<version.asciidoctor-maven-plugin>2.2.2</version.asciidoctor-maven-plugin>
135139
<version.doxia-module-markdown>1.11.1</version.doxia-module-markdown>
@@ -470,6 +474,13 @@
470474
</exclusion>
471475
</exclusions>
472476
</dependency>
477+
<dependency>
478+
<groupId>net.sourceforge.pmd</groupId>
479+
<artifactId>pmd</artifactId>
480+
<version>${version.maven-pmd-plugin.pmd}</version>
481+
<type>pom</type>
482+
<scope>import</scope>
483+
</dependency>
473484
<dependency>
474485
<groupId>org.apache.maven.plugins</groupId>
475486
<artifactId>maven-surefire-plugin</artifactId>
@@ -942,11 +953,21 @@
942953
<groupId>org.apache.maven.plugins</groupId>
943954
<artifactId>maven-checkstyle-plugin</artifactId>
944955
<version>${version.maven-checkstyle-plugin}</version>
956+
<dependencies>
957+
<dependency>
958+
<groupId>com.puppycrawl.tools</groupId>
959+
<artifactId>checkstyle</artifactId>
960+
<version>${version.maven-checkstyle-plugin.checkstyle}</version>
961+
</dependency>
962+
</dependencies>
945963
</plugin>
946964
<plugin>
947965
<groupId>com.github.spotbugs</groupId>
948966
<artifactId>spotbugs-maven-plugin</artifactId>
949967
<version>${version.spotbugs-maven-plugin}</version>
968+
<dependencies>
969+
970+
</dependencies>
950971
</plugin>
951972
<plugin>
952973
<groupId>org.apache.maven.plugins</groupId>
@@ -1052,12 +1073,12 @@
10521073
<version>${version.maven}</version>
10531074
</requireMavenVersion>
10541075
<requireJavaVersion>
1055-
<version>${java.version}</version>
1076+
<version>${version.java}</version>
10561077
</requireJavaVersion>
10571078
<requireFilesExist>
10581079
<files>
10591080
<file>${project.basedir}/README.md</file>
1060-
<file>${project.basedir}/LICENSE</file>
1081+
<file>${project.basedir}/LICENSE.txt</file>
10611082
<file>${project.basedir}/app.json</file>
10621083
<file>${project.basedir}/_config.yml</file>
10631084
<file>${project.basedir}/Procfile</file>
@@ -1178,8 +1199,8 @@
11781199
<groupId>org.apache.maven.plugins</groupId>
11791200
<artifactId>maven-compiler-plugin</artifactId>
11801201
<configuration>
1181-
<source>${java.version}</source>
1182-
<target>${java.version}</target>
1202+
<source>${version.java}</source>
1203+
<target>${version.java}</target>
11831204
<encoding>${project.build.sourceEncoding}</encoding>
11841205
<compilerArgs>
11851206
<arg>-Xlint:all,-options,-path</arg>
@@ -1211,7 +1232,7 @@
12111232
<configuration>
12121233
<linksource>true</linksource>
12131234
<maxmemory>1024m</maxmemory>
1214-
<source>${java.version}</source>
1235+
<source>${version.java}</source>
12151236
</configuration>
12161237
</plugin>
12171238
<plugin>
@@ -1288,10 +1309,21 @@
12881309
<plugin>
12891310
<groupId>org.apache.maven.plugins</groupId>
12901311
<artifactId>maven-checkstyle-plugin</artifactId>
1312+
<dependencies>
1313+
<dependency>
1314+
<groupId>com.puppycrawl.tools</groupId>
1315+
<artifactId>checkstyle</artifactId>
1316+
<version>${version.maven-checkstyle-plugin.checkstyle}</version>
1317+
</dependency>
1318+
</dependencies>
12911319
</plugin>
12921320
<plugin>
12931321
<groupId>com.github.spotbugs</groupId>
12941322
<artifactId>spotbugs-maven-plugin</artifactId>
1323+
<configuration>
1324+
<xmlOutput>true</xmlOutput>
1325+
<xmlOutputDirectory>target/site</xmlOutputDirectory>
1326+
</configuration>
12951327
</plugin>
12961328
<plugin>
12971329
<groupId>org.apache.maven.plugins</groupId>
@@ -1333,7 +1365,7 @@
13331365
<configuration>
13341366
<linksource>true</linksource>
13351367
<maxmemory>1024m</maxmemory>
1336-
<source>${java.version}</source>
1368+
<source>${version.java}</source>
13371369
</configuration>
13381370
</plugin>
13391371
<plugin>
@@ -1392,7 +1424,7 @@
13921424
<artifactId>maven-pmd-plugin</artifactId>
13931425
<configuration>
13941426
<minimumTokens>100</minimumTokens>
1395-
<targetJdk>${java.version}</targetJdk>
1427+
<targetJdk>${version.java}</targetJdk>
13961428
<excludeRoots>
13971429
<excludeRoot>target</excludeRoot>
13981430
</excludeRoots>
@@ -1525,7 +1557,7 @@
15251557
<dependency>
15261558
<groupId>net.sourceforge.plantuml</groupId>
15271559
<artifactId>plantuml</artifactId>
1528-
<version>${version.net.sourceforge.plantuml}</version>
1560+
<version>${version.plantuml-maven-plugin.plantuml}</version>
15291561
<scope>runtime</scope>
15301562
</dependency>
15311563
</dependencies>
@@ -1562,7 +1594,7 @@
15621594
<dependency>
15631595
<groupId>net.sourceforge.plantuml</groupId>
15641596
<artifactId>plantuml</artifactId>
1565-
<version>${version.net.sourceforge.plantuml}</version>
1597+
<version>${version.plantuml-maven-plugin.plantuml}</version>
15661598
<scope>runtime</scope>
15671599
</dependency>
15681600
</dependencies>

0 commit comments

Comments
 (0)