diff --git a/plexus-i18n-1.0-build.xml b/plexus-i18n-1.0-build.xml
deleted file mode 100644
index 8b7565f..0000000
--- a/plexus-i18n-1.0-build.xml
+++ /dev/null
@@ -1,127 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ================================= WARNING ================================
- Junit isn't present in your ${ANT_HOME}/lib directory. Tests not executed.
- ==========================================================================
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plexus-i18n-1.0-plexus-components.xml b/plexus-i18n-1.0-plexus-components.xml
deleted file mode 100644
index eb74f72..0000000
--- a/plexus-i18n-1.0-plexus-components.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
- org.codehaus.plexus.i18n.I18N
- org.codehaus.plexus.i18n.DefaultI18N
-
-
-
-
diff --git a/plexus-i18n.spec b/plexus-i18n.spec
index d7664bb..9d0a696 100644
--- a/plexus-i18n.spec
+++ b/plexus-i18n.spec
@@ -3,7 +3,7 @@
Name: plexus-i18n
Version: 1.0
-Release: 0.16.b10.4%{?dist}
+Release: 0.17.b10.4%{?dist}
Summary: Plexus I18N Component
License: ASL 2.0
URL: https://github.com/codehaus-plexus/plexus-i18n
@@ -41,8 +41,11 @@ Javadoc for %{name}.
%patch0 -p1
%patch1 -p1
+# remove maven-compiler-plugin configuration that is broken with Java 11
+%pom_xpath_remove 'pom:plugin[pom:artifactId="maven-compiler-plugin"]/pom:configuration'
+
%build
-%mvn_build
+%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
%install
%mvn_install
@@ -52,6 +55,9 @@ Javadoc for %{name}.
%files javadoc -f .mfiles-javadoc
%changelog
+* Sat Jul 18 2020 Fabio Valentini - 1.0-0.17.b10.4
+- Set javac source and target to 1.8 to fix Java 11 builds.
+
* Sat Jul 11 2020 Jiri Vanek - 1.0-0.16.b10.4
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11