diff --git a/cglib.changes b/cglib.changes
index baa56fc..4668afc 100644
--- a/cglib.changes
+++ b/cglib.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Wed Dec 29 14:35:14 UTC 2021 - David Anes <david.anes@suse.com>
+
+- Don't inject <optional>true</optional> in cglib pom, as 3.3.0
+  already provides that option and it makes the POM xml incorrect. 
+
 -------------------------------------------------------------------
 Mon Dec 27 14:36:52 UTC 2021 - David Anes <david.anes@suse.com>
 
diff --git a/cglib.spec b/cglib.spec
index 368b80c..2cb5ea9 100644
--- a/cglib.spec
+++ b/cglib.spec
@@ -79,8 +79,6 @@ runtime.
 %pom_remove_plugin org.apache.maven.plugins:maven-jarsigner-plugin cglib-sample
 %pom_remove_plugin -r :maven-javadoc-plugin
 
-%pom_xpath_inject "pom:dependency[pom:artifactId='ant']" "<optional>true</optional>" cglib
-
 %pom_remove_parent
 
 %build