Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tlatools
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
tlatools
Commits
ab4ff3e5
Commit
ab4ff3e5
authored
Apr 13, 2017
by
Markus Alexander Kuppe
Browse files
Options
Downloads
Patches
Plain Diff
Reference coverage and test data for Sonarqube (quality metrics) to find
them. [Build]
parent
75eeebac
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tlatools/pom.xml
+24
-0
24 additions, 0 deletions
tlatools/pom.xml
with
24 additions
and
0 deletions
tlatools/pom.xml
+
24
−
0
View file @
ab4ff3e5
...
...
@@ -15,6 +15,30 @@
<version>
1.0.0-SNAPSHOT
</version>
<packaging>
eclipse-plugin
</packaging>
<properties>
<!-- tlatools is a non-standard maven project. Its heart is customBuild.xml written for ant -->
<!-- which gets invoked from maven. Unfortunately, it means that the tasks which are executed -->
<!-- by ant are not visible to maven. In this case it results in sonar not finding necessary -->
<!-- data to include coverage information. The properties below make sure that sonar finds the data. -->
<sonar.sources>
src,src-gen,src-aj
</sonar.sources>
<sonar.tests>
test,test-verify,test-long,test-concurrent
</sonar.tests>
<sonar.java.binaries>
class
</sonar.java.binaries>
<sonar.java.libraries>
lib/*.jar
</sonar.java.libraries>
<sonar.java.test.binaries>
class,test-class
</sonar.java.test.binaries>
<sonar.java.test.libraries>
lib/*.jar
</sonar.java.test.libraries>
<sonar.java.coveragePlugin>
jacoco
</sonar.java.coveragePlugin>
<sonar.surefire.reportsPath>
target/surefire-reports
</sonar.surefire.reportsPath>
<sonar.junit.reportsPath>
target/surefire-reports
</sonar.junit.reportsPath>
<sonar.jacoco.reportPaths>
target/code-coverage.exec
</sonar.jacoco.reportPaths>
<!-- I have no idea why those two are special and have to be excluded. -->
<sonar.exclusions>
src-gen/tla2sany/parser/TLAplusParser.java,src/tlc2/value/FcnParams.java
</sonar.exclusions>
</properties>
<build>
<plugins>
<!-- Delete the ../states/ folder created by the Ant JUnit tests as part
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment