Skip to content

Commit d92f349

Browse files
committed
Move out off profile section
1 parent 809e4cd commit d92f349

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

pom.xml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<java.level>8</java.level>
1717
<jenkins-test-harness.version>2.13</jenkins-test-harness.version>
1818
<java.level.test>8</java.level.test>
19+
<findbugs.failOnError>false</findbugs.failOnError>
1920
</properties>
2021

2122
<name>Jenkins Gogs plugin</name>
@@ -123,18 +124,6 @@
123124
<!--These tests can come in the way of somebody that doesn't have a docker ready environment. So it is better
124125
to give a way to skip them-->
125126
<build>
126-
<pluginManagement>
127-
<plugins>
128-
<plugin>
129-
<groupId>org.codehaus.mojo</groupId>
130-
<artifactId>findbugs-maven-plugin</artifactId>
131-
<version>3.0.4</version>
132-
<configuration>
133-
<failOnError>${maven.findbugs.failure.strict}</failOnError>
134-
</configuration>
135-
</plugin>
136-
</plugins>
137-
</pluginManagement>
138127
<plugins>
139128
<plugin>
140129
<artifactId>maven-resources-plugin</artifactId>
@@ -239,6 +228,18 @@
239228
</profile>
240229
</profiles>
241230

231+
<build>
232+
<pluginManagement>
233+
<plugins>
234+
<plugin>
235+
<groupId>org.codehaus.mojo</groupId>
236+
<artifactId>findbugs-maven-plugin</artifactId>
237+
<version>3.0.5</version>
238+
</plugin>
239+
</plugins>
240+
</pluginManagement>
241+
</build>
242+
242243
<!-- get every artifact through repo.jenkins-ci.org, which proxies all the artifacts that we need -->
243244
<repositories>
244245
<repository>

0 commit comments

Comments
 (0)