Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
giscience
big-data
ohsome
parent
Commits
2bba7364
Verified
Commit
2bba7364
authored
Apr 29, 2021
by
Johannes Visintini
Browse files
added spotbugs to maven dependencies, updated spotbugs to 4.2.0
parent
ca38576e
Pipeline
#1751
passed with stage
in 0 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
2bba7364
...
...
@@ -4,6 +4,7 @@ Changelog
## 2.9
*
add base configuration for
[
sonarcloud
](
https://sonarcloud.io/giscience
)
code analysis
*
integrated spotbugs into parent dependencies, updated spotbugs to 4.2.0
## 2.8
...
...
Jenkinsfile.template
View file @
2bba7364
...
...
@@ -83,7 +83,7 @@ pipeline {
}
// warnings plugin
rtMaven.run pom: 'pom.xml', goals: '--batch-mode -V -e clean compile checkstyle:checkstyle pmd:pmd pmd:cpd
com.github.spotbugs:spotbugs-maven-plugin:3.1.7
:spotbugs -Dmaven.repo.local=.m2'
rtMaven.run pom: 'pom.xml', goals: '--batch-mode -V -e clean compile checkstyle:checkstyle pmd:pmd pmd:cpd
spotbugs
:spotbugs -Dmaven.repo.local=.m2'
recordIssues enabledForFailure: true, tools: [mavenConsole(), java(), javaDoc()]
recordIssues enabledForFailure: true, tool: checkStyle()
...
...
pom.xml
View file @
2bba7364
...
...
@@ -79,6 +79,7 @@
<mavencompiler.version>
3.8.0
</mavencompiler.version>
<mavengpg.version>
1.6
</mavengpg.version>
<mavenjavadoc.version>
3.2.0
</mavenjavadoc.version>
<mavenspotbugs.version>
4.2.0
</mavenspotbugs.version>
<nexusstagingmaven.version>
1.6.8
</nexusstagingmaven.version>
<sonar.coverage.jacoco.xmlReportPaths>
${project.build.directory}/site/jacoco/jacoco.xml
</sonar.coverage.jacoco.xmlReportPaths>
<sonar.host.url>
https://sonarcloud.io
</sonar.host.url>
...
...
@@ -104,6 +105,18 @@
<source>
${java.version}
</source>
</configuration>
</plugin>
<plugin>
<groupId>
com.github.spotbugs
</groupId>
<artifactId>
spotbugs-maven-plugin
</artifactId>
<version>
${mavenspotbugs.version}
</version>
<dependencies>
<dependency>
<groupId>
com.github.spotbugs
</groupId>
<artifactId>
spotbugs
</artifactId>
<version>
${mavenspotbugs.version}
</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-checkstyle-plugin
</artifactId>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment