From fe30aedaeffb654f47154831726e6bce80079bec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ros=C3=A1rio=20Pereira=20Fernandes?= Date: Wed, 12 Aug 2020 18:33:05 +0200 Subject: [PATCH] test: Add spotbugs and checkstyle maven plugins for Travis CI (#496) --- Makefile | 2 +- pom.xml | 23 ++++++++++++++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 064737ef..82e5c343 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ install: cp target/sendgrid-java-$(VERSION)-shaded.jar sendgrid-java.jar test: - mvn test + mvn test spotbugs:spotbugs checkstyle:check -Dcheckstyle.config.location=google_checks.xml test-integ: test diff --git a/pom.xml b/pom.xml index cfa43c93..f91a2e6e 100644 --- a/pom.xml +++ b/pom.xml @@ -259,6 +259,18 @@ + + com.github.spotbugs + spotbugs-maven-plugin + 4.0.4 + + + com.github.spotbugs + spotbugs + 4.0.4 + + + @@ -309,4 +321,13 @@ 1.66 - \ No newline at end of file + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 3.0.0 + + + +