Skip to content

Commit

Permalink
Merge pull request #927 from jenkinsci/flatten.skip
Browse files Browse the repository at this point in the history
Fix SpotBugs processing
  • Loading branch information
uhafner authored May 20, 2024
2 parents d69596c + f538b45 commit 886d641
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,11 @@
<groupId>com.github.ekryd.sortpom</groupId>
<artifactId>sortpom-maven-plugin</artifactId>
<version>${sortpom-maven-plugin.version}</version>
<configuration>
<expandEmptyElements>false</expandEmptyElements>
<spaceBeforeCloseEmptyElement>true</spaceBeforeCloseEmptyElement>
<createBackupFile>false</createBackupFile>
</configuration>
</plugin>
</plugins>
</pluginManagement>
Expand Down Expand Up @@ -493,8 +498,8 @@
<includeTests>false</includeTests>
<language>javascript</language>
<compileSourceRoots>
<compileSourceRoot>${basedir}/src/main/resources</compileSourceRoot>
<compileSourceRoot>${basedir}/src/main/webapp/js</compileSourceRoot>
<compileSourceRoot>src/main/resources</compileSourceRoot>
<compileSourceRoot>src/main/webapp/js</compileSourceRoot>
</compileSourceRoots>
<includes>
<include>**/*.js</include>
Expand Down Expand Up @@ -592,7 +597,7 @@
</dependencies>
<executions>
<execution>
<id>run-spotbugs</id>
<id>spotbugs</id>
<goals>
<goal>check</goal>
</goals>
Expand Down Expand Up @@ -736,11 +741,18 @@
</profile>
<profile>
<id>ci</id>
<activation>
<property>
<name>maven.test.failure.ignore</name>
<value>true</value>
</property>
</activation>
<properties>
<maven.test.failure.ignore>true</maven.test.failure.ignore>
<checkstyle.failOnViolation>false</checkstyle.failOnViolation>
<pmd.failOnViolation>false</pmd.failOnViolation>
<spotbugs.failOnError>false</spotbugs.failOnError>
<flatten.flatten.skip>true</flatten.flatten.skip>
</properties>
</profile>
<profile>
Expand Down

0 comments on commit 886d641

Please sign in to comment.