Skip to content

Commit 356859a

Browse files
Merge pull request #19 from BorderTech/latest-qa
Latest qa
2 parents 665fdca + bacad08 commit 356859a

File tree

9 files changed

+463
-164
lines changed

9 files changed

+463
-164
lines changed

.travis.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
dist: trusty
2+
3+
cache:
4+
directories:
5+
- $HOME/.m2
6+
7+
addons:
8+
sonarcloud:
9+
organization: "bordertech-github"
10+
token:
11+
secure: $SONAR_TOKEN
12+
113
before_install:
214
- echo "MAVEN_OPTS='-Xmx512m -XX:MaxPermSize=128m'" > ~/.mavenrc
315
- mvn clean
@@ -9,7 +21,7 @@ jdk:
921

1022
## Travis installs the project with the following maven command:- "mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V"
1123
script:
12-
- mvn package
24+
- mvn package sonar:sonar -Dsonar.projectKey="bordertech-java-config"
1325

1426
## Send Coverage to Codacy
1527
after_success:

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ Project configuration mechanism.
33

44
## Status
55
[![Build Status](https://travis-ci.com/BorderTech/java-config.svg?branch=master)](https://travis-ci.com/BorderTech/java-config)
6+
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=bordertech-java-config&metric=alert_status)](https://sonarcloud.io/dashboard?id=bordertech-java-config)
7+
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=bordertech-java-config&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=bordertech-java-config)
8+
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=bordertech-java-config&metric=coverage)](https://sonarcloud.io/dashboard?id=bordertech-java-config)
69
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/738a3851c483470da86ffe1d047f344c)](https://www.codacy.com/app/BorderTech/java-config?utm_source=github.com&utm_medium=referral&utm_content=BorderTech/java-config&utm_campaign=Badge_Grade)
7-
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/738a3851c483470da86ffe1d047f344c)](https://www.codacy.com/app/BorderTech/java-config?utm_source=github.com&utm_medium=referral&utm_content=BorderTech/java-config&utm_campaign=Badge_Coverage)
810
[![Javadocs](https://www.javadoc.io/badge/com.github.bordertech.config/config.svg)](https://www.javadoc.io/doc/com.github.bordertech.config/config)
911
[![Maven Central](https://img.shields.io/maven-central/v/com.github.bordertech.config/config.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.github.bordertech.config%22%20AND%20a:%22config%22)
1012

pom.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
<parent>
1111
<groupId>com.github.bordertech.common</groupId>
1212
<artifactId>qa-parent</artifactId>
13-
<version>1.0.11</version>
13+
<version>1.0.13</version>
1414
</parent>
1515

1616
<packaging>jar</packaging>
1717

1818
<properties>
1919
<bt.qa.skip>false</bt.qa.skip>
20-
<bt.spotbugs.exclude.files>${bt.spotbugs.exclude.file},spotbugs-exclude-filter.xml</bt.spotbugs.exclude.files>
20+
<spotbugs.excludeFilterFile>${basedir}/spotbugs-exclude-filter.xml</spotbugs.excludeFilterFile>
2121
</properties>
2222

2323
<description>
@@ -50,6 +50,11 @@
5050
<artifactId>commons-configuration</artifactId>
5151
<version>1.10</version>
5252
</dependency>
53+
<dependency>
54+
<groupId>org.apache.commons</groupId>
55+
<artifactId>commons-lang3</artifactId>
56+
<version>3.9</version>
57+
</dependency>
5358
<!-- Commons config brings in servlet.api -->
5459
<dependency>
5560
<groupId>javax.servlet</groupId>

spotbugs-exclude-filter.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<FindBugsFilter>
33

4-
<!-- False Positive on Loading Property Filenames -->
4+
<!-- False Positives -->
55
<Match>
6-
<Bug pattern="PATH_TRAVERSAL_IN" />
6+
<Bug pattern="PATH_TRAVERSAL_IN,PMB_POSSIBLE_MEMORY_BLOAT,FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY,MUI_CONTAINSKEY_BEFORE_GET" />
77
</Match>
88

99
</FindBugsFilter>

0 commit comments

Comments
 (0)