Skip to content

Commit 71ca736

Browse files
authored
cleanup pom files with duplicate declarations of maven-compiler-plugin (helidon-io#5810)
1 parent c822fb3 commit 71ca736

4 files changed

Lines changed: 25 additions & 50 deletions

File tree

integrations/cdi/eclipselink-cdi/pom.xml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright (c) 2019, 2022 Oracle and/or its affiliates.
4+
Copyright (c) 2019, 2023 Oracle and/or its affiliates.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -106,6 +106,13 @@
106106
<compilerArgs>
107107
<arg>-Xlint:-requires-automatic</arg>
108108
</compilerArgs>
109+
<annotationProcessorPaths>
110+
<path>
111+
<groupId>io.helidon.common.features</groupId>
112+
<artifactId>helidon-common-features-processor</artifactId>
113+
<version>${helidon.version}</version>
114+
</path>
115+
</annotationProcessorPaths>
109116
</configuration>
110117
</plugin>
111118
<plugin>
@@ -131,19 +138,6 @@
131138
</systemPropertyVariables>
132139
</configuration>
133140
</plugin>
134-
<plugin>
135-
<groupId>org.apache.maven.plugins</groupId>
136-
<artifactId>maven-compiler-plugin</artifactId>
137-
<configuration>
138-
<annotationProcessorPaths>
139-
<path>
140-
<groupId>io.helidon.common.features</groupId>
141-
<artifactId>helidon-common-features-processor</artifactId>
142-
<version>${helidon.version}</version>
143-
</path>
144-
</annotationProcessorPaths>
145-
</configuration>
146-
</plugin>
147141
</plugins>
148142
</build>
149143
</project>

integrations/micrometer/micrometer/pom.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright (c) 2021, 2022 Oracle and/or its affiliates.
4+
Copyright (c) 2021, 2023 Oracle and/or its affiliates.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -136,12 +136,6 @@
136136
<compilerArgs>
137137
<arg>-Xlint:-requires-automatic</arg>
138138
</compilerArgs>
139-
</configuration>
140-
</plugin>
141-
<plugin>
142-
<groupId>org.apache.maven.plugins</groupId>
143-
<artifactId>maven-compiler-plugin</artifactId>
144-
<configuration>
145139
<annotationProcessorPaths>
146140
<path>
147141
<groupId>io.helidon.common.features</groupId>

messaging/messaging/pom.xml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
Copyright (c) 2020, 2022 Oracle and/or its affiliates.
3+
Copyright (c) 2020, 2023 Oracle and/or its affiliates.
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.
@@ -81,7 +81,6 @@
8181
</dependency>
8282
</dependencies>
8383

84-
8584
<build>
8685
<plugins>
8786
<plugin>
@@ -91,6 +90,13 @@
9190
<compilerArgs>
9291
<compilerArg>--enable-preview</compilerArg>
9392
</compilerArgs>
93+
<annotationProcessorPaths>
94+
<path>
95+
<groupId>io.helidon.common.features</groupId>
96+
<artifactId>helidon-common-features-processor</artifactId>
97+
<version>${helidon.version}</version>
98+
</path>
99+
</annotationProcessorPaths>
94100
</configuration>
95101
</plugin>
96102
<plugin>
@@ -102,19 +108,6 @@
102108
</additionalOptions>
103109
</configuration>
104110
</plugin>
105-
<plugin>
106-
<groupId>org.apache.maven.plugins</groupId>
107-
<artifactId>maven-compiler-plugin</artifactId>
108-
<configuration>
109-
<annotationProcessorPaths>
110-
<path>
111-
<groupId>io.helidon.common.features</groupId>
112-
<artifactId>helidon-common-features-processor</artifactId>
113-
<version>${helidon.version}</version>
114-
</path>
115-
</annotationProcessorPaths>
116-
</configuration>
117-
</plugin>
118111
</plugins>
119112
</build>
120113
</project>

metrics/metrics/pom.xml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright (c) 2018, 2022 Oracle and/or its affiliates.
4+
Copyright (c) 2018, 2023 Oracle and/or its affiliates.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -99,6 +99,13 @@
9999
<compilerArgs>
100100
<compilerArg>--enable-preview</compilerArg>
101101
</compilerArgs>
102+
<annotationProcessorPaths>
103+
<path>
104+
<groupId>io.helidon.common.features</groupId>
105+
<artifactId>helidon-common-features-processor</artifactId>
106+
<version>${helidon.version}</version>
107+
</path>
108+
</annotationProcessorPaths>
102109
</configuration>
103110
</plugin>
104111
<plugin>
@@ -169,19 +176,6 @@
169176
</execution>
170177
</executions>
171178
</plugin>
172-
<plugin>
173-
<groupId>org.apache.maven.plugins</groupId>
174-
<artifactId>maven-compiler-plugin</artifactId>
175-
<configuration>
176-
<annotationProcessorPaths>
177-
<path>
178-
<groupId>io.helidon.common.features</groupId>
179-
<artifactId>helidon-common-features-processor</artifactId>
180-
<version>${helidon.version}</version>
181-
</path>
182-
</annotationProcessorPaths>
183-
</configuration>
184-
</plugin>
185179
</plugins>
186180
</build>
187181

0 commit comments

Comments
 (0)