%bcond_without scm %bcond_without ssh Name: maven-wagon Epoch: 0 Version: 3.1.0 Release: %mkrel 1 Group: Development/Java Summary: Tools to manage artifacts and deployment License: ASL 2.0 URL: http://maven.apache.org/wagon BuildArch: noarch Source0: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon/%{version}/wagon-%{version}-source-release.zip BuildRequires: maven-local %if %{with ssh} BuildRequires: mvn(com.jcraft:jsch) BuildRequires: mvn(com.jcraft:jsch.agentproxy.connector-factory) BuildRequires: mvn(com.jcraft:jsch.agentproxy.jsch) %endif BuildRequires: mvn(commons-io:commons-io) BuildRequires: mvn(commons-net:commons-net) BuildRequires: mvn(org.apache.httpcomponents:httpclient) BuildRequires: mvn(org.apache.httpcomponents:httpcore) BuildRequires: mvn(org.apache.maven:maven-parent:pom:) BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin) %if %{with scm} BuildRequires: mvn(org.apache.maven.scm:maven-scm-api) BuildRequires: mvn(org.apache.maven.scm:maven-scm-manager-plexus) %endif BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata) BuildRequires: mvn(org.codehaus.plexus:plexus-interactivity-api) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) BuildRequires: mvn(org.jsoup:jsoup) BuildRequires: mvn(org.slf4j:jcl-over-slf4j) BuildRequires: mvn(org.slf4j:slf4j-api) Obsoletes: %{name}-manual < %{epoch}:%{version}-%{release} Obsoletes: %{name}-provider-test < %{epoch}:%{version}-%{release} %description Maven Wagon is a transport abstraction that is used in Maven's artifact and repository handling code. Currently wagon has the following providers: * File * HTTP * FTP * SSH/SCP * WebDAV * SCM (in progress) %package provider-api Summary: provider-api module for %{name} Obsoletes: %{name} < 2.6-4 Obsoletes: %{name}-webdav-jackrabbit < 2.9-2 %description provider-api provider-api module for %{name}. %package providers Summary: providers module for %{name} %description providers providers module for %{name} %package file Summary: file module for %{name} %description file file module for %{name}. %package ftp Summary: ftp module for %{name} %description ftp ftp module for %{name}. %package http Summary: http module for %{name} %description http http module for %{name}. %package http-shared Summary: http-shared module for %{name} %description http-shared http-shared module for %{name}. %package http-lightweight Summary: http-lightweight module for %{name} %description http-lightweight http-lightweight module for %{name}. %if %{with scm} %package scm Summary: scm module for %{name} %description scm scm module for %{name}. %endif %if %{with ssh} %package ssh-external Summary: ssh-external module for %{name} %description ssh-external ssh-external module for %{name}. %package ssh-common Summary: ssh-common module for %{name} %description ssh-common ssh-common module for %{name}. %package ssh Summary: ssh module for %{name} %description ssh ssh module for %{name}. %endif %package javadoc Summary: Javadoc for %{name} %description javadoc Javadoc for %{name}. %prep %setup -q -n wagon-%{version} %pom_remove_plugin :animal-sniffer-maven-plugin %pom_remove_plugin :maven-enforcer-plugin %pom_remove_dep :wagon-tck-http wagon-providers/wagon-http # disable tests, missing dependencies %pom_disable_module wagon-tcks %pom_disable_module wagon-ssh-common-test wagon-providers/pom.xml %pom_disable_module wagon-provider-test %pom_remove_dep :wagon-provider-test %pom_remove_dep :wagon-provider-test wagon-providers # missing dependencies %pom_disable_module wagon-webdav-jackrabbit wagon-providers %if %{without scm} %pom_disable_module wagon-scm wagon-providers %endif %if %{without ssh} %pom_disable_module wagon-ssh wagon-providers %pom_disable_module wagon-ssh-common wagon-providers %pom_disable_module wagon-ssh-external wagon-providers %endif %build %mvn_file ":wagon-{*}" %{name}/@1 %mvn_package ":wagon" # tests are disabled because of missing dependencies %mvn_build -f -s # Maven requires Wagon HTTP with classifier "shaded" %mvn_alias :wagon-http :::shaded: %install %mvn_install %files -f .mfiles %doc LICENSE NOTICE DEPENDENCIES %files provider-api -f .mfiles-wagon-provider-api %dir %{_javadir}/%{name} %files providers -f .mfiles-wagon-providers %files file -f .mfiles-wagon-file %files ftp -f .mfiles-wagon-ftp %files http -f .mfiles-wagon-http %files http-shared -f .mfiles-wagon-http-shared %files http-lightweight -f .mfiles-wagon-http-lightweight %if %{with scm} %files scm -f .mfiles-wagon-scm %endif %if %{with ssh} %files ssh-external -f .mfiles-wagon-ssh-external %files ssh-common -f .mfiles-wagon-ssh-common %files ssh -f .mfiles-wagon-ssh %endif %files javadoc -f .mfiles-javadoc %doc LICENSE NOTICE DEPENDENCIES %changelog * Mon Dec 10 2018 daviddavid <daviddavid> 0:3.1.0-1.mga7 + Revision: 1339838 - new version: 3.1.0 (sync with fc29) * Wed Sep 19 2018 umeabot <umeabot> 0:2.10-5.mga7 + Revision: 1264150 - Mageia 7 Mass Rebuild * Mon May 15 2017 neoclust <neoclust> 0:2.10-4.mga6 + Revision: 1101419 - Rebuild maven-* packages - Second rebuild of the java stack * Tue Feb 23 2016 neoclust <neoclust> 0:2.10-2.mga6 + Revision: 977342 - First rebuild of the java stack - sync package maven-wagon with fedora + umeabot <umeabot> - Mageia 6 Mass Rebuild * Thu May 21 2015 luigiwalser <luigiwalser> 0:2.6-10.mga5 + Revision: 822469 - drop jackrabbit-webdav subpackage (from fedora) * Wed Dec 31 2014 daviddavid <daviddavid> 0:2.6-9.mga5 + Revision: 807596 - provides missing mvn(org.apache.maven.wagon:wagon-providers) * Sun Dec 28 2014 dmorgan <dmorgan> 0:2.6-8.mga5 + Revision: 806906 - Sync with fc21 * Fri Dec 26 2014 pterjan <pterjan> 0:2.6-7.mga5 + Revision: 806277 - Clean rebuild - Rebuild to get correct requires * Wed Oct 15 2014 umeabot <umeabot> 0:2.6-5.mga5 + Revision: 750129 - Second Mageia 5 Mass Rebuild - Mageia 5 Mass Rebuild + tv <tv> - rebuild for missing pythoneggs deps * Mon Sep 08 2014 pterjan <pterjan> 0:2.6-2.mga5 + Revision: 673449 - Fix to not self obsolete * Wed Sep 03 2014 dmorgan <dmorgan> 0:2.6-1.mga5 + Revision: 671693 - New version + umeabot <umeabot> - Mageia 4 Mass Rebuild * Mon Sep 23 2013 dmorgan <dmorgan> 0:2.5-2.mga4 + Revision: 484320 - Add shaded alias for wagon-http * Fri Sep 20 2013 dmorgan <dmorgan> 0:2.5-1.mga4 + Revision: 482556 - New version 2.5.1 * Tue Sep 17 2013 dmorgan <dmorgan> 0:2.4-1.mga4 + Revision: 481012 - New version - Java Stack Mass Rebuild + umeabot <umeabot> - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Sep 12 2012 dmorgan <dmorgan> 0:1.0-4.mga3 + Revision: 293167 - Remove BR: ganymed-ssh2 * Fri Sep 07 2012 dmorgan <dmorgan> 0:1.0-3.mga3 + Revision: 289307 - Fix build against jetty 8 and servlet 3. * Tue Jan 03 2012 gil <gil> 0:1.0-2.mga2 + Revision: 189819 - applied patch2 * Fri Dec 09 2011 dmorgan <dmorgan> 0:1.0-1.mga2 + Revision: 179531 - Update to final 1.0 * Tue Jul 19 2011 dmorgan <dmorgan> 0:1.0-0.3.b7.21.mga2 + Revision: 126295 - Install wagon-providers depmap too. - Install wagon pom depmap. - Use maven 3 for build. * Thu Apr 28 2011 dmorgan <dmorgan> 0:1.0-0.3.b7.2.mga1 + Revision: 92938 - Rebuild after bootstrapping - imported package maven-wagon * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.3.b7.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Dec 13 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.2.b7.1 - Update to beta 7. - Adapt to current guidelines. - Fix pom names. * Thu Sep 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.2.b6.3 - Use javadoc:aggregate. - Drop ant build. - Use global instead of define. * Fri May 14 2010 Yong Yang <yyang@redhat.com> 0:1.0-0.2.b6.2 - Create patch for wagon-http-shared pom.xml * Wed May 12 2010 Yong Yang <yyang@redhat.com> 0:1.0-0.2.b6.1 - Update to beta 6, build with with_maven 1 * Wed Aug 19 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.2.b2.7 - Remove gcj parts. * Wed Aug 19 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.2.b2.6 - Update to beta2 - sync with jpackage. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.3.a5.3.5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.2.a5.3.5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Dec 1 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0:1.0-0.1.a5.3.5 - include missing dir below _docdir * Fri Oct 03 2008 Matt Wringe <mwringe@redhat.com> - 0:1.0-0.1.a5.3.4 - added patch to make it compatible with the newer version of jsch * Wed Jul 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.0-0.1.a5.3.3 - drop repotag - fix license tag * Sat Apr 05 2008 Matt Wringe <mwringe@redhat.com> - 0:1.0-0.1.a5.3jpp.2 - Rebuild with new version of jsch * Tue Mar 13 2007 Matt Wringe <mwringe@redhat.com> - 0:1.0-0.1.a5.3jpp.1 - Merge in the changes neeeded to build without jetty - Fix rpmlint issues - Generate new *-build.xml files from pom.xml files as origins of *-project files is unknown. - Remove maven1 project.xml files from sources - Comment out various section requiring maven or javadocs (to be re-enabled at a future time). Note that the ant:ant task for maven2 does not currently generate javadocs. * Tue Apr 04 2006 Ralph Apel <r.apel@r-apel.de> - 0:1.0-0.a5.3jpp - Require j-c-codec, to build with j-c-httpclient = 3.0 * Thu Dec 22 2005 Deepak Bhole <dbhole@redhat.com> - 0:1.0-0.a5.2jpp - Commented out potentially superfluous dependencies. - Disabled wagon-scm * Mon Nov 07 2005 Ralph Apel <r.apel at r-apel.de> - 0:1.0-0.a5.1jpp - First JPackage build