From 5bb3f5b91eae473d7e9288cd958b097bfa5408e3 Mon Sep 17 00:00:00 2001 From: Antonio Silva Date: Wed, 4 Oct 2017 19:35:44 -0300 Subject: [PATCH 1/5] Update pom.xml --- pom.xml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5bad714..ac3228d 100644 --- a/pom.xml +++ b/pom.xml @@ -28,6 +28,18 @@ 4.12 + + + + + + org.codehaus.mojo + javancss-maven-plugin + 2.1 + + + + @@ -42,4 +54,4 @@ - \ No newline at end of file + From c28ac6cb09ccffdd1ea8494f7c44ff072858463a Mon Sep 17 00:00:00 2001 From: Antonio Silva Date: Wed, 4 Oct 2017 19:38:55 -0300 Subject: [PATCH 2/5] Create .travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..dff5f3a --- /dev/null +++ b/.travis.yml @@ -0,0 +1 @@ +language: java From 9399acea911e457520f2e286b4f80a78f8550e57 Mon Sep 17 00:00:00 2001 From: Convidado Date: Wed, 4 Oct 2017 20:10:22 -0300 Subject: [PATCH 3/5] Teste --- pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ac3228d..571b861 100644 --- a/pom.xml +++ b/pom.xml @@ -28,7 +28,8 @@ 4.12 - + + From 58f995b19fdf760821677fc5c632511ee6e12dee Mon Sep 17 00:00:00 2001 From: Antonio Silva Date: Wed, 4 Oct 2017 21:13:52 -0300 Subject: [PATCH 4/5] Update pom.xml --- pom.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pom.xml b/pom.xml index 571b861..e11c44b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,6 +4,8 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 + com.github.antlisufg:java-codes + com.github.lihengming java-codes pom @@ -19,6 +21,11 @@ design-pattern + + scm:git:git@github.com:antlisufg/java-codes.git + scm:git:git@github.com:antlisufg/java-codes.git + https://github.com/antlisufg/java-codes + From 1938974fd4938ec6abda0a42866cabb94e984366 Mon Sep 17 00:00:00 2001 From: Antonio Silva Date: Wed, 4 Oct 2017 21:15:04 -0300 Subject: [PATCH 5/5] Update .travis.yml --- .travis.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.travis.yml b/.travis.yml index dff5f3a..df61867 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1 +1,20 @@ language: java +sudo: false +install: true + +addons: + sonarqube: + organization: "antlisufg-github" + token: + secure: $SONAR_TOKEN +jdk: + - oraclejdk8 + +cache: + directories: + - '$HOME/.m2/repository' + - '$HOME/.sonar/cache' + +script: + # JaCoCo is used to have code coverage, the agent has to be activated + - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar