Add missing `spotbugs-annotations` dependency
diff --git a/log4j-changelog-maven-plugin/pom.xml b/log4j-changelog-maven-plugin/pom.xml
index e80d9e8..af32690 100644
--- a/log4j-changelog-maven-plugin/pom.xml
+++ b/log4j-changelog-maven-plugin/pom.xml
@@ -43,6 +43,12 @@
     </dependency>
 
     <dependency>
+      <groupId>com.github.spotbugs</groupId>
+      <artifactId>spotbugs-annotations</artifactId>
+      <optional>true</optional>
+    </dependency>
+
+    <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-plugin-api</artifactId>
     </dependency>
diff --git a/log4j-changelog/pom.xml b/log4j-changelog/pom.xml
index 5d54d99..c30adab 100644
--- a/log4j-changelog/pom.xml
+++ b/log4j-changelog/pom.xml
@@ -39,7 +39,7 @@
     <dependency>
       <groupId>com.github.spotbugs</groupId>
       <artifactId>spotbugs-annotations</artifactId>
-      <scope>provided</scope>
+      <optional>true</optional>
     </dependency>
 
     <dependency>