Skip to content

Commit

Permalink
removed findbugs
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed Mar 26, 2021
1 parent 14f5588 commit 684a6fd
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Expand Up @@ -26,5 +26,5 @@ jobs:
run: >
xvfb-run
mvn -f releng/org.eclipse.xsemantics.releng/pom.xml
clean verify -Dfindbugs.skip=true
clean verify
4 changes: 0 additions & 4 deletions plugins/org.eclipse.xsemantics.dsl.ui/pom.xml
Expand Up @@ -29,10 +29,6 @@ Contributors:
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
</plugin>
<!-- <plugin> -->
<!-- <groupId>org.codehaus.mojo</groupId> -->
<!-- <artifactId>findbugs-maven-plugin</artifactId> -->
<!-- </plugin> -->
</plugins>
</build>
</project>
4 changes: 0 additions & 4 deletions plugins/org.eclipse.xsemantics.dsl/pom.xml
Expand Up @@ -111,10 +111,6 @@ Contributors:
<artifactId>xtend-maven-plugin</artifactId>
</plugin>

<!-- <plugin> -->
<!-- <groupId>org.codehaus.mojo</groupId> -->
<!-- <artifactId>findbugs-maven-plugin</artifactId> -->
<!-- </plugin> -->
</plugins>
</build>

Expand Down
4 changes: 0 additions & 4 deletions plugins/org.eclipse.xsemantics.runtime/pom.xml
Expand Up @@ -29,10 +29,6 @@ Contributors:
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
</plugin>
<!-- <plugin> -->
<!-- <groupId>org.codehaus.mojo</groupId> -->
<!-- <artifactId>findbugs-maven-plugin</artifactId> -->
<!-- </plugin> -->
</plugins>
</build>
</project>
28 changes: 28 additions & 0 deletions releng/org.eclipse.xsemantics.parent/findbugs/old-findbugs.txt
@@ -0,0 +1,28 @@
<findbugs-version>2.5.5</findbugs-version>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs-version}</version>
<configuration>
<skip>${findbugs.skip}</skip>
<findbugsXmlOutput>true</findbugsXmlOutput>
<failOnError>false</failOnError>
<!-- <findbugsXmlOutputDirectory>${findbugs.reportPath}</findbugsXmlOutputDirectory> -->
<!-- Enables analysis which takes more memory but finds more bugs. If
you run out of memory, changes the value of the effort element to 'Low'. -->
<!-- <effort>Max</effort> -->
<!-- Low: Reports all bugs (other values are medium and max) -->
<!-- <threshold>Medium</threshold> -->
<maxRank>15</maxRank>
<jvmArgs>-Xmx1024m</jvmArgs>
<excludeFilterFile>${basedir}/../../releng/org.eclipse.xsemantics.parent/findbugs/excludeFilter.xml</excludeFilterFile>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
32 changes: 0 additions & 32 deletions releng/org.eclipse.xsemantics.parent/pom.xml
Expand Up @@ -59,7 +59,6 @@ Contributors:
<maven-antrun-plugin.version>1.7</maven-antrun-plugin.version>
<junit-version>4.12</junit-version>
<jacoco-version>0.8.5</jacoco-version>
<findbugs-version>2.5.5</findbugs-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
Expand All @@ -77,7 +76,6 @@ Contributors:
<swtbotTestsArgs>${uiTestsArgs} -Dorg.eclipse.swtbot.search.timeout=10000 -Dorg.eclipse.swt.internal.gtk.cairoGraphics=false</swtbotTestsArgs>

<!-- <jacoco.reportPath>../target/jacoco.exec</jacoco.reportPath> -->
<!-- <findbugs.reportPath>../target/findbugs</findbugs.reportPath> -->

<!-- Sonar -->
<sonar.language>java</sonar.language>
Expand Down Expand Up @@ -115,7 +113,6 @@ Contributors:
not in the git repository (since Sonarqube 5) -->
<sonar.scm.disabled>true</sonar.scm.disabled>

<findbugs.skip>true</findbugs.skip>
<mwe2.skip>false</mwe2.skip>
<xtext.maven.skip>false</xtext.maven.skip>
<dsl.tests.skip>false</dsl.tests.skip>
Expand Down Expand Up @@ -161,7 +158,6 @@ Contributors:
<properties>
<xtext.maven.skip>true</xtext.maven.skip>
<skipTests>true</skipTests>
<findbugs.skip>true</findbugs.skip>
<!-- for Hudson CI @Eclipse.org -->
<!-- Disable this on your local machine -->
<cbi.jarsigner.skip>false</cbi.jarsigner.skip>
Expand Down Expand Up @@ -263,7 +259,6 @@ Contributors:
</activation>
<properties>
<skipTests>true</skipTests>
<findbugs.skip>true</findbugs.skip>
</properties>

<build>
Expand Down Expand Up @@ -388,33 +383,6 @@ Contributors:
</dependencies>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs-version}</version>
<configuration>
<skip>${findbugs.skip}</skip>
<findbugsXmlOutput>true</findbugsXmlOutput>
<failOnError>false</failOnError>
<!-- <findbugsXmlOutputDirectory>${findbugs.reportPath}</findbugsXmlOutputDirectory> -->
<!-- Enables analysis which takes more memory but finds more bugs. If
you run out of memory, changes the value of the effort element to 'Low'. -->
<!-- <effort>Max</effort> -->
<!-- Low: Reports all bugs (other values are medium and max) -->
<!-- <threshold>Medium</threshold> -->
<maxRank>15</maxRank>
<jvmArgs>-Xmx1024m</jvmArgs>
<excludeFilterFile>${basedir}/../../releng/org.eclipse.xsemantics.parent/findbugs/excludeFilter.xml</excludeFilterFile>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>sonar-maven-plugin</artifactId>
Expand Down

0 comments on commit 684a6fd

Please sign in to comment.