diff --git a/pom.xml b/pom.xml
index 9b5c16f9..d85a3824 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
3.5
3.3
- 3.2.0
+ 4.2.1
1.0.0
1.13.1
@@ -81,8 +81,8 @@
biz.aQute.bnd
- biz.aQute.bnd
- 4.0.0
+ biz.aQute.bndlib
+ 5.2.0
@@ -176,7 +176,7 @@
biz.aQute.bnd
- biz.aQute.bnd
+ biz.aQute.bndlib
org.apache.commons
@@ -194,8 +194,8 @@
${dependency.maven.bundle.plugin.version}
- org.osgi
- org.osgi.core
+ *
+ *
diff --git a/src/main/java/org/reficio/p2/utils/JarUtils.java b/src/main/java/org/reficio/p2/utils/JarUtils.java
index a8480b4a..d55aae72 100644
--- a/src/main/java/org/reficio/p2/utils/JarUtils.java
+++ b/src/main/java/org/reficio/p2/utils/JarUtils.java
@@ -23,7 +23,6 @@
import aQute.bnd.osgi.FileResource;
import aQute.bnd.osgi.Jar;
import aQute.bnd.osgi.Resource;
-import edu.emory.mathcs.backport.java.util.Arrays;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import org.apache.maven.plugin.logging.Log;
@@ -33,6 +32,7 @@
import org.w3c.dom.NodeList;
import java.io.*;
+import java.util.Arrays;
import java.util.Comparator;
import java.util.Enumeration;
import java.util.jar.Attributes;