diff --git a/modulemaker-maven-plugin.spec b/modulemaker-maven-plugin.spec
index 55fc6d8..c2e5bea 100644
--- a/modulemaker-maven-plugin.spec
+++ b/modulemaker-maven-plugin.spec
@@ -43,7 +43,7 @@ cp -p %{SOURCE1} .
%pom_xpath_inject 'pom:dependency[pom:artifactId="maven-plugin-api"]' 'provided'
%build
-%mvn_build -- -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7
+%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
%install
%mvn_install
@@ -56,6 +56,10 @@ cp -p %{SOURCE1} .
%license LICENSE-2.0.txt
%changelog
+* Mon Aug 05 2024 Mikolaj Izdebski - 1.9-7
+- Switch Java compiler source/target to 1.8
+- Resolves: RHEL-52701
+
* Thu Aug 01 2024 Troy Dawson - 1.9-7
- Bump release for Aug 2024 java mass rebuild