[gs-collections] 01/02: Initial packaging

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jul 23 10:47:56 UTC 2015


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

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

commit 7074b1fecfc569a743ee728c836b6656765b01cb
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Jul 23 12:44:54 2015 +0200

    Initial packaging
---
 debian/README.source                               |   9 ++
 debian/changelog                                   |   5 +
 debian/compat                                      |   1 +
 debian/control                                     |  29 +++++
 debian/copyright                                   |  19 +++
 debian/libgs-collections-java.poms                 |  43 +++++++
 debian/maven.ignoreRules                           |  22 ++++
 debian/maven.properties                            |   3 +
 debian/maven.publishedRules                        |   8 ++
 debian/maven.rules                                 |   5 +
 debian/patches/01-maven2-compatibility.patch       | 113 +++++++++++++++++
 .../02-use-default-maven-bundle-plugin.patch       |  43 +++++++
 debian/patches/03-bundle-dependencies.patch        | 141 +++++++++++++++++++++
 debian/patches/04-compile-generated-sources.patch  |  87 +++++++++++++
 debian/patches/series                              |   5 +
 debian/rules                                       |  22 ++++
 debian/source/format                               |   1 +
 debian/watch                                       |   2 +
 18 files changed, 558 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..c3c8820
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about gs-collections
+--------------------------------
+
+This package was debianized using the mh_make command
+from the maven-debian-helper package.
+
+The build system uses Maven but prevents it from downloading
+anything from the Internet, making the build compliant with
+the Debian policy.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8573229
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+gs-collections (5.1.0-1) unstable; urgency=medium
+
+  * Initial release (Closes: #793337)
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Thu, 23 Jul 2015 12:42:30 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..0045971
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: gs-collections
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Emmanuel Bourg <ebourg at apache.org>
+Build-Depends: cdbs,
+               debhelper (>= 9),
+               default-jdk,
+               junit4,
+               libbuild-helper-maven-plugin-java,
+               libjcip-annotations-java,
+               libmaven-bundle-plugin-java,
+               libmaven-dependency-plugin-java,
+               libstringtemplate4-java,
+               maven-debian-helper (>= 1.5)
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-java/gs-collections.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/gs-collections.git
+Homepage: https://github.com/goldmansachs/gs-collections
+
+Package: libgs-collections-java
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: ${maven:OptionalDepends}
+Description: Goldman Sachs Collections
+ GS Collections is a collections framework for Java. It has JDK-compatible
+ List, Set and Map implementations with a rich API and set of utility classes
+ that work with any JDK compatible Collections, Arrays, Maps or Strings.
+ The iteration protocol was inspired by the Smalltalk collection framework.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ff9e68d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,19 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Goldman Sachs Collections
+Source: https://github.com/goldmansachs/gs-collections
+
+Files: *
+Copyright: 2012-2014, Goldman Sachs
+License: Apache-2.0
+
+Files: memory-tests/src/test/java/com/gs/collections/impl/memory/MemoryTestBench.java
+Copyright: 2000-2013 Heinz Max Kabutz
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2015, Emmanuel Bourg <ebourg at apache.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ On Debian systems, the full text of the Apache-2.0 license
+ can be found in the file '/usr/share/common-licenses/Apache-2.0'
diff --git a/debian/libgs-collections-java.poms b/debian/libgs-collections-java.poms
new file mode 100644
index 0000000..a89719d
--- /dev/null
+++ b/debian/libgs-collections-java.poms
@@ -0,0 +1,43 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+#   --ignore: ignore this POM and its artifact if any
+#   --ignore-pom: don't install the POM. To use on POM files that are created
+#     temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
+#   --no-parent: remove the <parent> tag from the POM
+#   --package=<package>: an alternative package to use when installing this POM
+#      and its artifact
+#   --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+#      of the version for the package.
+#   --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+#      during a clean operation with mh_cleanpom or mh_installpom
+#   --artifact=<path>: path to the build artifact associated with this POM,
+#      it will be installed when using the command mh_install. [mh_install]
+#   --java-lib: install the jar into /usr/share/java to comply with Debian
+#      packaging guidelines
+#   --usj-name=<name>: name to use when installing the library in /usr/share/java
+#   --usj-version=<version>: version to use when installing the library in /usr/share/java
+#   --no-usj-versionless: don't install the versionless link in /usr/share/java
+#   --dest-jar=<path>: the destination for the real jar.
+#     It will be installed with mh_install. [mh_install]
+#   --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+#   --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
+#     Empty by default. [mh_install]
+#
+pom.xml --has-package-version
+gs-collections-code-generator/pom.xml --ignore-pom
+gs-collections-code-generator-ant/pom.xml --ignore
+gs-collections-code-generator-maven-plugin/pom.xml --ignore-pom
+collections-api/pom.xml --has-package-version
+collections/pom.xml --has-package-version
+collections-testutils/pom.xml --ignore-pom
+gs-collections-forkjoin/pom.xml --has-package-version
+unit-tests/pom.xml --ignore
+scala-unit-tests/pom.xml --ignore
+serialization-tests/pom.xml --ignore
+jmh-scala-tests/pom.xml --ignore
+jmh-tests/pom.xml --ignore
+acceptance-tests/pom.xml --ignore
+performance-tests/pom.xml --ignore
+memory-tests/pom.xml --ignore
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..be54a7d
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,22 @@
+
+com.goldmansachs acceptance-tests jar * * *
+com.goldmansachs gs-collections-code-generator-ant jar * * *
+com.goldmansachs jmh-scala-tests jar * * *
+com.goldmansachs jmh-tests jar * * *
+com.goldmansachs memory-tests jar * * *
+com.goldmansachs performance-tests jar * * *
+com.goldmansachs scala-unit-tests jar * * *
+com.goldmansachs serialization-tests jar * * *
+com.goldmansachs unit-tests jar * * *
+org.apache.maven.plugins maven-checkstyle-plugin * * * *
+org.apache.maven.plugins maven-enforcer-plugin * * * *
+org.apache.maven.plugins maven-javadoc-plugin * * * *
+org.apache.maven.plugins maven-jxr-plugin * * * *
+org.apache.maven.plugins maven-project-info-reports-plugin * * * *
+org.apache.maven.plugins maven-source-plugin * * * *
+org.apache.maven.plugins maven-surefire-plugin * * * *
+org.apache.maven.plugins maven-surefire-report-plugin * * * *
+org.codehaus.mojo clirr-maven-plugin * * * *
+org.codehaus.mojo findbugs-maven-plugin * * * *
+org.codehaus.mojo sonar-maven-plugin * * * *
+org.codehaus.mojo versions-maven-plugin * * * *
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..37dea91
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1,3 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+# maven.test.skip=true
diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules
new file mode 100644
index 0000000..4d523bc
--- /dev/null
+++ b/debian/maven.publishedRules
@@ -0,0 +1,8 @@
+
+com.goldmansachs gs-collections-api bundle s/.*/debian/ * *
+com.goldmansachs gs-collections-api s/jar/bundle/ s/.*/debian/ * *
+com.goldmansachs gs-collections-forkjoin bundle s/.*/debian/ * *
+com.goldmansachs gs-collections-forkjoin s/jar/bundle/ s/.*/debian/ * *
+com.goldmansachs gs-collections-parent pom s/.*/debian/ * *
+com.goldmansachs gs-collections bundle s/.*/debian/ * *
+com.goldmansachs gs-collections s/jar/bundle/ s/.*/debian/ * *
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..f304bf7
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,5 @@
+
+junit junit * s/.*/4.x/ * *
+net.jcip jcip-annotations jar s/.*/debian/ * *
+org.antlr ST4 jar s/.*/debian/ * *
+org.scala-lang * * s/2\.11.*/2.11.x/ * *
diff --git a/debian/patches/01-maven2-compatibility.patch b/debian/patches/01-maven2-compatibility.patch
new file mode 100644
index 0000000..667f23c
--- /dev/null
+++ b/debian/patches/01-maven2-compatibility.patch
@@ -0,0 +1,113 @@
+Description: Remove the prerequisite on Maven 3
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/collections-api/pom.xml
++++ b/collections-api/pom.xml
+@@ -81,7 +81,7 @@
+     </properties>
+ 
+     <prerequisites>
+-        <maven>3.0</maven>
++        <maven>2.2.1</maven>
+     </prerequisites>
+ 
+     <dependencies>
+--- a/collections/pom.xml
++++ b/collections/pom.xml
+@@ -82,7 +82,7 @@
+     </properties>
+ 
+     <prerequisites>
+-        <maven>3.0</maven>
++        <maven>2.2.1</maven>
+     </prerequisites>
+ 
+     <dependencies>
+--- a/gs-collections-forkjoin/pom.xml
++++ b/gs-collections-forkjoin/pom.xml
+@@ -82,7 +82,7 @@
+     </properties>
+ 
+     <prerequisites>
+-        <maven>3.0</maven>
++        <maven>2.2.1</maven>
+     </prerequisites>
+ 
+     <dependencies>
+--- a/pom.xml
++++ b/pom.xml
+@@ -100,7 +100,7 @@
+     </properties>
+ 
+     <prerequisites>
+-        <maven>3.0</maven>
++        <maven>2.2.1</maven>
+     </prerequisites>
+ 
+     <dependencyManagement>
+--- a/gs-collections-code-generator/pom.xml
++++ b/gs-collections-code-generator/pom.xml
+@@ -38,7 +38,7 @@
+     </properties>
+ 
+     <prerequisites>
+-        <maven>3.0</maven>
++        <maven>2.2.1</maven>
+     </prerequisites>
+ 
+     <dependencies>
+--- a/gs-collections-code-generator-maven-plugin/pom.xml
++++ b/gs-collections-code-generator-maven-plugin/pom.xml
+@@ -39,7 +39,7 @@
+     </properties>
+ 
+     <prerequisites>
+-        <maven>3.0</maven>
++        <maven>2.2.1</maven>
+     </prerequisites>
+ 
+     <dependencies>
+--- a/collections-testutils/pom.xml
++++ b/collections-testutils/pom.xml
+@@ -82,7 +82,7 @@
+     </properties>
+ 
+     <prerequisites>
+-        <maven>3.0</maven>
++        <maven>2.2.1</maven>
+     </prerequisites>
+ 
+     <dependencies>
+--- a/acceptance-tests/pom.xml
++++ b/acceptance-tests/pom.xml
+@@ -36,7 +36,7 @@
+     </properties>
+ 
+     <prerequisites>
+-        <maven>3.0</maven>
++        <maven>2.2.1</maven>
+     </prerequisites>
+ 
+     <dependencies>
+--- a/unit-tests/pom.xml
++++ b/unit-tests/pom.xml
+@@ -36,7 +36,7 @@
+     </properties>
+ 
+     <prerequisites>
+-        <maven>3.0</maven>
++        <maven>2.2.1</maven>
+     </prerequisites>
+ 
+     <dependencies>
+--- a/serialization-tests/pom.xml
++++ b/serialization-tests/pom.xml
+@@ -36,7 +36,7 @@
+     </properties>
+ 
+     <prerequisites>
+-        <maven>3.0</maven>
++        <maven>2.2.1</maven>
+     </prerequisites>
+ 
+     <dependencies>
diff --git a/debian/patches/02-use-default-maven-bundle-plugin.patch b/debian/patches/02-use-default-maven-bundle-plugin.patch
new file mode 100644
index 0000000..86148a4
--- /dev/null
+++ b/debian/patches/02-use-default-maven-bundle-plugin.patch
@@ -0,0 +1,43 @@
+Description: Use the default maven-bundle-plugin available in Debian
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/collections-api/pom.xml
++++ b/collections-api/pom.xml
+@@ -186,7 +186,6 @@
+                 <plugin>
+                     <groupId>org.apache.felix</groupId>
+                     <artifactId>maven-bundle-plugin</artifactId>
+-                    <version>2.4.0</version>
+                 </plugin>
+ 
+                 <plugin>
+--- a/collections/pom.xml
++++ b/collections/pom.xml
+@@ -193,7 +193,6 @@
+                 <plugin>
+                     <groupId>org.apache.felix</groupId>
+                     <artifactId>maven-bundle-plugin</artifactId>
+-                    <version>2.4.0</version>
+                 </plugin>
+ 
+                 <plugin>
+--- a/gs-collections-forkjoin/pom.xml
++++ b/gs-collections-forkjoin/pom.xml
+@@ -206,7 +206,6 @@
+                 <plugin>
+                     <groupId>org.apache.felix</groupId>
+                     <artifactId>maven-bundle-plugin</artifactId>
+-                    <version>2.4.0</version>
+                 </plugin>
+ 
+                 <plugin>
+--- a/pom.xml
++++ b/pom.xml
+@@ -245,7 +245,6 @@
+                 <plugin>
+                     <groupId>org.apache.felix</groupId>
+                     <artifactId>maven-bundle-plugin</artifactId>
+-                    <version>2.4.0</version>
+                 </plugin>
+ 
+                 <plugin>
diff --git a/debian/patches/03-bundle-dependencies.patch b/debian/patches/03-bundle-dependencies.patch
new file mode 100644
index 0000000..d5513d1
--- /dev/null
+++ b/debian/patches/03-bundle-dependencies.patch
@@ -0,0 +1,141 @@
+Description: Set the packaging type of the internal dependencies
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/collections/pom.xml
++++ b/collections/pom.xml
+@@ -91,6 +91,7 @@
+             <groupId>com.goldmansachs</groupId>
+             <artifactId>gs-collections-api</artifactId>
+             <version>5.1.0</version>
++            <type>bundle</type>
+         </dependency>
+ 
+         <!-- External dependencies -->
+--- a/gs-collections-forkjoin/pom.xml
++++ b/gs-collections-forkjoin/pom.xml
+@@ -91,12 +91,14 @@
+             <groupId>com.goldmansachs</groupId>
+             <artifactId>gs-collections-api</artifactId>
+             <version>5.1.0</version>
++            <type>bundle</type>
+         </dependency>
+ 
+         <dependency>
+             <groupId>com.goldmansachs</groupId>
+             <artifactId>gs-collections</artifactId>
+             <version>5.1.0</version>
++            <type>bundle</type>
+         </dependency>
+ 
+         <!-- Testing Dependencies -->
+@@ -106,6 +108,7 @@
+             <artifactId>gs-collections-testutils</artifactId>
+             <version>5.1.0</version>
+             <scope>test</scope>
++            <type>bundle</type>
+         </dependency>
+ 
+         <dependency>
+--- a/collections-testutils/pom.xml
++++ b/collections-testutils/pom.xml
+@@ -91,12 +91,14 @@
+             <groupId>com.goldmansachs</groupId>
+             <artifactId>gs-collections-api</artifactId>
+             <version>5.1.0</version>
++            <type>bundle</type>
+         </dependency>
+ 
+         <dependency>
+             <groupId>com.goldmansachs</groupId>
+             <artifactId>gs-collections</artifactId>
+             <version>5.1.0</version>
++            <type>bundle</type>
+         </dependency>
+ 
+         <dependency>
+--- a/acceptance-tests/pom.xml
++++ b/acceptance-tests/pom.xml
+@@ -46,6 +46,7 @@
+             <artifactId>gs-collections-api</artifactId>
+             <version>${project.version}</version>
+             <scope>test</scope>
++            <type>bundle</type>
+         </dependency>
+ 
+         <dependency>
+@@ -53,6 +54,7 @@
+             <artifactId>gs-collections</artifactId>
+             <version>${project.version}</version>
+             <scope>test</scope>
++            <type>bundle</type>
+         </dependency>
+ 
+         <dependency>
+@@ -60,6 +62,7 @@
+             <artifactId>gs-collections-testutils</artifactId>
+             <version>${project.version}</version>
+             <scope>test</scope>
++            <type>bundle</type>
+         </dependency>
+ 
+         <dependency>
+@@ -67,6 +70,7 @@
+             <artifactId>gs-collections-forkjoin</artifactId>
+             <version>${project.version}</version>
+             <scope>test</scope>
++            <type>bundle</type>
+         </dependency>
+ 
+         <dependency>
+--- a/unit-tests/pom.xml
++++ b/unit-tests/pom.xml
+@@ -46,6 +46,7 @@
+             <artifactId>gs-collections-api</artifactId>
+             <version>${project.version}</version>
+             <scope>test</scope>
++            <type>bundle</type>
+         </dependency>
+ 
+         <dependency>
+@@ -53,6 +54,7 @@
+             <artifactId>gs-collections</artifactId>
+             <version>${project.version}</version>
+             <scope>test</scope>
++            <type>bundle</type>
+         </dependency>
+ 
+         <dependency>
+@@ -60,6 +62,7 @@
+             <artifactId>gs-collections-testutils</artifactId>
+             <version>${project.version}</version>
+             <scope>test</scope>
++            <type>bundle</type>
+         </dependency>
+ 
+         <dependency>
+--- a/serialization-tests/pom.xml
++++ b/serialization-tests/pom.xml
+@@ -46,6 +46,7 @@
+             <artifactId>gs-collections-api</artifactId>
+             <version>${project.version}</version>
+             <scope>test</scope>
++            <type>bundle</type>
+         </dependency>
+
+         <dependency>
+@@ -53,6 +54,7 @@
+             <artifactId>gs-collections</artifactId>
+             <version>${project.version}</version>
+             <scope>test</scope>
++            <type>bundle</type>
+         </dependency>
+
+         <dependency>
+@@ -60,6 +62,7 @@
+             <artifactId>gs-collections-testutils</artifactId>
+             <version>${project.version}</version>
+             <scope>test</scope>
++            <type>bundle</type>
+         </dependency>
+
+         <dependency>
diff --git a/debian/patches/04-compile-generated-sources.patch b/debian/patches/04-compile-generated-sources.patch
new file mode 100644
index 0000000..e379912
--- /dev/null
+++ b/debian/patches/04-compile-generated-sources.patch
@@ -0,0 +1,87 @@
+Description: Force the compilation of the generated sources. For some reason they
+ aren't automatically compiled by Maven (the plugin does add the
+ target/generated-sources/java directory to the source path though). The workaround
+ consists in invoking the build-helper-maven-plugin to add the directory manually.
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/collections-api/pom.xml
++++ b/collections-api/pom.xml
+@@ -233,6 +233,24 @@
+             </plugin>
+ 
+             <plugin>
++                <groupId>org.codehaus.mojo</groupId>
++                <artifactId>build-helper-maven-plugin</artifactId>
++                <executions>
++                    <execution>
++                        <phase>generate-sources</phase>
++                        <goals>
++                            <goal>add-source</goal>
++                        </goals>
++                        <configuration>
++                            <sources>
++                                <source>${project.build.directory}/generated-sources/java</source>
++                            </sources>
++                        </configuration>
++                    </execution>
++                </executions>
++            </plugin>
++
++            <plugin>
+                 <artifactId>maven-compiler-plugin</artifactId>
+                 <configuration>
+                     <source>1.5</source>
+--- a/collections/pom.xml
++++ b/collections/pom.xml
+@@ -241,6 +241,24 @@
+             </plugin>
+ 
+             <plugin>
++                <groupId>org.codehaus.mojo</groupId>
++                <artifactId>build-helper-maven-plugin</artifactId>
++                <executions>
++                    <execution>
++                        <phase>generate-sources</phase>
++                        <goals>
++                            <goal>add-source</goal>
++                        </goals>
++                        <configuration>
++                            <sources>
++                                <source>${project.build.directory}/generated-sources/java</source>
++                            </sources>
++                        </configuration>
++                    </execution>
++                </executions>
++            </plugin>
++
++            <plugin>
+                 <artifactId>maven-compiler-plugin</artifactId>
+                 <configuration>
+                     <source>1.5</source>
+--- a/unit-tests/pom.xml
++++ b/unit-tests/pom.xml
+@@ -115,6 +115,24 @@
+             </plugin>
+ 
+             <plugin>
++                <groupId>org.codehaus.mojo</groupId>
++                <artifactId>build-helper-maven-plugin</artifactId>
++                <executions>
++                    <execution>
++                        <phase>generate-test-sources</phase>
++                        <goals>
++                            <goal>add-test-source</goal>
++                        </goals>
++                        <configuration>
++                            <sources>
++                                <source>${project.build.directory}/generated-test-sources/java</source>
++                            </sources>
++                        </configuration>
++                    </execution>
++                </executions>
++            </plugin>
++
++            <plugin>
+                 <artifactId>maven-compiler-plugin</artifactId>
+                 <configuration>
+                     <source>1.8</source>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7319376
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,5 @@
+01-maven2-compatibility.patch
+02-use-default-maven-bundle-plugin.patch
+#03-jar-packaging.patch
+03-bundle-dependencies.patch
+04-compile-generated-sources.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5fca4fb
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/maven.mk
+
+JAVA_HOME := /usr/lib/jvm/default-java
+
+common-install-indep::
+	# Remove the generator and the test classes from the final package
+	rm -Rf debian/libgs-collections-java/usr/share/maven-repo/com/goldmansachs/gs-collections-code-generator
+	rm -Rf debian/libgs-collections-java/usr/share/maven-repo/com/goldmansachs/gs-collections-code-generator-maven-plugin
+	rm -Rf debian/libgs-collections-java/usr/share/maven-repo/com/goldmansachs/gs-collections-testutils
+	rm -Rf debian/libgs-collections-java/usr/share/maven-repo/com/goldmansachs/*-tests
+	rm -Rf debian/libgs-collections-java/usr/share/java/gs-collections-code-generator*.jar
+	rm -Rf debian/libgs-collections-java/usr/share/java/gs-collections-testutils*.jar
+	rm -Rf debian/libgs-collections-java/usr/share/java/*-tests*.jar
+
+clean::
+	find . -type d -name target | xargs -r rm -Rf
+
+get-orig-source:
+	uscan --download-current-version --force-download --no-symlink
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..7195edb
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/goldmansachs/gs-collections/tags .*/([\d\.]+).tar.gz

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



More information about the pkg-java-commits mailing list