|
56 | 56 | <build>
|
57 | 57 | <pluginManagement>
|
58 | 58 | <plugins>
|
| 59 | + <plugin> |
| 60 | + <groupId>org.apache.maven.plugins</groupId> |
| 61 | + <artifactId>maven-compiler-plugin</artifactId> |
| 62 | + <version>${maven-compiler-plugin-version}</version> |
| 63 | + <configuration> |
| 64 | + <release>11</release> |
| 65 | + <compilerArgs> |
| 66 | + <arg>-Xpkginfo:always</arg> |
| 67 | + </compilerArgs> |
| 68 | + </configuration> |
| 69 | + </plugin> |
| 70 | + |
59 | 71 | <plugin>
|
60 | 72 | <groupId>org.apache.maven.plugins</groupId>
|
61 | 73 | <artifactId>maven-checkstyle-plugin</artifactId>
|
|
90 | 102 | </dependency>
|
91 | 103 | </dependencies>
|
92 | 104 | </plugin>
|
| 105 | + |
| 106 | + <plugin> |
| 107 | + <groupId>org.apache.maven.plugins</groupId> |
| 108 | + <artifactId>maven-pmd-plugin</artifactId> |
| 109 | + <version>${maven-pmd-plugin-version}</version> |
| 110 | + <configuration> |
| 111 | + <sourceEncoding>utf-8</sourceEncoding> |
| 112 | + <rulesets> |
| 113 | + <ruleset>weblogic-kubernetes-operator/pmd/weblogicx-ruleset.xml</ruleset> |
| 114 | + </rulesets> |
| 115 | + <printFailingErrors>true</printFailingErrors> |
| 116 | + <failOnViolation>false</failOnViolation> |
| 117 | + </configuration> |
| 118 | + <executions> |
| 119 | + <execution> |
| 120 | + <phase>test</phase> |
| 121 | + <goals> |
| 122 | + <goal>pmd</goal> |
| 123 | + </goals> |
| 124 | + </execution> |
| 125 | + </executions> |
| 126 | + <dependencies> |
| 127 | + <dependency> |
| 128 | + <groupId>oracle.kubernetes</groupId> |
| 129 | + <artifactId>build-tools</artifactId> |
| 130 | + <version>1.0</version> |
| 131 | + </dependency> |
| 132 | + <dependency> |
| 133 | + <groupId>net.sourceforge.pmd</groupId> |
| 134 | + <artifactId>pmd-java</artifactId> |
| 135 | + <version>6.13.0</version> |
| 136 | + </dependency> |
| 137 | + </dependencies> |
| 138 | + </plugin> |
| 139 | + |
93 | 140 | <plugin>
|
94 | 141 | <groupId>org.apache.maven.plugins</groupId>
|
95 | 142 | <artifactId>maven-enforcer-plugin</artifactId>
|
96 | 143 | <version>${maven-enforcer-plugin-version}</version>
|
| 144 | + <executions> |
| 145 | + <execution> |
| 146 | + <id>enforce-maven</id> |
| 147 | + <goals> |
| 148 | + <goal>enforce</goal> |
| 149 | + </goals> |
| 150 | + <configuration> |
| 151 | + <rules> |
| 152 | + <requireMavenVersion> |
| 153 | + <version>${maven.version.range}</version> |
| 154 | + </requireMavenVersion> |
| 155 | + <requireJavaVersion> |
| 156 | + <version>${java.version.range}</version> |
| 157 | + </requireJavaVersion> |
| 158 | + <requirePluginVersions></requirePluginVersions> |
| 159 | + </rules> |
| 160 | + </configuration> |
| 161 | + </execution> |
| 162 | + </executions> |
| 163 | + </plugin> |
| 164 | + |
| 165 | + <plugin> |
| 166 | + <groupId>org.apache.maven.plugins</groupId> |
| 167 | + <artifactId>maven-release-plugin</artifactId> |
| 168 | + <version>${maven-release-plugin-version}</version> |
| 169 | + </plugin> |
| 170 | + |
| 171 | + <plugin> |
| 172 | + <groupId>org.apache.maven.plugins</groupId> |
| 173 | + <artifactId>maven-clean-plugin</artifactId> |
| 174 | + <version>${maven-clean-plugin-version}</version> |
| 175 | + </plugin> |
| 176 | + |
| 177 | + <plugin> |
| 178 | + <groupId>org.apache.maven.plugins</groupId> |
| 179 | + <artifactId>maven-install-plugin</artifactId> |
| 180 | + <version>${maven-install-plugin-version}</version> |
| 181 | + </plugin> |
| 182 | + |
| 183 | + <plugin> |
| 184 | + <groupId>org.apache.maven.plugins</groupId> |
| 185 | + <artifactId>maven-site-plugin</artifactId> |
| 186 | + <version>${maven-site-plugin-version}</version> |
| 187 | + </plugin> |
| 188 | + |
| 189 | + <plugin> |
| 190 | + <groupId>org.apache.maven.plugins</groupId> |
| 191 | + <artifactId>maven-deploy-plugin</artifactId> |
| 192 | + <version>${maven-deploy-plugin-version}</version> |
| 193 | + </plugin> |
| 194 | + |
| 195 | + <plugin> |
| 196 | + <groupId>org.apache.maven.plugins</groupId> |
| 197 | + <artifactId>maven-resources-plugin</artifactId> |
| 198 | + <version>${maven-resources-plugin-version}</version> |
| 199 | + </plugin> |
| 200 | + |
| 201 | + <plugin> |
| 202 | + <groupId>org.apache.maven.plugins</groupId> |
| 203 | + <artifactId>maven-jar-plugin</artifactId> |
| 204 | + <version>${maven-jar-plugin-version}</version> |
| 205 | + </plugin> |
| 206 | + |
| 207 | + <plugin> |
| 208 | + <groupId>org.apache.maven.plugins</groupId> |
| 209 | + <artifactId>maven-surefire-plugin</artifactId> |
| 210 | + <version>${maven-surefire-plugin-version}</version> |
| 211 | + </plugin> |
| 212 | + |
| 213 | + <plugin> |
| 214 | + <groupId>org.apache.maven.plugins</groupId> |
| 215 | + <artifactId>maven-dependency-plugin</artifactId> |
| 216 | + <version>${maven-dependency-plugin-version}</version> |
| 217 | + </plugin> |
| 218 | + |
| 219 | + <plugin> |
| 220 | + <groupId>org.codehaus.mojo</groupId> |
| 221 | + <artifactId>exec-maven-plugin</artifactId> |
| 222 | + <version>${exec-maven-plugin-version}</version> |
97 | 223 | </plugin>
|
98 | 224 | </plugins>
|
99 | 225 | </pluginManagement>
|
|
102 | 228 | <plugin>
|
103 | 229 | <groupId>org.apache.maven.plugins</groupId>
|
104 | 230 | <artifactId>maven-enforcer-plugin</artifactId>
|
105 |
| - <executions> |
106 |
| - <execution> |
107 |
| - <id>enforce-maven</id> |
108 |
| - <goals> |
109 |
| - <goal>enforce</goal> |
110 |
| - </goals> |
111 |
| - <configuration> |
112 |
| - <rules> |
113 |
| - <requireMavenVersion> |
114 |
| - <version>${maven.version.range}</version> |
115 |
| - </requireMavenVersion> |
116 |
| - <requireJavaVersion> |
117 |
| - <version>${java.version.range}</version> |
118 |
| - </requireJavaVersion> |
119 |
| - <requirePluginVersions></requirePluginVersions> |
120 |
| - </rules> |
121 |
| - </configuration> |
122 |
| - </execution> |
123 |
| - </executions> |
124 |
| - </plugin> |
125 |
| - <plugin> |
126 |
| - <groupId>org.apache.maven.plugins</groupId> |
127 |
| - <artifactId>maven-release-plugin</artifactId> |
128 |
| - <version>${maven-release-plugin-version}</version> |
129 |
| - </plugin> |
130 |
| - <plugin> |
131 |
| - <groupId>org.apache.maven.plugins</groupId> |
132 |
| - <artifactId>maven-clean-plugin</artifactId> |
133 |
| - <version>${maven-clean-plugin-version}</version> |
134 |
| - </plugin> |
135 |
| - <plugin> |
136 |
| - <groupId>org.apache.maven.plugins</groupId> |
137 |
| - <artifactId>maven-install-plugin</artifactId> |
138 |
| - <version>${maven-install-plugin-version}</version> |
139 |
| - </plugin> |
140 |
| - <plugin> |
141 |
| - <groupId>org.apache.maven.plugins</groupId> |
142 |
| - <artifactId>maven-site-plugin</artifactId> |
143 |
| - <version>${maven-site-plugin-version}</version> |
144 |
| - </plugin> |
145 |
| - <plugin> |
146 |
| - <groupId>org.apache.maven.plugins</groupId> |
147 |
| - <artifactId>maven-deploy-plugin</artifactId> |
148 |
| - <version>${maven-deploy-plugin-version}</version> |
149 | 231 | </plugin>
|
150 | 232 |
|
151 | 233 | <plugin>
|
|
174 | 256 | <plugin>
|
175 | 257 | <groupId>org.apache.maven.plugins</groupId>
|
176 | 258 | <artifactId>maven-pmd-plugin</artifactId>
|
177 |
| - <version>${maven-pmd-plugin-version}</version> |
178 |
| - <configuration> |
179 |
| - <sourceEncoding>utf-8</sourceEncoding> |
180 |
| - <rulesets> |
181 |
| - <ruleset>weblogic-kubernetes-operator/pmd/weblogicx-ruleset.xml</ruleset> |
182 |
| - </rulesets> |
183 |
| - <printFailingErrors>true</printFailingErrors> |
184 |
| - <failOnViolation>false</failOnViolation> |
185 |
| - </configuration> |
186 |
| - <executions> |
187 |
| - <execution> |
188 |
| - <phase>test</phase> |
189 |
| - <goals> |
190 |
| - <goal>pmd</goal> |
191 |
| - </goals> |
192 |
| - </execution> |
193 |
| - </executions> |
194 |
| - <dependencies> |
195 |
| - <dependency> |
196 |
| - <groupId>oracle.kubernetes</groupId> |
197 |
| - <artifactId>build-tools</artifactId> |
198 |
| - <version>1.0</version> |
199 |
| - </dependency> |
200 |
| - <dependency> |
201 |
| - <groupId>net.sourceforge.pmd</groupId> |
202 |
| - <artifactId>pmd-java</artifactId> |
203 |
| - <version>6.13.0</version> |
204 |
| - </dependency> |
205 |
| - </dependencies> |
206 | 259 | </plugin>
|
207 | 260 | <plugin>
|
208 | 261 | <groupId>com.github.spotbugs</groupId>
|
|
449 | 502 |
|
450 | 503 | <dependencyManagement>
|
451 | 504 | <dependencies>
|
452 |
| - <dependency> |
453 |
| - <groupId>org.apache.maven.plugins</groupId> |
454 |
| - <artifactId>maven-enforcer-plugin</artifactId> |
455 |
| - <version>${maven-enforcer-plugin-version}</version> |
456 |
| - <type>maven-plugin</type> |
457 |
| - </dependency> |
458 |
| - <dependency> |
459 |
| - <groupId>org.apache.maven.plugins</groupId> |
460 |
| - <artifactId>maven-clean-plugin</artifactId> |
461 |
| - <version>${maven-clean-plugin-version}</version> |
462 |
| - <type>maven-plugin</type> |
463 |
| - </dependency> |
464 |
| - <dependency> |
465 |
| - <groupId>org.apache.maven.plugins</groupId> |
466 |
| - <artifactId>maven-compiler-plugin</artifactId> |
467 |
| - <version>${maven-compiler-plugin-version}</version> |
468 |
| - <type>maven-plugin</type> |
469 |
| - </dependency> |
470 |
| - <dependency> |
471 |
| - <groupId>org.apache.maven.plugins</groupId> |
472 |
| - <artifactId>maven-deploy-plugin</artifactId> |
473 |
| - <version>${maven-deploy-plugin-version}</version> |
474 |
| - <type>maven-plugin</type> |
475 |
| - </dependency> |
476 |
| - <dependency> |
477 |
| - <groupId>org.apache.maven.plugins</groupId> |
478 |
| - <artifactId>maven-install-plugin</artifactId> |
479 |
| - <version>${maven-install-plugin-version}</version> |
480 |
| - <type>maven-plugin</type> |
481 |
| - </dependency> |
482 |
| - <dependency> |
483 |
| - <groupId>org.apache.maven.plugins</groupId> |
484 |
| - <artifactId>maven-jar-plugin</artifactId> |
485 |
| - <version>${maven-jar-plugin-version}</version> |
486 |
| - <type>maven-plugin</type> |
487 |
| - </dependency> |
488 |
| - <dependency> |
489 |
| - <groupId>org.apache.maven.plugins</groupId> |
490 |
| - <artifactId>maven-resources-plugin</artifactId> |
491 |
| - <version>${maven-resources-plugin-version}</version> |
492 |
| - <type>maven-plugin</type> |
493 |
| - </dependency> |
494 |
| - <dependency> |
495 |
| - <groupId>org.apache.maven.plugins</groupId> |
496 |
| - <artifactId>maven-site-plugin</artifactId> |
497 |
| - <version>${maven-site-plugin-version}</version> |
498 |
| - <type>maven-plugin</type> |
499 |
| - </dependency> |
500 |
| - <dependency> |
501 |
| - <groupId>org.apache.maven.plugins</groupId> |
502 |
| - <artifactId>maven-surefire-plugin</artifactId> |
503 |
| - <version>${maven-surefire-plugin-version}</version> |
504 |
| - <type>maven-plugin</type> |
505 |
| - </dependency> |
506 |
| - <dependency> |
507 |
| - <groupId>org.apache.maven.plugins</groupId> |
508 |
| - <artifactId>maven-checkstyle-plugin</artifactId> |
509 |
| - <version>${maven-checkstyle-plugin-version}</version> |
510 |
| - <type>maven-plugin</type> |
511 |
| - </dependency> |
512 |
| - <dependency> |
513 |
| - <groupId>org.apache.maven.plugins</groupId> |
514 |
| - <artifactId>maven-pmd-plugin</artifactId> |
515 |
| - <version>${maven-pmd-plugin-version}</version> |
516 |
| - <type>maven-plugin</type> |
517 |
| - </dependency> |
518 |
| - <dependency> |
519 |
| - <groupId>org.apache.maven.plugins</groupId> |
520 |
| - <artifactId>maven-release-plugin</artifactId> |
521 |
| - <version>${maven-release-plugin-version}</version> |
522 |
| - <type>maven-plugin</type> |
523 |
| - </dependency> |
524 |
| - <dependency> |
525 |
| - <groupId>org.apache.maven.plugins</groupId> |
526 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
527 |
| - <version>${maven-javadoc-plugin-version}</version> |
528 |
| - <type>maven-plugin</type> |
529 |
| - </dependency> |
530 |
| - <dependency> |
531 |
| - <groupId>org.apache.maven.plugins</groupId> |
532 |
| - <artifactId>maven-failsafe-plugin</artifactId> |
533 |
| - <version>${maven-failsafe-plugin-version}</version> |
534 |
| - <type>maven-plugin</type> |
535 |
| - </dependency> |
536 |
| - <dependency> |
537 |
| - <groupId>org.apache.maven.plugins</groupId> |
538 |
| - <artifactId>maven-dependency-plugin</artifactId> |
539 |
| - <version>${maven-dependency-plugin-version}</version> |
540 |
| - <type>maven-plugin</type> |
541 |
| - </dependency> |
542 |
| - <dependency> |
543 |
| - <groupId>org.codehaus.mojo</groupId> |
544 |
| - <artifactId>exec-maven-plugin</artifactId> |
545 |
| - <version>${exec-maven-plugin-version}</version> |
546 |
| - <type>maven-plugin</type> |
547 |
| - </dependency> |
548 | 505 | <dependency>
|
549 | 506 | <groupId>io.kubernetes</groupId>
|
550 | 507 | <artifactId>client-java</artifactId>
|
|
0 commit comments