diff --git a/activeio.spec b/activeio.spec
index 6edf3b7..e953be2 100644
--- a/activeio.spec
+++ b/activeio.spec
@@ -101,25 +101,24 @@ This package contains javadoc for %{name}.
'
-%pom_xpath_remove "pom:plugin[pom:artifactId = 'maven-jar-plugin']/pom:executions/pom:execution" %{name}-core
-%pom_xpath_inject "pom:plugin[pom:artifactId = 'maven-jar-plugin']/pom:executions" "
-
- default-jar
-
- jar
-
-
+%pom_remove_plugin :maven-jar-plugin %{name}-core
+%pom_add_plugin org.apache.maven.plugins:maven-jar-plugin: %{name}-core "
+
\${project.build.outputDirectory}/META-INF/MANIFEST.MF
+
+ true
+ true
+
-
-
-
- test-jar
-
- test-jar
-
-" %{name}-core
+
+
+
+
+ test-jar
+
+
+"
sed -i 's/\r//' NOTICE