diff --git a/plexus-i18n-plexus-container-default-missing.patch b/plexus-i18n-plexus-container-default-missing.patch new file mode 100644 index 0000000..f8fda57 --- /dev/null +++ b/plexus-i18n-plexus-container-default-missing.patch @@ -0,0 +1,15 @@ +diff -Naur plexus-i18n-1.0-beta-10.orig/pom.xml plexus-i18n-1.0-beta-10/pom.xml +--- plexus-i18n-1.0-beta-10.orig/pom.xml 2012-03-06 15:41:05.000000000 +0100 ++++ plexus-i18n-1.0-beta-10/pom.xml 2012-03-06 15:54:20.383999743 +0100 +@@ -50,6 +50,11 @@ + plexus-utils + 1.4.5 + ++ ++ org.codehaus.plexus ++ plexus-container-default ++ 1.0-alpha-9-stable-1 ++ + + + diff --git a/plexus-i18n.spec b/plexus-i18n.spec index c15b4f1..e6b0dbb 100644 --- a/plexus-i18n.spec +++ b/plexus-i18n.spec @@ -34,12 +34,13 @@ URL: https://github.com/codehaus-plexus/plexus-i18n Source0: %{name}-%{namedver}-src.tar.bz2 Source1: %{name}-build.xml Patch0: %{name}-migration-to-component-metadata.patch +Patch1: %{name}-plexus-container-default-missing.patch BuildRequires: ant BuildRequires: fdupes BuildRequires: javapackages-local >= 6 +BuildRequires: plexus-containers-container-default BuildRequires: plexus-metadata-generator BuildRequires: plexus-utils -BuildRequires: sisu-plexus BuildArch: noarch %if %{with tests} BuildRequires: ant-junit @@ -66,14 +67,13 @@ Javadoc for %{name}. %setup -q -n %{name}-%{namedver} cp %{SOURCE1} build.xml %patch -P 0 -p1 - -%pom_add_dep org.eclipse.sisu:org.eclipse.sisu.plexus:0.9.0.M2 +%patch -P 1 -p1 %build mkdir -p lib build-jar-repository -s lib \ plexus/utils \ - org.eclipse.sisu.plexus + plexus-containers/plexus-container-default %if %{with tests} build-jar-repository -s lib \ guava/guava \