Skip to content

Commit 22b9412

Browse files
committed
pom cleanup
1 parent 52b33d2 commit 22b9412

File tree

2 files changed

+126
-178
lines changed

2 files changed

+126
-178
lines changed

json-schema/pom.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,15 @@
1313

1414
<build>
1515
<plugins>
16-
1716
<plugin>
1817
<groupId>org.apache.maven.plugins</groupId>
1918
<artifactId>maven-compiler-plugin</artifactId>
20-
<version>${maven-compiler-plugin-version}</version>
21-
<configuration>
22-
<release>11</release>
23-
<compilerArgs>
24-
<arg>-Xpkginfo:always</arg>
25-
</compilerArgs>
26-
</configuration>
2719
</plugin>
2820

2921
<plugin>
3022
<groupId>org.apache.maven.plugins</groupId>
3123
<artifactId>maven-checkstyle-plugin</artifactId>
3224
</plugin>
33-
3425
</plugins>
3526
</build>
3627

pom.xml

Lines changed: 126 additions & 169 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,18 @@
5656
<build>
5757
<pluginManagement>
5858
<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+
5971
<plugin>
6072
<groupId>org.apache.maven.plugins</groupId>
6173
<artifactId>maven-checkstyle-plugin</artifactId>
@@ -90,10 +102,124 @@
90102
</dependency>
91103
</dependencies>
92104
</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+
93140
<plugin>
94141
<groupId>org.apache.maven.plugins</groupId>
95142
<artifactId>maven-enforcer-plugin</artifactId>
96143
<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>
97223
</plugin>
98224
</plugins>
99225
</pluginManagement>
@@ -102,50 +228,6 @@
102228
<plugin>
103229
<groupId>org.apache.maven.plugins</groupId>
104230
<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>
149231
</plugin>
150232

151233
<plugin>
@@ -174,35 +256,6 @@
174256
<plugin>
175257
<groupId>org.apache.maven.plugins</groupId>
176258
<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>
206259
</plugin>
207260
<plugin>
208261
<groupId>com.github.spotbugs</groupId>
@@ -449,102 +502,6 @@
449502

450503
<dependencyManagement>
451504
<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>
548505
<dependency>
549506
<groupId>io.kubernetes</groupId>
550507
<artifactId>client-java</artifactId>

0 commit comments

Comments
 (0)