[wagon] 01/06: Split libwagon-java into smaller packages

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Nov 9 00:32:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository wagon.

commit 39d13d54faaa552adacb307139056f64bff708a9
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Nov 9 00:00:17 2017 +0100

    Split libwagon-java into smaller packages
---
 debian/changelog          |   7 +++
 debian/clean              |   2 +
 debian/control            | 129 ++++++++++++++++++++++++++++++++++++++++++++--
 debian/libwagon-java.poms |  36 +++++++------
 debian/rules              |   2 +-
 5 files changed, 155 insertions(+), 21 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2d50dec..3df0260 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+wagon (3.0.0-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Split libwagon-java into smaller packages
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Wed, 08 Nov 2017 23:58:05 +0100
+
 wagon (3.0.0-1) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..c51d023
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+debian/libwagon-tck-java/
+debian/libwagon-provider-test-java/
diff --git a/debian/control b/debian/control
index f77da3a..fff6bd1 100644
--- a/debian/control
+++ b/debian/control
@@ -36,9 +36,15 @@ Homepage: http://maven.apache.org/wagon/
 
 Package: libwagon-java
 Architecture: all
-Depends: ${maven:Depends}, ${misc:Depends}
-Recommends: ${maven:OptionalDepends}
-Description: resources' transport abstraction that is used in Maven
+Section: oldlibs
+Depends:
+ ${misc:Depends},
+ libwagon-provider-api-java (>= ${source:Version}),
+ libwagon-file-java (>= ${source:Version}),
+ libwagon-ftp-java (>= ${source:Version}),
+ libwagon-http-java (>= ${source:Version}),
+ libwagon-http-shaded-java (>= ${source:Version})
+Description: Artifact transport abstraction used in Maven (transitional package)
  The Wagon project defines a simple API for transferring resources
  (artifacts) to and from repositories. The word repository is used in this
  context as it is commonly used in Maven and means a storage of artifacts.
@@ -51,3 +57,120 @@ Description: resources' transport abstraction that is used in Maven
   * FTP
   * SSH/SCP
   * WebDAV
+
+Package: libwagon-provider-api-java
+Architecture: all
+Depends: ${misc:Depends}, libplexus-utils2-java
+Breaks: libwagon-java (<< 3.0.0-2~)
+Replaces: libwagon-java (<< 3.0.0-2~)
+Description: Artifact transport abstraction used in Maven (Provider API)
+ The Wagon project defines a simple API for transferring resources
+ (artifacts) to and from repositories. The word repository is used in this
+ context as it is commonly used in Maven and means a storage of artifacts.
+ It is also used to deploy the Maven generated site to a server.
+ .
+ Wagon defines a unified API, and it currently has the following providers:
+  * File
+  * HTTP
+  * HTTP lightweight
+  * FTP
+  * SSH/SCP
+  * WebDAV
+ .
+ This package contains the wagon-provider-api library.
+
+Package: libwagon-file-java
+Architecture: all
+Depends: ${misc:Depends}, libslf4j-java, libwagon-provider-api-java (>= ${source:Version})
+Breaks: libwagon-java (<< 3.0.0-2~)
+Replaces: libwagon-java (<< 3.0.0-2~)
+Description: Artifact transport abstraction used in Maven (file provider)
+ The Wagon project defines a simple API for transferring resources
+ (artifacts) to and from repositories. The word repository is used in this
+ context as it is commonly used in Maven and means a storage of artifacts.
+ It is also used to deploy the Maven generated site to a server.
+ .
+ Wagon defines a unified API, and it currently has the following providers:
+  * File
+  * HTTP
+  * HTTP lightweight
+  * FTP
+  * SSH/SCP
+  * WebDAV
+ .
+ This package contains the wagon-file library.
+
+Package: libwagon-ftp-java
+Architecture: all
+Depends:
+ ${misc:Depends},
+ libcommons-io-java,
+ libcommons-net-java,
+ libslf4j-java,
+ libwagon-provider-api-java (>= ${source:Version})
+Breaks: libwagon-java (<< 3.0.0-2~)
+Replaces: libwagon-java (<< 3.0.0-2~)
+Description: Artifact transport abstraction used in Maven (FTP provider)
+ The Wagon project defines a simple API for transferring resources
+ (artifacts) to and from repositories. The word repository is used in this
+ context as it is commonly used in Maven and means a storage of artifacts.
+ It is also used to deploy the Maven generated site to a server.
+ .
+ Wagon defines a unified API, and it currently has the following providers:
+  * File
+  * HTTP
+  * HTTP lightweight
+  * FTP
+  * SSH/SCP
+  * WebDAV
+ .
+ This package contains the wagon-ftp library.
+
+Package: libwagon-http-java
+Architecture: all
+Depends:
+ ${misc:Depends},
+ libcommons-io-java,
+ libhttpcore-java,
+ libhttpclient-java,
+ libjsoup-java,
+ libslf4j-java,
+ libwagon-provider-api-java (>= ${source:Version})
+Breaks: libwagon-java (<< 3.0.0-2~)
+Replaces: libwagon-java (<< 3.0.0-2~)
+Description: Artifact transport abstraction used in Maven (HTTP providers)
+ The Wagon project defines a simple API for transferring resources
+ (artifacts) to and from repositories. The word repository is used in this
+ context as it is commonly used in Maven and means a storage of artifacts.
+ It is also used to deploy the Maven generated site to a server.
+ .
+ Wagon defines a unified API, and it currently has the following providers:
+  * File
+  * HTTP
+  * HTTP lightweight
+  * FTP
+  * SSH/SCP
+  * WebDAV
+ .
+ This package contains the wagon-http-* libraries.
+
+Package: libwagon-http-shaded-java
+Architecture: all
+Depends: ${misc:Depends}
+Breaks: libwagon-java (<< 3.0.0-2~)
+Replaces: libwagon-java (<< 3.0.0-2~)
+Description: Artifact transport abstraction used in Maven (HTTP providers with dependencies)
+ The Wagon project defines a simple API for transferring resources
+ (artifacts) to and from repositories. The word repository is used in this
+ context as it is commonly used in Maven and means a storage of artifacts.
+ It is also used to deploy the Maven generated site to a server.
+ .
+ Wagon defines a unified API, and it currently has the following providers:
+  * File
+  * HTTP
+  * HTTP lightweight
+  * FTP
+  * SSH/SCP
+  * WebDAV
+ .
+ This package contains the wagon-http-shaded artifact.
diff --git a/debian/libwagon-java.poms b/debian/libwagon-java.poms
index c360201..ea6ddcc 100644
--- a/debian/libwagon-java.poms
+++ b/debian/libwagon-java.poms
@@ -25,20 +25,22 @@
 #   --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
 #     Empty by default. [mh_install]
 #
-pom.xml --no-parent --has-package-version
-wagon-provider-api/pom.xml --has-package-version --java-lib
-wagon-providers/pom.xml --has-package-version
-wagon-providers/wagon-file/pom.xml --has-package-version --java-lib
-wagon-providers/wagon-ftp/pom.xml --has-package-version --java-lib
-wagon-providers/wagon-http/pom.xml --has-package-version --java-lib
-wagon-providers/wagon-http-shared/pom.xml --has-package-version --java-lib
-wagon-providers/wagon-http-lightweight/pom.xml --has-package-version --java-lib
-wagon-providers/wagon-scm/pom.xml --ignore
-wagon-providers/wagon-ssh/pom.xml --ignore
-wagon-providers/wagon-ssh-external/pom.xml --ignore
-wagon-providers/wagon-ssh-common/pom.xml --ignore
-wagon-providers/wagon-ssh-common-test/pom.xml --ignore
-wagon-providers/wagon-webdav-jackrabbit/pom.xml --ignore
-wagon-provider-test/pom.xml --has-package-version --java-lib
-wagon-tcks/pom.xml --has-package-version
-wagon-tcks/wagon-tck-http/pom.xml --has-package-version --java-lib
+pom.xml                               --no-parent --has-package-version            --package=libwagon-provider-api-java
+wagon-provider-api/pom.xml                        --has-package-version --java-lib --package=libwagon-provider-api-java
+wagon-providers/pom.xml                           --has-package-version            --package=libwagon-provider-api-java
+wagon-providers/wagon-file/pom.xml                --has-package-version --java-lib --package=libwagon-file-java
+wagon-providers/wagon-ftp/pom.xml                 --has-package-version --java-lib --package=libwagon-ftp-java
+wagon-providers/wagon-http/pom.xml                --has-package-version --java-lib --package=libwagon-http-java
+wagon-providers/wagon-http-shared/pom.xml         --has-package-version --java-lib --package=libwagon-http-java
+wagon-providers/wagon-http-lightweight/pom.xml    --has-package-version --java-lib --package=libwagon-http-java
+wagon-providers/wagon-scm/pom.xml                 --ignore
+wagon-providers/wagon-ssh/pom.xml                 --ignore
+wagon-providers/wagon-ssh-external/pom.xml        --ignore
+wagon-providers/wagon-ssh-common/pom.xml          --ignore
+wagon-providers/wagon-ssh-common-test/pom.xml     --ignore
+wagon-providers/wagon-webdav-jackrabbit/pom.xml   --ignore
+
+# Test modules built but not installed into a real package
+wagon-provider-test/pom.xml                       --has-package-version --java-lib --package=libwagon-provider-test-java
+wagon-tcks/pom.xml                                --has-package-version            --package=libwagon-tck-java
+wagon-tcks/wagon-tck-http/pom.xml                 --has-package-version --java-lib --package=libwagon-tck-java
diff --git a/debian/rules b/debian/rules
index 8b84f39..fa34bb0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ override_dh_auto_clean:
 
 override_dh_auto_install:
 	dh_auto_install
-	mh_installjar -plibwagon-java --java-lib --usj-name=wagon-http-shaded --classifier=shaded wagon-providers/wagon-http/pom.xml wagon-providers/wagon-http/target/wagon-http-*-shaded.jar
+	mh_installjar -plibwagon-http-shaded-java --java-lib --usj-name=wagon-http-shaded --classifier=shaded wagon-providers/wagon-http/pom.xml wagon-providers/wagon-http/target/wagon-http-*-shaded.jar
 
 get-orig-source:
 	uscan --download-current-version --force-download --no-symlink --repack

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/wagon.git



More information about the pkg-java-commits mailing list