From 69b0aeba7c863064307044a0177c8e96fac7c210 Mon Sep 17 00:00:00 2001 From: Garvin LeClaire Date: Tue, 15 Aug 2017 14:08:33 -0400 Subject: [PATCH] revert only require localTestSrc property to activate local test source usage to bypass test source code downloads --- README.md | 4 ++-- pom.xml | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index aa33f198c..e2a24bb46 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Maven Mojo Plug-In to generate reports based on the FindBugs Analyzer Run all tests ``` -mvn -Prun-its clean install +mvn -DtestSrc=remote -Prun-its clean install ``` Skip tests ``` @@ -26,7 +26,7 @@ mvn -DskipTests=true clean install ``` Run tests on findbugs test source code that is local instead of from FindBugs github repository ``` -mvn -DlocalTestSrc=/opt/findBugs -Prun-its clean install +mvn -DtestSrc=local -DlocalTestSrc=/opt/findBugs -Prun-its clean install ``` Run selected tests diff --git a/pom.xml b/pom.xml index b69f31eb5..50e1ccaff 100644 --- a/pom.xml +++ b/pom.xml @@ -134,7 +134,8 @@ ${project.build.directory}/it-src-findbugs ${user.dir}/FindBugs scm:git:https://github.com/findbugsproject/findbugs/ - **findbugsTestCases/src/java/A*.java, **findbugsTestCases/src/java/Use*.java, **findbugsTestCases/src/java/annotations/*.java + **findbugsTestCases/src/java/A*.java, **findbugsTestCases/src/java/Use*.java, **findbugsTestCases/src/java/annotations*.java + remote true true @@ -587,7 +588,8 @@ find-it-src-checkout - !localTestSrc + testSrc + remote @@ -631,7 +633,8 @@ find-it-src-local - localTestSrc + testSrc + local