c35a51b
%bcond_without  scm
c35a51b
%bcond_without  ssh
Matt Wringe 2480e1e
8db41b7
Name:           maven-wagon
Matt Wringe 2480e1e
Epoch:          0
4652302
Version:        3.1.0
1853790
Release:        2%{?dist}
Matt Wringe 2480e1e
Summary:        Tools to manage artifacts and deployment
362acff
License:        ASL 2.0
Matt Wringe 2480e1e
URL:            http://maven.apache.org/wagon
Matt Wringe 2480e1e
BuildArch:      noarch
c7d2706
8db41b7
Source0:        http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon/%{version}/wagon-%{version}-source-release.zip
8db41b7
Stanislav Ochotnicky 54cfb0a
BuildRequires:  maven-local
c35a51b
%if %{with ssh}
c7d2706
BuildRequires:  mvn(com.jcraft:jsch)
f4be58f
BuildRequires:  mvn(com.jcraft:jsch.agentproxy.connector-factory)
f4be58f
BuildRequires:  mvn(com.jcraft:jsch.agentproxy.jsch)
c35a51b
%endif
c7d2706
BuildRequires:  mvn(commons-io:commons-io)
c7d2706
BuildRequires:  mvn(commons-net:commons-net)
c7d2706
BuildRequires:  mvn(org.apache.httpcomponents:httpclient)
c7d2706
BuildRequires:  mvn(org.apache.httpcomponents:httpcore)
d88df6a
BuildRequires:  mvn(org.apache.maven:maven-parent:pom:)
c7d2706
BuildRequires:  mvn(org.apache.maven.plugins:maven-shade-plugin)
c35a51b
%if %{with scm}
c7d2706
BuildRequires:  mvn(org.apache.maven.scm:maven-scm-api)
8db41b7
BuildRequires:  mvn(org.apache.maven.scm:maven-scm-manager-plexus)
c35a51b
%endif
c7d2706
BuildRequires:  mvn(org.codehaus.plexus:plexus-component-metadata)
c7d2706
BuildRequires:  mvn(org.codehaus.plexus:plexus-interactivity-api)
c7d2706
BuildRequires:  mvn(org.codehaus.plexus:plexus-utils)
c7d2706
BuildRequires:  mvn(org.jsoup:jsoup)
8db41b7
BuildRequires:  mvn(org.slf4j:jcl-over-slf4j)
c7d2706
BuildRequires:  mvn(org.slf4j:slf4j-api)
185314d
d009b35
Obsoletes:      %{name}-manual < %{epoch}:%{version}-%{release}
d009b35
Obsoletes:      %{name}-provider-test < %{epoch}:%{version}-%{release}
Matt Wringe 2480e1e
Matt Wringe 2480e1e
%description
185314d
Maven Wagon is a transport abstraction that is used in Maven's
185314d
artifact and repository handling code. Currently wagon has the
Matt Wringe 2480e1e
following providers:
Matt Wringe 2480e1e
* File
Matt Wringe 2480e1e
* HTTP
Matt Wringe 2480e1e
* FTP
Matt Wringe 2480e1e
* SSH/SCP
e92765b
* WebDAV
e92765b
* SCM (in progress)
e92765b
0ee07b1
%package provider-api
0ee07b1
Summary:        provider-api module for %{name}
8db41b7
Obsoletes:      %{name} < 2.6-4
a18b8c2
Obsoletes:      %{name}-webdav-jackrabbit < 2.9-2
0ee07b1
0ee07b1
%description provider-api
0ee07b1
provider-api module for %{name}.
0ee07b1
0ee07b1
%package providers
0ee07b1
Summary:        providers module for %{name}
0ee07b1
0ee07b1
%description providers
0ee07b1
providers module for %{name}
0ee07b1
0ee07b1
%package file
0ee07b1
Summary:        file module for %{name}
0ee07b1
0ee07b1
%description file
0ee07b1
file module for %{name}.
0ee07b1
0ee07b1
%package ftp
0ee07b1
Summary:        ftp module for %{name}
0ee07b1
0ee07b1
%description ftp
0ee07b1
ftp module for %{name}.
0ee07b1
0ee07b1
%package http
0ee07b1
Summary:        http module for %{name}
0ee07b1
0ee07b1
%description http
0ee07b1
http module for %{name}.
0ee07b1
0ee07b1
%package http-shared
0ee07b1
Summary:        http-shared module for %{name}
0ee07b1
0ee07b1
%description http-shared
0ee07b1
http-shared module for %{name}.
0ee07b1
0ee07b1
%package http-lightweight
0ee07b1
Summary:        http-lightweight module for %{name}
0ee07b1
0ee07b1
%description http-lightweight
0ee07b1
http-lightweight module for %{name}.
0ee07b1
c35a51b
%if %{with scm}
e92765b
%package scm
e92765b
Summary:        scm module for %{name}
e92765b
e92765b
%description scm
e92765b
scm module for %{name}.
c35a51b
%endif
Matt Wringe 2480e1e
c35a51b
%if %{with ssh}
0ee07b1
%package ssh-external
0ee07b1
Summary:        ssh-external module for %{name}
0ee07b1
0ee07b1
%description ssh-external
0ee07b1
ssh-external module for %{name}.
0ee07b1
0ee07b1
%package ssh-common
0ee07b1
Summary:        ssh-common module for %{name}
0ee07b1
0ee07b1
%description ssh-common
0ee07b1
ssh-common module for %{name}.
0ee07b1
0ee07b1
%package ssh
0ee07b1
Summary:        ssh module for %{name}
0ee07b1
0ee07b1
%description ssh
0ee07b1
ssh module for %{name}.
c35a51b
%endif
0ee07b1
185314d
%package javadoc
185314d
Summary:        Javadoc for %{name}
Matt Wringe 2480e1e
185314d
%description javadoc
185314d
Javadoc for %{name}.
185314d
Matt Wringe 2480e1e
%prep
acbd248
%setup -q -n wagon-%{version}
b5425c7
e92765b
%pom_remove_plugin :animal-sniffer-maven-plugin
c35a51b
%pom_remove_plugin :maven-enforcer-plugin
e92765b
%pom_remove_dep :wagon-tck-http wagon-providers/wagon-http
b5425c7
e92765b
# disable tests, missing dependencies
e92765b
%pom_disable_module wagon-tcks
e92765b
%pom_disable_module wagon-ssh-common-test wagon-providers/pom.xml
d009b35
%pom_disable_module wagon-provider-test
0ee07b1
%pom_remove_dep :wagon-provider-test
0ee07b1
%pom_remove_dep :wagon-provider-test wagon-providers
e92765b
a18b8c2
# missing dependencies
a18b8c2
%pom_disable_module wagon-webdav-jackrabbit wagon-providers
a18b8c2
c35a51b
%if %{without scm}
c35a51b
%pom_disable_module wagon-scm wagon-providers
c35a51b
%endif
c35a51b
%if %{without ssh}
c35a51b
%pom_disable_module wagon-ssh wagon-providers
c35a51b
%pom_disable_module wagon-ssh-common wagon-providers
c35a51b
%pom_disable_module wagon-ssh-external wagon-providers
c35a51b
%endif
c35a51b
Matt Wringe 2480e1e
%build
e92765b
%mvn_file ":wagon-{*}" %{name}/@1
e92765b
0ee07b1
%mvn_package ":wagon"
e92765b
e92765b
# tests are disabled because of missing dependencies
0ee07b1
%mvn_build -f -s
185314d
958faff
# Maven requires Wagon HTTP with classifier "shaded"
958faff
%mvn_alias :wagon-http :::shaded:
958faff
f4be58f
Matt Wringe 2480e1e
%install
e92765b
%mvn_install
185314d
e92765b
%files -f .mfiles
e92765b
%doc LICENSE NOTICE DEPENDENCIES
0ee07b1
%files provider-api -f .mfiles-wagon-provider-api
e33d243
%dir %{_javadir}/%{name}
0ee07b1
%files providers -f .mfiles-wagon-providers
0ee07b1
%files file -f .mfiles-wagon-file
0ee07b1
%files ftp -f .mfiles-wagon-ftp
0ee07b1
%files http -f .mfiles-wagon-http
0ee07b1
%files http-shared -f .mfiles-wagon-http-shared
0ee07b1
%files http-lightweight -f .mfiles-wagon-http-lightweight
c35a51b
%if %{with scm}
0ee07b1
%files scm -f .mfiles-wagon-scm
c35a51b
%endif
c35a51b
%if %{with ssh}
0ee07b1
%files ssh-external -f .mfiles-wagon-ssh-external
0ee07b1
%files ssh-common -f .mfiles-wagon-ssh-common
0ee07b1
%files ssh -f .mfiles-wagon-ssh
c35a51b
%endif
0ee07b1
e92765b
%files javadoc -f .mfiles-javadoc
e92765b
%doc LICENSE NOTICE DEPENDENCIES
Matt Wringe 2480e1e
Matt Wringe 2480e1e
%changelog
1853790
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:3.1.0-2
1853790
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1853790
4652302
* Wed Jun 27 2018 Michael Simacek <msimacek@redhat.com> - 0:3.1.0-1
4652302
- Update to upstream version 3.1.0
4652302
792f214
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:3.0.0-2
792f214
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
792f214
8db41b7
* Mon Sep 11 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.0.0-1
8db41b7
- Update to upstream version 3.0.0
8db41b7
7befe71
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.10-4
7befe71
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7befe71
c35a51b
* Mon Feb 06 2017 Michael Simacek <msimacek@redhat.com> - 0:2.10-3
c35a51b
- Add conditionals for ssh and scm
c35a51b
- Remove old requires from main package
c35a51b
009a833
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.10-2
009a833
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
009a833
dc52b4b
* Mon Sep 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.10-1
dc52b4b
- Update to upstream version 2.10
dc52b4b
d88df6a
* Wed Jul 08 2015 Michael Simacek <msimacek@redhat.com> - 0:2.9-4
d88df6a
- Remove unnecessary BuildRequires
d88df6a
f31f7d9
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.9-3
f31f7d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f31f7d9
a18b8c2
* Tue May 12 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.9-2
a18b8c2
- Disable webdav-jackrabbit provides
a18b8c2
d6375cd
* Tue Apr 21 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.9-1
d6375cd
- Update to upstream version 2.9
d6375cd
1b5f540
* Wed Nov 12 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.8-1
1b5f540
- Update to upstream version 2.8
1b5f540
43ff183
* Wed Sep 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.7-1
43ff183
- Update to upstream version 2.7
43ff183
7487add
* Thu Aug 21 2014 Michael Simacek <msimacek@redhat.com> - 0:2.6-10
7487add
- Enable webdav-jackrabbit module
7487add
e33d243
* Mon Jun 30 2014 Michael Simacek <msimacek@redhat.com> - 0:2.6-9
e33d243
- Obsolete main package instead of requiring it
e33d243
77ad446
* Fri Jun 27 2014 Michael Simacek <msimacek@redhat.com>
77ad446
- Require main package from provider-api
77ad446
- Fix maven-parent BR
77ad446
29441bc
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.6-7
29441bc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
29441bc
34a0dbf
* Wed May 28 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.6-6
34a0dbf
- Rebuild to regenerate Maven auto-requires
34a0dbf
Stanislav Ochotnicky 42a04d4
* Thu Mar 06 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.6-5
Stanislav Ochotnicky 42a04d4
- Use Requires: java-headless rebuild (#1067528)
Stanislav Ochotnicky 42a04d4
16fd4a1
* Thu Feb 20 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.6-4
16fd4a1
- Add requires on all modules to main package
16fd4a1
0ee07b1
* Thu Feb 20 2014 Michael Simacek <msimacek@redhat.com> - 0:2.6-3
0ee07b1
- Split into subpackages
0ee07b1
d9c2023
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.6-2
d9c2023
- Fix unowned directory
d9c2023
f4be58f
* Mon Jan  6 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.6-1
f4be58f
- Update to upstream version 2.6
f4be58f
958faff
* Mon Sep 23 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.5-2
958faff
- Add shaded alias for wagon-http
958faff
b003660
* Tue Sep 17 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.5-1
b003660
- Update to upstream version 2.5
b003660
d009b35
* Thu Aug 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.4-3
d009b35
- Disable unused wagon-provider-test module
d009b35
- Resolves: rhbz#1002480
d009b35
40a4b0e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.4-2
40a4b0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
40a4b0e
e173366
* Fri Mar 01 2013 Michal Srb <msrb@redhat.com> - 0:2.4-1
e173366
- Port to jetty 9
e173366
c7d2706
* Thu Feb 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.4-1
c7d2706
- Simplify build-requires
c7d2706
e92765b
* Thu Feb 14 2013 Michal Srb <msrb@redhat.com> - 0:2.4-1
e92765b
- Update to latest upstream 2.4
e92765b
- Remove old depmap and patches
e92765b
- Build with xmvn
e92765b
f336b0c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-8
f336b0c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f336b0c
Stanislav Ochotnicky 54cfb0a
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0:1.0-7
Stanislav Ochotnicky 54cfb0a
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky 54cfb0a
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky 54cfb0a
50b733e
* Tue Aug  7 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-6
50b733e
- Remove BR: ganymed-ssh2
50b733e
32ba3df
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-5
32ba3df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
32ba3df
0b2fbe8
* Wed Apr 18 2012 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-4
0b2fbe8
- Fix build against jetty 8 and servlet 3.
0b2fbe8
2da4319
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-3
2da4319
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2da4319
Jaromir Capik 598d79e
* Wed Jul 27 2011 Jaromir Capik <jcapik@redhat.com> - 0:1.0-2
Jaromir Capik 598d79e
- Migration from plexus-maven-plugin to plexus-containers-component-metadata
Jaromir Capik 598d79e
acbd248
* Wed Jul 27 2011 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-1
acbd248
- Update to 1.0 final.
acbd248
497ad01
* Tue Apr 26 2011 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.3.b7.22
497ad01
- Install wagon-providers depmap too.
497ad01
5b2093c
* Tue Apr 26 2011 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.3.b7.21
5b2093c
- Install wagon pom depmap.
5b2093c
- Use maven 3 for build.
5b2093c
92409e2
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.3.b7.1
92409e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
92409e2
73724c6
* Mon Dec 13 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.2.b7.1
73724c6
- Update to beta 7.
73724c6
- Adapt to current guidelines.
73724c6
- Fix pom names.
73724c6
a0dc7be
* Thu Sep 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.2.b6.3
a0dc7be
- Use javadoc:aggregate.
a0dc7be
- Drop ant build.
a0dc7be
- Use global instead of define.
a0dc7be
844ffdb
* Fri May 14 2010 Yong Yang <yyang@redhat.com> 0:1.0-0.2.b6.2
844ffdb
- Create patch for wagon-http-shared pom.xml
844ffdb
b5425c7
* Wed May 12 2010 Yong Yang <yyang@redhat.com> 0:1.0-0.2.b6.1
b5425c7
- Update to beta 6, build with with_maven 1
b5425c7
e513c83
* Wed Aug 19 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.2.b2.7
e513c83
- Remove gcj parts.
e513c83
185314d
* Wed Aug 19 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.2.b2.6
185314d
- Update to beta2 - sync with jpackage.
185314d
6101696
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.3.a5.3.5
6101696
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6101696
859efc3
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.2.a5.3.5
859efc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
859efc3
12b5c61
* Mon Dec  1 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0:1.0-0.1.a5.3.5
12b5c61
- include missing dir below _docdir
12b5c61
Matt Wringe 5aef455
* Fri Oct 03 2008 Matt Wringe <mwringe@redhat.com> - 0:1.0-0.1.a5.3.4
Matt Wringe 5aef455
- added patch to make it compatible with the newer version of jsch
Matt Wringe 5aef455
362acff
* Wed Jul  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.0-0.1.a5.3.3
362acff
- drop repotag
362acff
- fix license tag
362acff
Matt Wringe 2124006
* Sat Apr 05 2008 Matt Wringe <mwringe@redhat.com> - 0:1.0-0.1.a5.3jpp.2
Matt Wringe 2124006
- Rebuild with new version of jsch
Matt Wringe 2124006
Matt Wringe 2480e1e
* Tue Mar 13 2007 Matt Wringe <mwringe@redhat.com> - 0:1.0-0.1.a5.3jpp.1
Matt Wringe 2480e1e
- Merge in the changes neeeded to build without jetty
Matt Wringe 2480e1e
- Fix rpmlint issues
Matt Wringe 2480e1e
- Generate new *-build.xml files from pom.xml files as origins of
Matt Wringe 2480e1e
  *-project files is unknown.
Matt Wringe 2480e1e
- Remove maven1 project.xml files from sources
Matt Wringe 2480e1e
- Comment out various section requiring maven or javadocs
Matt Wringe 2480e1e
  (to be re-enabled at a future time). Note that the ant:ant task
Matt Wringe 2480e1e
  for maven2 does not currently generate javadocs.
Matt Wringe 2480e1e
Matt Wringe 2480e1e
* Tue Apr 04 2006 Ralph Apel <r.apel@r-apel.de> - 0:1.0-0.a5.3jpp
Matt Wringe 2480e1e
- Require j-c-codec, to build with j-c-httpclient = 3.0
Matt Wringe 2480e1e
Matt Wringe 2480e1e
* Thu Dec 22 2005 Deepak Bhole <dbhole@redhat.com> - 0:1.0-0.a5.2jpp
Matt Wringe 2480e1e
- Commented out potentially superfluous dependencies.
185314d
- Disabled wagon-scm
Matt Wringe 2480e1e
Matt Wringe 2480e1e
* Mon Nov 07 2005 Ralph Apel <r.apel at r-apel.de> - 0:1.0-0.a5.1jpp
Matt Wringe 2480e1e
- First JPackage build