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