Do not depend on maven2.
This commit is contained in:
parent
1799a668e9
commit
0837f9156e
@ -1,6 +1,6 @@
|
|||||||
Name: maven-plugin-bundle
|
Name: maven-plugin-bundle
|
||||||
Version: 2.0.0
|
Version: 2.0.0
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: Maven Bundle Plugin
|
Summary: Maven Bundle Plugin
|
||||||
|
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -28,7 +28,7 @@ Requires: aqute-bndlib >= 0.0.363
|
|||||||
Requires: plexus-utils >= 1.4.5
|
Requires: plexus-utils >= 1.4.5
|
||||||
Requires: felix-osgi-obr
|
Requires: felix-osgi-obr
|
||||||
Requires: kxml
|
Requires: kxml
|
||||||
Requires: maven2
|
Requires: maven
|
||||||
Requires: maven-archiver
|
Requires: maven-archiver
|
||||||
Requires: maven-shared-dependency-tree
|
Requires: maven-shared-dependency-tree
|
||||||
Requires: maven-wagon
|
Requires: maven-wagon
|
||||||
@ -56,12 +56,9 @@ API documentation for %{name}.
|
|||||||
%setup -q -n maven-bundle-plugin-%{version}
|
%setup -q -n maven-bundle-plugin-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
|
|
||||||
mvn-rpmbuild install javadoc:javadoc
|
mvn-rpmbuild install javadoc:javadoc
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
# jars
|
# jars
|
||||||
install -d -m 0755 %{buildroot}%{_javadir}
|
install -d -m 0755 %{buildroot}%{_javadir}
|
||||||
install -m 644 target/maven-bundle-plugin-%{version}.jar \
|
install -m 644 target/maven-bundle-plugin-%{version}.jar \
|
||||||
@ -70,9 +67,9 @@ install -m 644 target/maven-bundle-plugin-%{version}.jar \
|
|||||||
%add_to_maven_depmap org.apache.felix maven-bundle-plugin %{version} JPP %{name}
|
%add_to_maven_depmap org.apache.felix maven-bundle-plugin %{version} JPP %{name}
|
||||||
|
|
||||||
# poms
|
# poms
|
||||||
install -d -m 755 %{buildroot}%{_datadir}/maven2/poms
|
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||||
install -pm 644 pom.xml \
|
install -pm 644 pom.xml \
|
||||||
%{buildroot}%{_datadir}/maven2/poms/JPP-%{name}.pom
|
%{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||||
|
|
||||||
# javadoc
|
# javadoc
|
||||||
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
|
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
@ -86,16 +83,17 @@ rm -rf target/site/api*
|
|||||||
%update_maven_depmap
|
%update_maven_depmap
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_javadir}/*
|
%{_javadir}/*
|
||||||
%{_mavenpomdir}/*
|
%{_mavenpomdir}/*
|
||||||
%{_mavendepmapfragdir}/*
|
%{_mavendepmapfragdir}/*
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_javadocdir}/%{name}
|
%{_javadocdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 17 2011 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-10
|
||||||
|
- Do not depend on maven2.
|
||||||
|
|
||||||
* Thu Feb 10 2011 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-9
|
* Thu Feb 10 2011 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-9
|
||||||
- BR maven-surefire-provider-junit4.
|
- BR maven-surefire-provider-junit4.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user