diff --git a/pom-3.8.patch b/pom-3.8.patch
index d8e36a3..cfd0f15 100644
--- a/pom-3.8.patch
+++ b/pom-3.8.patch
@@ -1,5 +1,5 @@
diff --git a/pom.xml b/pom.xml
-index cfabbe5..b699aff 100644
+index cfabbe5..b3f0a12 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,6 @@
@@ -15,10 +15,16 @@ index cfabbe5..b699aff 100644
org.apache.xbean
xbean
Apache XBean
-@@ -265,33 +259,15 @@
+@@ -259,39 +253,15 @@
+- mx4j
+- mx4j
+- 3.0.1
+-
+-
+-
- org.springframework
- spring-beans
- 2.5.6
@@ -51,7 +57,7 @@ index cfabbe5..b699aff 100644
-@@ -343,22 +319,22 @@
+@@ -343,22 +313,22 @@
org.apache.felix
maven-bundle-plugin
@@ -81,7 +87,7 @@ index cfabbe5..b699aff 100644
-@@ -424,4 +400,4 @@
+@@ -424,4 +394,4 @@
diff --git a/xbean.spec b/xbean.spec
index e9d55f1..cb08333 100644
--- a/xbean.spec
+++ b/xbean.spec
@@ -2,7 +2,7 @@ Name: xbean
Version: 3.8
BuildArch: noarch
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Java plugin based web server
Group: Development/Libraries
@@ -21,7 +21,6 @@ Patch0: pom-%{version}.patch
BuildRequires: java-devel
BuildRequires: apache-commons-beanutils
BuildRequires: apache-commons-logging
-BuildRequires: mx4j
BuildRequires: objectweb-asm
BuildRequires: ant
BuildRequires: qdox
@@ -133,6 +132,9 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
%{_javadocdir}/%{name}
%changelog
+* Thu May 3 2012 Stanislav Ochotnicky - 3.8-5
+- Remove mx4j from deps (javax.management provided by JDK 1.5+)
+
* Tue Apr 24 2012 Alexander Kurtakov 3.8-4
- BR felix-framework instead of felix-osgi-core.