Accepting request 1114380 from Java:packages:test
javapackages >= 6 OBS-URL: https://build.opensuse.org/request/show/1114380 OBS-URL: https://build.opensuse.org/package/show/Java:packages/plexus-sec-dispatcher?expand=0&rev=14
This commit is contained in:
parent
5cdfb10c38
commit
5be1c21b4c
@ -31,15 +31,12 @@ BuildRequires: ant
|
|||||||
BuildRequires: atinject
|
BuildRequires: atinject
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: java-devel >= 1.7
|
BuildRequires: java-devel >= 1.7
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local >= 6
|
||||||
BuildRequires: modello >= 2.0.0
|
BuildRequires: modello >= 2.0.0
|
||||||
BuildRequires: plexus-cipher
|
BuildRequires: plexus-cipher
|
||||||
BuildRequires: plexus-containers-container-default
|
BuildRequires: plexus-containers-container-default
|
||||||
BuildRequires: plexus-metadata-generator
|
BuildRequires: plexus-metadata-generator
|
||||||
BuildRequires: plexus-utils
|
BuildRequires: plexus-utils
|
||||||
Requires: mvn(javax.inject:javax.inject)
|
|
||||||
Requires: mvn(org.codehaus.plexus:plexus-utils)
|
|
||||||
Requires: mvn(org.sonatype.plexus:plexus-cipher)
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ant-junit
|
BuildRequires: ant-junit
|
||||||
@ -61,10 +58,6 @@ API documentation for %{name}.
|
|||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
cp %{SOURCE100} build.xml
|
cp %{SOURCE100} build.xml
|
||||||
|
|
||||||
%pom_remove_parent
|
|
||||||
%pom_xpath_inject pom:project "<groupId>org.codehaus.plexus</groupId>"
|
|
||||||
%pom_change_dep -r -f ::::: :::::
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p lib
|
mkdir -p lib
|
||||||
build-jar-repository -s lib plexus/utils plexus/plexus-cipher plexus-containers/plexus-container-default javax.inject
|
build-jar-repository -s lib plexus/utils plexus/plexus-cipher plexus-containers/plexus-container-default javax.inject
|
||||||
@ -80,7 +73,7 @@ install -dm 0755 %{buildroot}%{_javadir}/plexus
|
|||||||
install -pm 0644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/plexus/%{name}.jar
|
install -pm 0644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/plexus/%{name}.jar
|
||||||
# pom
|
# pom
|
||||||
install -dm 0755 %{buildroot}%{_mavenpomdir}/plexus
|
install -dm 0755 %{buildroot}%{_mavenpomdir}/plexus
|
||||||
install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/plexus/%{name}.pom
|
%mvn_install_pom pom.xml %{buildroot}%{_mavenpomdir}/plexus/%{name}.pom
|
||||||
%add_maven_depmap plexus/%{name}.pom plexus/%{name}.jar -a org.sonatype.plexus:%{name}
|
%add_maven_depmap plexus/%{name}.pom plexus/%{name}.jar -a org.sonatype.plexus:%{name}
|
||||||
# javadoc
|
# javadoc
|
||||||
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
|
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user