|
742 | 742 | <groupId>org.apache.maven.plugins</groupId> |
743 | 743 | <artifactId>maven-pmd-plugin</artifactId> |
744 | 744 | <version>${maven-pmd-plugin.version}</version> |
| 745 | + <dependencies> |
| 746 | + <dependency> |
| 747 | + <groupId>net.sourceforge.pmd</groupId> |
| 748 | + <artifactId>pmd-core</artifactId> |
| 749 | + <version>${pmdVersion}</version> |
| 750 | + </dependency> |
| 751 | + <dependency> |
| 752 | + <groupId>net.sourceforge.pmd</groupId> |
| 753 | + <artifactId>pmd-java</artifactId> |
| 754 | + <version>${pmdVersion}</version> |
| 755 | + </dependency> |
| 756 | + <dependency> |
| 757 | + <groupId>net.sourceforge.pmd</groupId> |
| 758 | + <artifactId>pmd-javascript</artifactId> |
| 759 | + <version>${pmdVersion}</version> |
| 760 | + </dependency> |
| 761 | + <dependency> |
| 762 | + <groupId>net.sourceforge.pmd</groupId> |
| 763 | + <artifactId>pmd-jsp</artifactId> |
| 764 | + <version>${pmdVersion}</version> |
| 765 | + </dependency> |
| 766 | + </dependencies> |
745 | 767 | </plugin> |
746 | 768 | <plugin> |
747 | 769 | <groupId>org.apache.maven.plugins</groupId> |
|
1079 | 1101 | </execution> |
1080 | 1102 | </executions> |
1081 | 1103 | </plugin> |
1082 | | - <!-- |
1083 | | - <plugin> |
1084 | | - <groupId>org.apache.maven.plugins</groupId> |
1085 | | - <artifactId>maven-dependency-plugin</artifactId> |
1086 | | - <executions> |
1087 | | - <execution> |
1088 | | - <id>unpack-dependencies-classpath</id> |
1089 | | - <phase>site</phase> |
1090 | | - <goals> |
1091 | | - <goal>analyze-only</goal> |
1092 | | - <goal>analyze-dep-mgt</goal> |
1093 | | - <goal>analyze-report</goal> |
1094 | | - <goal>sources</goal> |
1095 | | - <goal>resolve</goal> |
1096 | | - <goal>resolve-plugins</goal> |
1097 | | - <goal>collect</goal> |
1098 | | - <goal>copy-dependencies</goal> |
1099 | | - <goal>unpack-dependencies</goal> |
1100 | | - <goal>build-classpath</goal> |
1101 | | - </goals> |
1102 | | - <configuration> |
1103 | | - <overWriteReleases>true</overWriteReleases> |
1104 | | - <overWriteSnapshots>true</overWriteSnapshots> |
1105 | | - <outputFile>${project.build.outputDirectory}/classpath.txt</outputFile> |
1106 | | - <failOnWarning>false</failOnWarning> |
1107 | | - <type>java-source,jar</type> |
1108 | | - <ignoredDependencies> |
1109 | | - <ignoredDependency>org.apache.maven.plugins:maven-surefire-plugin</ignoredDependency> |
1110 | | - </ignoredDependencies> |
1111 | | - <ignoredUsedUndeclaredDependencies> |
1112 | | - <ignoredUsedUndeclaredDependency>org.apache.maven.plugins:maven-surefire-plugin</ignoredUsedUndeclaredDependency> |
1113 | | - </ignoredUsedUndeclaredDependencies> |
1114 | | - <ignoredUnusedDeclaredDependencies> |
1115 | | - <ignoredUnusedDeclaredDependency>org.apache.maven.plugins:maven-surefire-plugin</ignoredUnusedDeclaredDependency> |
1116 | | - </ignoredUnusedDeclaredDependencies> |
1117 | | - </configuration> |
1118 | | - </execution> |
1119 | | - <execution> |
1120 | | - <id>check-dependencies-1</id> |
1121 | | - <phase>site</phase> |
1122 | | - <goals> |
1123 | | - <goal>list</goal> |
1124 | | - <goal>list-repositories</goal> |
1125 | | - <goal>properties</goal> |
1126 | | - </goals> |
1127 | | - </execution> |
1128 | | - <execution> |
1129 | | - <id>check-dependencies-2</id> |
1130 | | - <phase>site</phase> |
1131 | | - <goals> |
1132 | | - <goal>analyze</goal> |
1133 | | - <goal>analyze-dep-mgt</goal> |
1134 | | - <goal>analyze-duplicate</goal> |
1135 | | - <goal>analyze-report</goal> |
1136 | | - </goals> |
1137 | | - </execution> |
1138 | | - <execution> |
1139 | | - <id>check-dependencies-3</id> |
1140 | | - <phase>site</phase> |
1141 | | - <goals> |
1142 | | - <goal>tree</goal> |
1143 | | - </goals> |
1144 | | - </execution> |
1145 | | - <execution> |
1146 | | - <id>report</id> |
1147 | | - <phase>site</phase> |
1148 | | - <configuration> |
1149 | | - <excludeGroupIds>org.webjars,org.jclouds,org.jboss.as,xml-resolver,commons-configuration,org.codehaus.plexus,commons-digester,junit,log4j,io.openliberty.features</excludeGroupIds> |
1150 | | - <excludeArtifactIds>weld-probe-core,commons-configuration,jdk.tools,maven-antrun-plugin</excludeArtifactIds> |
1151 | | - <failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact> |
1152 | | - <reportSets> |
1153 | | - <reportSet> |
1154 | | - <reports> |
1155 | | - <report>analyze-report</report> |
1156 | | - </reports> |
1157 | | - </reportSet> |
1158 | | - </reportSets> |
1159 | | - </configuration> |
1160 | | - </execution> |
1161 | | - <execution> |
1162 | | - <id>get-dependency-classes</id> |
1163 | | - <phase>site</phase> |
1164 | | - <goals> |
1165 | | - <goal>resolve</goal> |
1166 | | - <goal>resolve-plugins</goal> |
1167 | | - <goal>collect</goal> |
1168 | | - <goal>copy-dependencies</goal> |
1169 | | - <goal>unpack-dependencies</goal> |
1170 | | - </goals> |
1171 | | - <configuration> |
1172 | | - <type>jar</type> |
1173 | | - <failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact> |
1174 | | - <outputDirectory>${project.build.directory}/dependency-classes/</outputDirectory> |
1175 | | - </configuration> |
1176 | | - </execution> |
1177 | | - <execution> |
1178 | | - <id>get-dependency-sources</id> |
1179 | | - <phase>site</phase> |
1180 | | - <goals> |
1181 | | - <goal>sources</goal> |
1182 | | - <goal>resolve</goal> |
1183 | | - <goal>resolve-plugins</goal> |
1184 | | - <goal>collect</goal> |
1185 | | - <goal>copy-dependencies</goal> |
1186 | | - <goal>unpack-dependencies</goal> |
1187 | | - </goals> |
1188 | | - <configuration> |
1189 | | - <type>java-source</type> |
1190 | | - <excludeGroupIds>org.webjars,antlr,org.beanshell,org.apache.velocity</excludeGroupIds> |
1191 | | - <excludeArtifactIds>weld-probe-core,antlr,bsh,velocity-tools</excludeArtifactIds> |
1192 | | - <failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact> |
1193 | | - <outputDirectory>${project.build.directory}/dependency-sources/</outputDirectory> |
1194 | | - </configuration> |
1195 | | - </execution> |
1196 | | - </executions> |
1197 | | - </plugin> |
1198 | | - --> |
1199 | 1104 | <plugin> |
1200 | 1105 | <groupId>org.apache.maven.plugins</groupId> |
1201 | 1106 | <artifactId>maven-compiler-plugin</artifactId> |
|
1208 | 1113 | </compilerArgs> |
1209 | 1114 | <showWarnings>true</showWarnings> |
1210 | 1115 | <showDeprecation>true</showDeprecation> |
| 1116 | + <annotationProcessorPaths> |
| 1117 | + <path> |
| 1118 | + <groupId>org.projectlombok</groupId> |
| 1119 | + <artifactId>lombok</artifactId> |
| 1120 | + <version>${lombok.version}</version> |
| 1121 | + </path> |
| 1122 | + </annotationProcessorPaths> |
1211 | 1123 | </configuration> |
| 1124 | + <executions> |
| 1125 | + <execution> |
| 1126 | + <id>compile-classes</id> |
| 1127 | + <phase>compile</phase> |
| 1128 | + <goals> |
| 1129 | + <goal>compile</goal> |
| 1130 | + <goal>testCompile</goal> |
| 1131 | + </goals> |
| 1132 | + </execution> |
| 1133 | + </executions> |
1212 | 1134 | </plugin> |
1213 | 1135 | <plugin> |
1214 | 1136 | <groupId>org.apache.maven.plugins</groupId> |
|
1323 | 1245 | <plugin> |
1324 | 1246 | <groupId>org.apache.maven.plugins</groupId> |
1325 | 1247 | <artifactId>maven-compiler-plugin</artifactId> |
1326 | | - <configuration> |
1327 | | - <source>${java.version}</source> |
1328 | | - <target>${java.version}</target> |
1329 | | - <encoding>${project.build.sourceEncoding}</encoding> |
1330 | | - <compilerArgs> |
1331 | | - <arg>-Xlint:all,-options,-path</arg> |
1332 | | - </compilerArgs> |
1333 | | - <showWarnings>true</showWarnings> |
1334 | | - <showDeprecation>true</showDeprecation> |
1335 | | - </configuration> |
| 1248 | + <inherited>true</inherited> |
1336 | 1249 | </plugin> |
1337 | 1250 | <plugin> |
1338 | 1251 | <groupId>org.apache.maven.plugins</groupId> |
|
1404 | 1317 | <dependencyDetailsEnabled>true</dependencyDetailsEnabled> |
1405 | 1318 | </configuration> |
1406 | 1319 | </plugin> |
1407 | | - <!-- |
1408 | | - <plugin> |
1409 | | - <groupId>org.apache.maven.plugins</groupId> |
1410 | | - <artifactId>maven-changes-plugin</artifactId> |
1411 | | - <configuration> |
1412 | | - <githubAPIScheme>https</githubAPIScheme> |
1413 | | - <githubAPIPort>443</githubAPIPort> |
1414 | | - </configuration> |
1415 | | - <reportSets> |
1416 | | - <reportSet> |
1417 | | - <id>id-github-report</id> |
1418 | | - <reports> |
1419 | | - <report>github-report</report> |
1420 | | - </reports> |
1421 | | - </reportSet> |
1422 | | - </reportSets> |
1423 | | - </plugin> |
1424 | | - --> |
1425 | 1320 | <plugin> |
1426 | 1321 | <groupId>org.apache.maven.plugins</groupId> |
1427 | 1322 | <artifactId>maven-checkstyle-plugin</artifactId> |
|
0 commit comments