Skip to content

Commit 41123f3

Browse files
committed
chore: Move spotbugs plugin config to parent pom
1 parent 6fe0e44 commit 41123f3

File tree

7 files changed

+28
-137
lines changed
  • aws-serverless-java-container-core
  • aws-serverless-java-container-jersey
  • aws-serverless-java-container-spark
  • aws-serverless-java-container-springboot2
  • aws-serverless-java-container-spring
  • aws-serverless-java-container-struts2

7 files changed

+28
-137
lines changed

aws-serverless-java-container-core/pom.xml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -163,29 +163,6 @@
163163
<plugin>
164164
<groupId>com.github.spotbugs</groupId>
165165
<artifactId>spotbugs-maven-plugin</artifactId>
166-
<version>4.2.0</version>
167-
<configuration>
168-
<!--
169-
Enables analysis which takes more memory but finds more bugs.
170-
If you run out of memory, changes the value of the effort element
171-
to 'Low'.
172-
-->
173-
<effort>Max</effort>
174-
<!-- Reports all bugs (other values are medium and max) -->
175-
<threshold>Low</threshold>
176-
<!-- Produces XML report -->
177-
<xmlOutput>true</xmlOutput>
178-
<!-- Configures the directory in which the XML report is created -->
179-
<spotbugsXmlOutputDirectory>${project.build.directory}/spotbugs</spotbugsXmlOutputDirectory>
180-
181-
<plugins>
182-
<plugin>
183-
<groupId>com.h3xstream.findsecbugs</groupId>
184-
<artifactId>findsecbugs-plugin</artifactId>
185-
<version>1.7.1</version>
186-
</plugin>
187-
</plugins>
188-
</configuration>
189166
<executions>
190167
<!--
191168
Ensures that SpotBug inspects source code when project is compiled.

aws-serverless-java-container-jersey/pom.xml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -161,28 +161,6 @@
161161
<groupId>com.github.spotbugs</groupId>
162162
<artifactId>spotbugs-maven-plugin</artifactId>
163163
<version>4.2.0</version>
164-
<configuration>
165-
<!--
166-
Enables analysis which takes more memory but finds more bugs.
167-
If you run out of memory, changes the value of the effort element
168-
to 'Low'.
169-
-->
170-
<effort>Max</effort>
171-
<!-- Reports all bugs (other values are medium and max) -->
172-
<threshold>Low</threshold>
173-
<!-- Produces XML report -->
174-
<xmlOutput>true</xmlOutput>
175-
<!-- Configures the directory in which the XML report is created -->
176-
<spotbugsXmlOutputDirectory>${project.build.directory}/spotbugs</spotbugsXmlOutputDirectory>
177-
178-
<plugins>
179-
<plugin>
180-
<groupId>com.h3xstream.findsecbugs</groupId>
181-
<artifactId>findsecbugs-plugin</artifactId>
182-
<version>1.7.1</version>
183-
</plugin>
184-
</plugins>
185-
</configuration>
186164
<executions>
187165
<!--
188166
Ensures that SpotBug inspects source code when project is compiled.

aws-serverless-java-container-spark/pom.xml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -113,29 +113,6 @@
113113
<plugin>
114114
<groupId>com.github.spotbugs</groupId>
115115
<artifactId>spotbugs-maven-plugin</artifactId>
116-
<version>4.2.0</version>
117-
<configuration>
118-
<!--
119-
Enables analysis which takes more memory but finds more bugs.
120-
If you run out of memory, changes the value of the effort element
121-
to 'Low'.
122-
-->
123-
<effort>Max</effort>
124-
<!-- Reports all bugs (other values are medium and max) -->
125-
<threshold>Low</threshold>
126-
<!-- Produces XML report -->
127-
<xmlOutput>true</xmlOutput>
128-
<!-- Configures the directory in which the XML report is created -->
129-
<spotbugsXmlOutputDirectory>${project.build.directory}/spotbugs</spotbugsXmlOutputDirectory>
130-
131-
<plugins>
132-
<plugin>
133-
<groupId>com.h3xstream.findsecbugs</groupId>
134-
<artifactId>findsecbugs-plugin</artifactId>
135-
<version>1.7.1</version>
136-
</plugin>
137-
</plugins>
138-
</configuration>
139116
<executions>
140117
<!--
141118
Ensures that SpotBug inspects source code when project is compiled.

aws-serverless-java-container-spring/pom.xml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -208,29 +208,6 @@
208208
<plugin>
209209
<groupId>com.github.spotbugs</groupId>
210210
<artifactId>spotbugs-maven-plugin</artifactId>
211-
<version>4.2.0</version>
212-
<configuration>
213-
<!--
214-
Enables analysis which takes more memory but finds more bugs.
215-
If you run out of memory, changes the value of the effort element
216-
to 'Low'.
217-
-->
218-
<effort>Max</effort>
219-
<!-- Reports all bugs (other values are medium and max) -->
220-
<threshold>Low</threshold>
221-
<!-- Produces XML report -->
222-
<xmlOutput>true</xmlOutput>
223-
<!-- Configures the directory in which the XML report is created -->
224-
<spotbugsXmlOutputDirectory>${project.build.directory}/spotbugs</spotbugsXmlOutputDirectory>
225-
226-
<plugins>
227-
<plugin>
228-
<groupId>com.h3xstream.findsecbugs</groupId>
229-
<artifactId>findsecbugs-plugin</artifactId>
230-
<version>1.7.1</version>
231-
</plugin>
232-
</plugins>
233-
</configuration>
234211
<executions>
235212
<!--
236213
Ensures that SpotBug inspects source code when project is compiled.

aws-serverless-java-container-springboot2/pom.xml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -228,29 +228,6 @@
228228
<plugin>
229229
<groupId>com.github.spotbugs</groupId>
230230
<artifactId>spotbugs-maven-plugin</artifactId>
231-
<version>4.2.0</version>
232-
<configuration>
233-
<!--
234-
Enables analysis which takes more memory but finds more bugs.
235-
If you run out of memory, changes the value of the effort element
236-
to 'Low'.
237-
-->
238-
<effort>Max</effort>
239-
<!-- Reports all bugs (other values are medium and max) -->
240-
<threshold>Low</threshold>
241-
<!-- Produces XML report -->
242-
<xmlOutput>true</xmlOutput>
243-
<!-- Configures the directory in which the XML report is created -->
244-
<spotbugsXmlOutputDirectory>${project.build.directory}/spotbugs</spotbugsXmlOutputDirectory>
245-
246-
<plugins>
247-
<plugin>
248-
<groupId>com.h3xstream.findsecbugs</groupId>
249-
<artifactId>findsecbugs-plugin</artifactId>
250-
<version>1.7.1</version>
251-
</plugin>
252-
</plugins>
253-
</configuration>
254231
<executions>
255232
<!--
256233
Ensures that SpotBug inspects source code when project is compiled.

aws-serverless-java-container-struts2/pom.xml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -145,29 +145,6 @@
145145
<plugin>
146146
<groupId>com.github.spotbugs</groupId>
147147
<artifactId>spotbugs-maven-plugin</artifactId>
148-
<version>4.2.0</version>
149-
<configuration>
150-
<!--
151-
Enables analysis which takes more memory but finds more bugs.
152-
If you run out of memory, changes the value of the effort element
153-
to 'Low'.
154-
-->
155-
<effort>Max</effort>
156-
<!-- Reports all bugs (other values are medium and max) -->
157-
<threshold>Low</threshold>
158-
<!-- Produces XML report -->
159-
<xmlOutput>true</xmlOutput>
160-
<!-- Configures the directory in which the XML report is created -->
161-
<spotbugsXmlOutputDirectory>${project.build.directory}/spotbugs</spotbugsXmlOutputDirectory>
162-
163-
<plugins>
164-
<plugin>
165-
<groupId>com.h3xstream.findsecbugs</groupId>
166-
<artifactId>findsecbugs-plugin</artifactId>
167-
<version>1.7.1</version>
168-
</plugin>
169-
</plugins>
170-
</configuration>
171148
<executions>
172149
<!--
173150
Ensures that SpotBug inspects source code when project is compiled.

pom.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,34 @@
174174
<scmCommentPrefix>chore: release - </scmCommentPrefix>
175175
</configuration>
176176
</plugin>
177+
178+
<plugin>
179+
<groupId>com.github.spotbugs</groupId>
180+
<artifactId>spotbugs-maven-plugin</artifactId>
181+
<version>4.2.0</version>
182+
<configuration>
183+
<!--
184+
Enables analysis which takes more memory but finds more bugs.
185+
If you run out of memory, changes the value of the effort element
186+
to 'Low'.
187+
-->
188+
<effort>Max</effort>
189+
<!-- Reports all bugs (other values are medium and max) -->
190+
<threshold>Low</threshold>
191+
<!-- Produces XML report -->
192+
<xmlOutput>true</xmlOutput>
193+
<!-- Configures the directory in which the XML report is created -->
194+
<spotbugsXmlOutputDirectory>${project.build.directory}/spotbugs</spotbugsXmlOutputDirectory>
195+
196+
<plugins>
197+
<plugin>
198+
<groupId>com.h3xstream.findsecbugs</groupId>
199+
<artifactId>findsecbugs-plugin</artifactId>
200+
<version>1.7.1</version>
201+
</plugin>
202+
</plugins>
203+
</configuration>
204+
</plugin>
177205
</plugins>
178206
</pluginManagement>
179207
</build>

0 commit comments

Comments
 (0)