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:38:00 UTC

[tomcat] 01/02: 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 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 816d2509a0737555a1e4f97d09029f8a6c9921f4
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 cb0e971..a108130 100644
--- a/build.xml
+++ b/build.xml
@@ -2033,7 +2033,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 70b950d..f538566 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