Replace plexus-maven-plugin with plexus-component-metadata
This commit is contained in:
parent
9d40ac76ab
commit
6b041a99a7
@ -1,13 +1,32 @@
|
|||||||
--- pom.xml.orig 2009-12-16 21:55:06.000000000 +0800
|
diff --git a/pom.xml b/pom.xml
|
||||||
+++ pom.xml 2010-06-04 10:45:50.000000000 +0800
|
index 1eb2158..7e7ac5d 100644
|
||||||
@@ -38,10 +38,6 @@
|
--- a/pom.xml
|
||||||
|
+++ b/pom.xml
|
||||||
|
@@ -25,25 +25,17 @@
|
||||||
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-compiler-plugin
|
<groupId>org.codehaus.plexus</groupId>
|
||||||
</artifactId>
|
- <artifactId>plexus-maven-plugin</artifactId>
|
||||||
|
+ <artifactId>plexus-component-metadata</artifactId>
|
||||||
|
<version>1.3.5</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
- <goal>descriptor</goal>
|
||||||
|
+ <goal>generate-metadata</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
- <artifactId>maven-compiler-plugin
|
||||||
|
- </artifactId>
|
||||||
- <configuration>
|
- <configuration>
|
||||||
- <source>1.4</source>
|
- <source>1.4</source>
|
||||||
- <target>1.4</target>
|
- <target>1.4</target>
|
||||||
- </configuration>
|
- </configuration>
|
||||||
</plugin>
|
- </plugin>
|
||||||
<plugin>
|
- <plugin>
|
||||||
<groupId>org.codehaus.modello</groupId>
|
<groupId>org.codehaus.modello</groupId>
|
||||||
|
<artifactId>modello-maven-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: plexus-sec-dispatcher
|
Name: plexus-sec-dispatcher
|
||||||
Version: 1.4
|
Version: 1.4
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Plexus Security Dispatcher Component
|
Summary: Plexus Security Dispatcher Component
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -15,7 +15,7 @@ Patch0: %{name}-pom.patch
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: java-devel >= 1:1.6.0
|
BuildRequires: java-devel >= 1:1.6.0
|
||||||
BuildRequires: maven2
|
BuildRequires: maven
|
||||||
BuildRequires: maven-plugin-plugin
|
BuildRequires: maven-plugin-plugin
|
||||||
BuildRequires: maven-compiler-plugin
|
BuildRequires: maven-compiler-plugin
|
||||||
BuildRequires: maven-install-plugin
|
BuildRequires: maven-install-plugin
|
||||||
@ -26,6 +26,7 @@ BuildRequires: maven-surefire-maven-plugin
|
|||||||
BuildRequires: plexus-utils
|
BuildRequires: plexus-utils
|
||||||
BuildRequires: plexus-cipher
|
BuildRequires: plexus-cipher
|
||||||
BuildRequires: plexus-container-default
|
BuildRequires: plexus-container-default
|
||||||
|
BuildRequires: plexus-containers-component-metadata
|
||||||
BuildRequires: junit
|
BuildRequires: junit
|
||||||
BuildRequires: forge-parent
|
BuildRequires: forge-parent
|
||||||
BuildRequires: spice-parent
|
BuildRequires: spice-parent
|
||||||
@ -35,9 +36,6 @@ Requires: jpackage-utils
|
|||||||
Requires: java
|
Requires: java
|
||||||
Requires: spice-parent
|
Requires: spice-parent
|
||||||
|
|
||||||
Requires(post): jpackage-utils
|
|
||||||
Requires(postun): jpackage-utils
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Plexus Security Dispatcher Component
|
Plexus Security Dispatcher Component
|
||||||
|
|
||||||
@ -52,7 +50,7 @@ API documentation for %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p0
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mvn-rpmbuild install javadoc:javadoc
|
mvn-rpmbuild install javadoc:javadoc
|
||||||
@ -75,21 +73,18 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/plexus/%{name}
|
|||||||
[ $1 -gt 1 ] && [ -L %{_javadocdir}/%{name} ] && \
|
[ $1 -gt 1 ] && [ -L %{_javadocdir}/%{name} ] && \
|
||||||
rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
|
rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
|
||||||
|
|
||||||
%post
|
|
||||||
%update_maven_depmap
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%update_maven_depmap
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_javadir}/plexus/*
|
%{_javadir}/plexus/*
|
||||||
%{_mavenpomdir}/*
|
%{_mavenpomdir}/JPP.plexus-%{name}.pom
|
||||||
%{_mavendepmapfragdir}/*
|
%{_mavendepmapfragdir}/%{name}
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%{_javadocdir}/plexus/%{name}
|
%{_javadocdir}/plexus/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 22 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-6
|
||||||
|
- Replace plexus-maven-plugin with plexus-component-metadata
|
||||||
|
|
||||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user