diff --git a/plexus-io-3.2.0.tar.gz b/plexus-io-3.2.0.tar.gz
deleted file mode 100644
index 58f5ff4..0000000
--- a/plexus-io-3.2.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:cc25a8e90fcff3ea56934eb0f22883a191a42d2cdfcedbdc7ec867864ade4f0a
-size 41031
diff --git a/plexus-io-3.4.1.tar.gz b/plexus-io-3.4.1.tar.gz
new file mode 100644
index 0000000..a3d458a
--- /dev/null
+++ b/plexus-io-3.4.1.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c71348dfcf16284895ecb4498a61e60b2955bf4b7db3c986c44ad220b136e77a
+size 43042
diff --git a/plexus-io-build.xml b/plexus-io-build.xml
index e5f691a..a651249 100644
--- a/plexus-io-build.xml
+++ b/plexus-io-build.xml
@@ -10,20 +10,16 @@
-
+
-
+
-
-
-
-
-
+
@@ -36,14 +32,6 @@
-
-
-
-
-
-
@@ -73,103 +61,28 @@
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- =================================== WARNING ===================================
- JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed.
- ===============================================================================
+
+
+
+
+
+
+
+
+
+
+
+
@@ -205,7 +118,7 @@
-
+
= 6
BuildRequires: jsr-305
BuildRequires: plexus-utils >= 3.3.0
-Requires: mvn(commons-io:commons-io)
-Requires: mvn(org.codehaus.plexus:plexus-utils)
+BuildRequires: sisu-inject
BuildArch: noarch
-%if %{with tests}
-BuildRequires: ant-junit
-BuildRequires: guava
-BuildRequires: plexus-classworlds
-BuildRequires: plexus-containers-container-default
-BuildRequires: xbean
-%endif
%description
Plexus IO is a set of plexus components, which are designed for use
@@ -63,22 +55,11 @@ cp %{SOURCE2} .
%pom_remove_plugin :animal-sniffer-maven-plugin
%pom_remove_plugin :maven-enforcer-plugin
-%pom_remove_parent
-
-%pom_xpath_inject "pom:project" "org.codehaus.plexus"
-
%build
mkdir -p lib
-build-jar-repository -s lib plexus/utils commons-io jsr-305
-%if %{with tests}
-build-jar-repository -s lib plexus-containers/plexus-container-default plexus/classworlds
-build-jar-repository -s lib guava/guava xbean/xbean-reflect
-%endif
+build-jar-repository -s lib atinject org.eclipse.sisu.inject plexus/utils commons-io jsr-305
%{ant} \
-%if %{without tests}
- -Dtest.skip=true \
-%endif
jar javadoc
%install
@@ -87,7 +68,7 @@ install -dm 0755 %{buildroot}%{_javadir}/plexus
install -pm 0644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/plexus/io.jar
# pom
install -dm 0755 %{buildroot}%{_mavenpomdir}/plexus
-install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/plexus/io.pom
+%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/plexus/io.pom
%add_maven_depmap plexus/io.pom plexus/io.jar
# javadoc
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}