You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/03/15 17:29:49 UTC
[tomcat] 01/03: Expand spotbugs Ant task to cover test code
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 8bef76a877270c4f35bd191036a5611e1b8a6910
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Mar 15 17:17:55 2022 +0000
Expand spotbugs Ant task to cover test code
---
build.xml | 2 +-
webapps/docs/changelog.xml | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/build.xml b/build.xml
index 54cd5fd..91282fb 100644
--- a/build.xml
+++ b/build.xml
@@ -2071,7 +2071,7 @@
<target name="spotbugs"
if="${execute.spotbugs}"
- depends="compile,download-spotbugs">
+ depends="test-compile,download-spotbugs">
<path id="spotbugs.classpath">
<fileset file="${spotbugs.jar}" />
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 84b4a5e..01ed9b8 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -133,6 +133,10 @@
<update>
Update to SpotBugs 4.6.0. (markt)
</update>
+ <add>
+ Expand the <code>spotbugs</code> Ant task to also cover test code.
+ (markt)
+ </add>
</changelog>
</subsection>
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org