Enable webdav-jackrabbit module
This commit is contained in:
parent
e33d243753
commit
7487add4b0
@ -0,0 +1,44 @@
|
||||
From 3f2e3773c5a4ab710404ec77f19ca6eaec00a9dc Mon Sep 17 00:00:00 2001
|
||||
From: Michael Simacek <msimacek@redhat.com>
|
||||
Date: Fri, 22 Aug 2014 01:41:11 +0200
|
||||
Subject: [PATCH] Replace plexus-maven-plugin with plexus-component-metadata
|
||||
|
||||
---
|
||||
wagon-providers/wagon-webdav-jackrabbit/pom.xml | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/wagon-providers/wagon-webdav-jackrabbit/pom.xml b/wagon-providers/wagon-webdav-jackrabbit/pom.xml
|
||||
index 5239c6e..7d7f108 100644
|
||||
--- a/wagon-providers/wagon-webdav-jackrabbit/pom.xml
|
||||
+++ b/wagon-providers/wagon-webdav-jackrabbit/pom.xml
|
||||
@@ -126,15 +126,15 @@ under the License.
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
- <artifactId>plexus-maven-plugin</artifactId>
|
||||
+ <artifactId>plexus-component-metadata</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>generate</id>
|
||||
<configuration>
|
||||
- <outputDirectory>${project.build.directory}/generated-resources/plexus/</outputDirectory>
|
||||
+ <generatedMetadata>${project.build.directory}/generated-resources/plexus/META-INF/plexus/components.xml</generatedMetadata>
|
||||
</configuration>
|
||||
<goals>
|
||||
- <goal>descriptor</goal>
|
||||
+ <goal>generate-metadata</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
@@ -146,7 +146,7 @@ under the License.
|
||||
</descriptors>
|
||||
</configuration>
|
||||
<goals>
|
||||
- <goal>merge-descriptors</goal>
|
||||
+ <goal>merge-metadata</goal>
|
||||
</goals>
|
||||
<phase>process-classes</phase>
|
||||
</execution>
|
||||
--
|
||||
1.9.3
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
Name: maven-%{bname}
|
||||
Version: 2.6
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
Epoch: 0
|
||||
Summary: Tools to manage artifacts and deployment
|
||||
License: ASL 2.0
|
||||
@ -11,6 +11,7 @@ URL: http://maven.apache.org/wagon
|
||||
Source0: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon/%{version}/wagon-%{version}-source-release.zip
|
||||
|
||||
Patch0: 0001-Port-to-jetty-9.patch
|
||||
Patch1: 0001-Replace-plexus-maven-plugin-with-plexus-component-me.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
@ -41,6 +42,9 @@ BuildRequires: mvn(org.jsoup:jsoup)
|
||||
BuildRequires: mvn(org.slf4j:slf4j-api)
|
||||
BuildRequires: mvn(org.slf4j:slf4j-log4j12)
|
||||
BuildRequires: mvn(org.slf4j:slf4j-simple)
|
||||
BuildRequires: mvn(org.apache.jackrabbit:jackrabbit-webdav)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
|
||||
BuildRequires: mvn(biz.aQute:bnd)
|
||||
|
||||
Obsoletes: %{name}-manual < %{epoch}:%{version}-%{release}
|
||||
Obsoletes: %{name}-provider-test < %{epoch}:%{version}-%{release}
|
||||
@ -137,6 +141,12 @@ Summary: ssh module for %{name}
|
||||
%description ssh
|
||||
ssh module for %{name}.
|
||||
|
||||
%package webdav-jackrabbit
|
||||
Summary: webdav-jackrabbit module for %{name}
|
||||
|
||||
%description webdav-jackrabbit
|
||||
webdav-jackrabbit module for %{name}.
|
||||
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
@ -148,6 +158,7 @@ Javadoc for %{name}.
|
||||
%setup -q -n wagon-%{version}
|
||||
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%pom_remove_plugin :animal-sniffer-maven-plugin
|
||||
%pom_remove_dep :wagon-tck-http wagon-providers/wagon-http
|
||||
@ -162,9 +173,6 @@ Javadoc for %{name}.
|
||||
%pom_remove_dep :wagon-provider-test
|
||||
%pom_remove_dep :wagon-provider-test wagon-providers
|
||||
|
||||
# missing dependencies
|
||||
%pom_disable_module wagon-webdav-jackrabbit wagon-providers
|
||||
|
||||
%build
|
||||
%mvn_file ":wagon-{*}" %{name}/@1
|
||||
|
||||
@ -194,11 +202,15 @@ Javadoc for %{name}.
|
||||
%files ssh-external -f .mfiles-wagon-ssh-external
|
||||
%files ssh-common -f .mfiles-wagon-ssh-common
|
||||
%files ssh -f .mfiles-wagon-ssh
|
||||
%files webdav-jackrabbit -f .mfiles-wagon-webdav-jackrabbit
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%doc LICENSE NOTICE DEPENDENCIES
|
||||
|
||||
%changelog
|
||||
* Thu Aug 21 2014 Michael Simacek <msimacek@redhat.com> - 0:2.6-10
|
||||
- Enable webdav-jackrabbit module
|
||||
|
||||
* Mon Jun 30 2014 Michael Simacek <msimacek@redhat.com> - 0:2.6-9
|
||||
- Obsolete main package instead of requiring it
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user