diff --git a/src/it/MFINDBUGS-145/src/site/site.xml b/src/it/MFINDBUGS-145/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/MFINDBUGS-145/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/MFINDBUGS-178/src/site/site.xml b/src/it/MFINDBUGS-178/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/MFINDBUGS-178/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/basic-1/src/site/site.xml b/src/it/basic-1/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/basic-1/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/basic-1/verify.groovy b/src/it/basic-1/verify.groovy index 6c86b2d9..6379eee8 100644 --- a/src/it/basic-1/verify.groovy +++ b/src/it/basic-1/verify.groovy @@ -38,8 +38,7 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/change-xml-filename/src/site/site.xml b/src/it/change-xml-filename/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/change-xml-filename/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-bug-file-multi-list/src/site/site.xml b/src/it/check-bug-file-multi-list/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-bug-file-multi-list/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-bug-file-multi/src/site/site.xml b/src/it/check-bug-file-multi/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-bug-file-multi/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-bug-file/src/site/site.xml b/src/it/check-bug-file/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-bug-file/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-bug-only-test-sources/src/site/site.xml b/src/it/check-bug-only-test-sources/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-bug-only-test-sources/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-fail/src/site/site.xml b/src/it/check-fail/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-fail/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-failThreshold/src/site/site.xml b/src/it/check-failThreshold/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-failThreshold/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-jvmargs/src/site/site.xml b/src/it/check-jvmargs/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-jvmargs/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-multi-filter-dups/module1/src/site/site.xml b/src/it/check-multi-filter-dups/module1/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-multi-filter-dups/module1/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-multi-filter-dups/module2/src/site/site.xml b/src/it/check-multi-filter-dups/module2/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-multi-filter-dups/module2/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-multi-filter-dups/src/site/site.xml b/src/it/check-multi-filter-dups/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-multi-filter-dups/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-multi/modules/module-1/src/site/site.xml b/src/it/check-multi/modules/module-1/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-multi/modules/module-1/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-multi/modules/module-2/src/site/site.xml b/src/it/check-multi/modules/module-2/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-multi/modules/module-2/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-multi/modules/src/site/site.xml b/src/it/check-multi/modules/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-multi/modules/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-multi/src/site/site.xml b/src/it/check-multi/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-multi/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-no-missing-classes/src/site/site.xml b/src/it/check-no-missing-classes/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-no-missing-classes/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-nofail/src/site/site.xml b/src/it/check-nofail/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-nofail/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-pluginList-repo/src/site/site.xml b/src/it/check-pluginList-repo/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-pluginList-repo/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-skip/src/site/site.xml b/src/it/check-skip/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-skip/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check-timeout/src/site/site.xml b/src/it/check-timeout/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check-timeout/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/check/src/site/site.xml b/src/it/check/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/check/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/effort-default/src/site/site.xml b/src/it/effort-default/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/effort-default/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/effort-default/verify.groovy b/src/it/effort-default/verify.groovy index f2c90ca3..bc201832 100644 --- a/src/it/effort-default/verify.groovy +++ b/src/it/effort-default/verify.groovy @@ -38,8 +38,8 @@ xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", f xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/effort-max/src/site/site.xml b/src/it/effort-max/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/effort-max/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/effort-max/verify.groovy b/src/it/effort-max/verify.groovy index 9468f6fc..012b487d 100644 --- a/src/it/effort-max/verify.groovy +++ b/src/it/effort-max/verify.groovy @@ -39,8 +39,8 @@ xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", f xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/effort-min/src/site/site.xml b/src/it/effort-min/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/effort-min/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/effort-min/verify.groovy b/src/it/effort-min/verify.groovy index 20ab60a4..9d556c71 100644 --- a/src/it/effort-min/verify.groovy +++ b/src/it/effort-min/verify.groovy @@ -39,8 +39,8 @@ xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", f xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/empty/src/site/site.xml b/src/it/empty/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/empty/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/encoding-utf8/src/site/site.xml b/src/it/encoding-utf8/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/encoding-utf8/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/encoding-utf8/verify.groovy b/src/it/encoding-utf8/verify.groovy index 7add3dd6..078eb7eb 100644 --- a/src/it/encoding-utf8/verify.groovy +++ b/src/it/encoding-utf8/verify.groovy @@ -33,8 +33,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/exclude-modules/module1/src/site/site.xml b/src/it/exclude-modules/module1/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/exclude-modules/module1/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/exclude-modules/module2/src/site/site.xml b/src/it/exclude-modules/module2/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/exclude-modules/module2/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/exclude-modules/src/site/site.xml b/src/it/exclude-modules/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/exclude-modules/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/exclude-multi-list/src/site/site.xml b/src/it/exclude-multi-list/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/exclude-multi-list/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/exclude-multi-list/verify.groovy b/src/it/exclude-multi-list/verify.groovy index 7add3dd6..078eb7eb 100644 --- a/src/it/exclude-multi-list/verify.groovy +++ b/src/it/exclude-multi-list/verify.groovy @@ -33,8 +33,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/exclude-multi/src/site/site.xml b/src/it/exclude-multi/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/exclude-multi/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/exclude-multi/verify.groovy b/src/it/exclude-multi/verify.groovy index 7add3dd6..078eb7eb 100644 --- a/src/it/exclude-multi/verify.groovy +++ b/src/it/exclude-multi/verify.groovy @@ -33,8 +33,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/exclude/src/site/site.xml b/src/it/exclude/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/exclude/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/exclude/verify.groovy b/src/it/exclude/verify.groovy index 00a2521b..3efc1550 100644 --- a/src/it/exclude/verify.groovy +++ b/src/it/exclude/verify.groovy @@ -33,8 +33,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/excludeBugsFile/src/site/site.xml b/src/it/excludeBugsFile/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/excludeBugsFile/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/experimental/src/site/site.xml b/src/it/experimental/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/experimental/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/experimental/verify.groovy b/src/it/experimental/verify.groovy index 1d318567..e5a5110b 100644 --- a/src/it/experimental/verify.groovy +++ b/src/it/experimental/verify.groovy @@ -37,8 +37,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/html-report/src/site/site.xml b/src/it/html-report/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/html-report/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/include-multi-list/src/site/site.xml b/src/it/include-multi-list/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/include-multi-list/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/include-multi-list/verify.groovy b/src/it/include-multi-list/verify.groovy index 7add3dd6..078eb7eb 100644 --- a/src/it/include-multi-list/verify.groovy +++ b/src/it/include-multi-list/verify.groovy @@ -33,8 +33,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/include-multi/src/site/site.xml b/src/it/include-multi/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/include-multi/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/include-multi/verify.groovy b/src/it/include-multi/verify.groovy index 7add3dd6..078eb7eb 100644 --- a/src/it/include-multi/verify.groovy +++ b/src/it/include-multi/verify.groovy @@ -33,8 +33,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/include/src/site/site.xml b/src/it/include/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/include/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/include/verify.groovy b/src/it/include/verify.groovy index 7add3dd6..078eb7eb 100644 --- a/src/it/include/verify.groovy +++ b/src/it/include/verify.groovy @@ -33,8 +33,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/maxRank/src/site/site.xml b/src/it/maxRank/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/maxRank/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/multi-build/modules/module-1/src/site/site.xml b/src/it/multi-build/modules/module-1/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/multi-build/modules/module-1/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/multi-build/modules/module-2/src/site/site.xml b/src/it/multi-build/modules/module-2/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/multi-build/modules/module-2/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/multi-build/modules/src/site/site.xml b/src/it/multi-build/modules/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/multi-build/modules/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/multi-build/src/site/site.xml b/src/it/multi-build/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/multi-build/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/multi-build/verify.groovy b/src/it/multi-build/verify.groovy index bb4f49aa..a47b56d3 100644 --- a/src/it/multi-build/verify.groovy +++ b/src/it/multi-build/verify.groovy @@ -46,8 +46,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" println '***************************' @@ -116,8 +116,8 @@ xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", f xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" println '***************************' diff --git a/src/it/multi/modules/module-1/src/site/site.xml b/src/it/multi/modules/module-1/src/site/site.xml index aa6dd31d..c44c6805 100644 --- a/src/it/multi/modules/module-1/src/site/site.xml +++ b/src/it/multi/modules/module-1/src/site/site.xml @@ -1,4 +1,4 @@ - + - - - - - - - ${reports} - + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + diff --git a/src/it/multi/modules/module-2/src/site/site.xml b/src/it/multi/modules/module-2/src/site/site.xml index aa6dd31d..c44c6805 100644 --- a/src/it/multi/modules/module-2/src/site/site.xml +++ b/src/it/multi/modules/module-2/src/site/site.xml @@ -1,4 +1,4 @@ - + - - - - - - - ${reports} - + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + diff --git a/src/it/multi/modules/src/site/site.xml b/src/it/multi/modules/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/multi/modules/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/multi/src/site/site.xml b/src/it/multi/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/multi/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/multi/verify.groovy b/src/it/multi/verify.groovy index 1b6b804d..2fd6b879 100644 --- a/src/it/multi/verify.groovy +++ b/src/it/multi/verify.groovy @@ -46,8 +46,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" println '***************************' @@ -115,8 +115,8 @@ xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", f xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" println '***************************' diff --git a/src/it/nested/src/site/site.xml b/src/it/nested/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/nested/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/nested/verify.groovy b/src/it/nested/verify.groovy index 6c86b2d9..0d7915db 100644 --- a/src/it/nested/verify.groovy +++ b/src/it/nested/verify.groovy @@ -38,8 +38,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/no-src/src/site/site.xml b/src/it/no-src/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/no-src/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/no-testsrc/src/site/site.xml b/src/it/no-testsrc/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/no-testsrc/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/no-testsrc/verify.groovy b/src/it/no-testsrc/verify.groovy index 6c86b2d9..0d7915db 100644 --- a/src/it/no-testsrc/verify.groovy +++ b/src/it/no-testsrc/verify.groovy @@ -38,8 +38,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/omitVisitors/src/site/site.xml b/src/it/omitVisitors/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/omitVisitors/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/omitVisitors/verify.groovy b/src/it/omitVisitors/verify.groovy index 79544118..6fb57924 100644 --- a/src/it/omitVisitors/verify.groovy +++ b/src/it/omitVisitors/verify.groovy @@ -38,8 +38,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/onlyAnalyze/src/site/site.xml b/src/it/onlyAnalyze/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/onlyAnalyze/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/onlyAnalyze/verify.groovy b/src/it/onlyAnalyze/verify.groovy index 63b95bdb..ad7866ff 100644 --- a/src/it/onlyAnalyze/verify.groovy +++ b/src/it/onlyAnalyze/verify.groovy @@ -37,8 +37,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/onlyAnalyzeFileSource/src/site/site.xml b/src/it/onlyAnalyzeFileSource/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/onlyAnalyzeFileSource/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/onlyAnalyzeFileSource/verify.groovy b/src/it/onlyAnalyzeFileSource/verify.groovy index 63b95bdb..ad7866ff 100644 --- a/src/it/onlyAnalyzeFileSource/verify.groovy +++ b/src/it/onlyAnalyzeFileSource/verify.groovy @@ -37,8 +37,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/pluginList-repo/src/site/site.xml b/src/it/pluginList-repo/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/pluginList-repo/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/pluginList-repo/verify.groovy b/src/it/pluginList-repo/verify.groovy index 6c86b2d9..0d7915db 100644 --- a/src/it/pluginList-repo/verify.groovy +++ b/src/it/pluginList-repo/verify.groovy @@ -38,8 +38,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/pluginList/src/site/site.xml b/src/it/pluginList/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/pluginList/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/pluginList/verify.groovy b/src/it/pluginList/verify.groovy index 63b95bdb..ad7866ff 100644 --- a/src/it/pluginList/verify.groovy +++ b/src/it/pluginList/verify.groovy @@ -37,8 +37,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/relaxed/src/site/site.xml b/src/it/relaxed/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/relaxed/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/relaxed/verify.groovy b/src/it/relaxed/verify.groovy index 63b95bdb..ad7866ff 100644 --- a/src/it/relaxed/verify.groovy +++ b/src/it/relaxed/verify.groovy @@ -37,8 +37,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/sarif-1/src/site/site.xml b/src/it/sarif-1/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/sarif-1/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/sarif-2/src/site/site.xml b/src/it/sarif-2/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/sarif-2/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/site-brazil/src/site/site.xml b/src/it/site-brazil/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/site-brazil/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/site-brazil/verify.groovy b/src/it/site-brazil/verify.groovy index 63b95bdb..ad7866ff 100644 --- a/src/it/site-brazil/verify.groovy +++ b/src/it/site-brazil/verify.groovy @@ -37,8 +37,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/site-default/src/site/site.xml b/src/it/site-default/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/site-default/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/site-default/verify.groovy b/src/it/site-default/verify.groovy index 63b95bdb..ad7866ff 100644 --- a/src/it/site-default/verify.groovy +++ b/src/it/site-default/verify.groovy @@ -37,8 +37,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/site-french/src/site/site.xml b/src/it/site-french/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/site-french/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/site-french/verify.groovy b/src/it/site-french/verify.groovy index 63b95bdb..ad7866ff 100644 --- a/src/it/site-french/verify.groovy +++ b/src/it/site-french/verify.groovy @@ -37,8 +37,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/site-spanish/src/site/site.xml b/src/it/site-spanish/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/site-spanish/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/site-spanish/verify.groovy b/src/it/site-spanish/verify.groovy index 63b95bdb..ad7866ff 100644 --- a/src/it/site-spanish/verify.groovy +++ b/src/it/site-spanish/verify.groovy @@ -37,8 +37,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/skip/src/site/site.xml b/src/it/skip/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/skip/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/skipEmpty/src/site/site.xml b/src/it/skipEmpty/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/skipEmpty/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/src/site/site.xml b/src/it/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/systemPropertyVariables/src/site/site.xml b/src/it/systemPropertyVariables/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/systemPropertyVariables/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/threaded/src/site/site.xml b/src/it/threaded/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/threaded/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/threaded/verify.groovy b/src/it/threaded/verify.groovy index 63b95bdb..ad7866ff 100644 --- a/src/it/threaded/verify.groovy +++ b/src/it/threaded/verify.groovy @@ -37,8 +37,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/threshold-experimental/src/site/site.xml b/src/it/threshold-experimental/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/threshold-experimental/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/threshold-experimental/verify.groovy b/src/it/threshold-experimental/verify.groovy index 38917a38..bddd8495 100644 --- a/src/it/threshold-experimental/verify.groovy +++ b/src/it/threshold-experimental/verify.groovy @@ -38,8 +38,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/threshold-high/src/site/site.xml b/src/it/threshold-high/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/threshold-high/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/threshold-high/verify.groovy b/src/it/threshold-high/verify.groovy index 6c86b2d9..0d7915db 100644 --- a/src/it/threshold-high/verify.groovy +++ b/src/it/threshold-high/verify.groovy @@ -38,8 +38,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/threshold-low/src/site/site.xml b/src/it/threshold-low/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/threshold-low/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/threshold-low/verify.groovy b/src/it/threshold-low/verify.groovy index c63284da..385c6692 100644 --- a/src/it/threshold-low/verify.groovy +++ b/src/it/threshold-low/verify.groovy @@ -38,8 +38,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/trace/src/site/site.xml b/src/it/trace/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/trace/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/trace/verify.groovy b/src/it/trace/verify.groovy index 6c86b2d9..0d7915db 100644 --- a/src/it/trace/verify.groovy +++ b/src/it/trace/verify.groovy @@ -38,8 +38,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/userPrefs-override/src/site/site.xml b/src/it/userPrefs-override/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/userPrefs-override/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/userPrefs-override/verify.groovy b/src/it/userPrefs-override/verify.groovy index e42aca02..632d83dd 100644 --- a/src/it/userPrefs-override/verify.groovy +++ b/src/it/userPrefs-override/verify.groovy @@ -38,8 +38,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/userPrefs/src/site/site.xml b/src/it/userPrefs/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/userPrefs/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/userPrefs/verify.groovy b/src/it/userPrefs/verify.groovy index 2f4d0fb0..b77bea96 100644 --- a/src/it/userPrefs/verify.groovy +++ b/src/it/userPrefs/verify.groovy @@ -38,8 +38,8 @@ XmlSlurper xhtmlParser = new XmlSlurper(); xhtmlParser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false) xhtmlParser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) def path = xhtmlParser.parse( spotbugsHtml ) -//*[@id="contentBox"]/div[2]/table/tbody/tr[2]/td[2] -int spotbugsErrors = path.body.'**'.find {div -> div.@id == 'contentBox'}.section[1].table.tr[1].td[1].toInteger() + +int spotbugsErrors = path.body.'**'.find {main -> main.@id == 'bodyColumn'}.section[1].table.tr[1].td[1].toInteger() println "Error Count is ${spotbugsErrors}" diff --git a/src/it/verify-clean/src/site/site.xml b/src/it/verify-clean/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/verify-clean/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/verify-fail/src/site/site.xml b/src/it/verify-fail/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/verify-fail/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/it/verify/src/site/site.xml b/src/it/verify/src/site/site.xml new file mode 100644 index 00000000..c44c6805 --- /dev/null +++ b/src/it/verify/src/site/site.xml @@ -0,0 +1,53 @@ + + + + + + SpotBugs Maven Plugin + + + + org.apache.maven.skins + maven-fluido-skin + 1.12.0 + + + + + false + false + » + + spotbugs/spotbugs-maven-plugin + right + red + + + spotbugs-maven-plugin + thin-badge + + + + + + + + diff --git a/src/site/site.xml b/src/site/site.xml index 18dfd348..6d0af4b0 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -17,7 +17,7 @@ --> @@ -27,7 +27,7 @@ org.apache.maven.skins maven-fluido-skin - 1.11.2 + 1.12.0