[thredds] 06/26: WIP

Alastair McKinstry mckinstry at moszumanska.debian.org
Mon Oct 23 10:24:18 UTC 2017


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

mckinstry pushed a commit to branch ichec/master
in repository thredds.

commit 2857de94f1ad826ad5084bd16607e9a772352e02
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Thu Feb 18 14:58:46 2016 +0000

    WIP
---
 debian/control           |   7 +-
 debian/maven.ignoreRules |  13 +-
 debian/maven.rules       |   1 -
 debian/pom.xml           | 814 +++++++++++++++++++++++++++++++++++++++++++++++
 debian/rules             |  22 +-
 5 files changed, 843 insertions(+), 14 deletions(-)

diff --git a/debian/control b/debian/control
index 61622c8..7029350 100644
--- a/debian/control
+++ b/debian/control
@@ -3,10 +3,13 @@ Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Alastair <mckinstry at debian.org>
-Build-Depends: debhelper (>= 9), cdbs, default-jdk, maven-debian-helper (>= 1.5)
+Build-Depends: debhelper (>= 9), cdbs, default-jdk, gradle-debian-helper,
 Build-Depends-Indep: libmaven-shade-plugin-java, libmaven-war-plugin-java, libcommons-cli-java,  
  libhttpclient-java, libhttpcore-java, libhttpmime-java, libjstl1.1-java,  
- liblog4j2-java, libspring-web-servlet-java 
+ liblog4j2-java, libspring-web-servlet-java, libguava-java, libprotobuf-java,
+ libjoda-time-java, libjcip-annotations-java, libjdom2-java, libjsoup-java,
+ libspring-context-java, libspring-core-java, libspring-web-java, 
+ libquartz-java, libjbzip2-java
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-java/thredds.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/thredds.git
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
index cb61b8e..f958231 100644
--- a/debian/maven.ignoreRules
+++ b/debian/maven.ignoreRules
@@ -1,2 +1,13 @@
-
+com.google.code.gson gson * * * *
+com.google.guava guava * * * *
+commons-lang commons-lang * * * *
+commons-logging commons-logging * * * *
+junit junit * * * *
+net.sourceforge.cobertura cobertura * * * *
+org.apache.maven.wagon wagon-http-lightweight * * * *
+org.grails grails-docs * * * *
+org.spockframework spock-core * * * *
+org.xhtmlrenderer core-renderer * * * *
+org.yaml snakeyaml * * * *
+radeox radeox * * * *
 edu.ucar d4tests jar * * *
diff --git a/debian/maven.rules b/debian/maven.rules
index b2cb63d..6d04862 100644
--- a/debian/maven.rules
+++ b/debian/maven.rules
@@ -1,4 +1,3 @@
-
 com.google.guava guava bundle s/.*/debian/ * *
 com.google.guava guava s/jar/bundle/ s/.*/debian/ * *
 edu.ucar d4cdmclient jar * * *
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..7724143
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,814 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- =======================================================================
+		Parent Maven Configuration File for UCAR NetCDF library
+	======================================================================= -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<groupId>edu.ucar</groupId>
+	<artifactId>thredds-parent</artifactId>
+	<version>4.6.4</version>
+	<packaging>pom</packaging>
+	<!-- prerequisites> <maven>2.0.9</maven> </prerequisites -->
+	<!-- ====================================================
+       Project description (including license)
+     ==================================================== -->
+	<name>Parent THREDDS and CDM modules</name>
+	<description>The Unidata THREDDS project includes the netCDF-Java library (aka CDM) and
+    the THREDDS Data Server (TDS).</description>
+	<url>http://www.unidata.ucar.edu/software/netcdf-java/</url>
+	<organization>
+		<name>UCAR/Unidata</name>
+		<url>http://www.unidata.ucar.edu/</url>
+	</organization>
+	<inceptionYear>1999</inceptionYear>
+	<licenses>
+		<license>
+			<name>(MIT-style) netCDF C library license</name>
+			<url>http://www.unidata.ucar.edu/software/netcdf/copyright.html</url>
+			<distribution>repo</distribution>
+		</license>
+	</licenses>
+	<mailingLists>
+		<mailingList>
+			<name>netcdf-java</name>
+			<subscribe>http://www.unidata.ucar.edu/support/mailinglist/mailing-list-form.html</subscribe>
+			<post>netcdf-java at unidata.ucar.edu</post>
+		</mailingList>
+	</mailingLists>
+	<scm>
+		<url>https://github.com/Unidata/thredds/</url>
+		<connection>scm:git:https://github.com/Unidata/thredds/</connection>
+		<developerConnection>scm:git:git at github.com:Unidata/thredds.git</developerConnection>
+		<tag>v4.5.3</tag>
+	</scm>
+	<!-- ===========================================================
+       Developers and Contributors
+     =========================================================== -->
+	<developers>
+		<developer>
+			<id>caron</id>
+			<name>John Caron</name>
+			<email>caron at unidata.ucar.edu</email>
+			<organization>UCAR/UNIDATA</organization>
+			<organizationUrl>http://www.unidata.ucar.edu/</organizationUrl>
+			<roles>
+				<role>Java Developer</role>
+			</roles>
+		</developer>
+		<developer>
+			<id>chastang</id>
+			<name>Julien Chastang</name>
+			<email>chastang at unidata.ucar.edu</email>
+			<organization>UCAR/UNIDATA</organization>
+			<organizationUrl>http://www.unidata.ucar.edu/</organizationUrl>
+			<roles>
+				<role>Java Developer</role>
+			</roles>
+		</developer>
+		<developer>
+			<id>edavis</id>
+			<name>Ethan Davis</name>
+			<email>edavis at unidata.ucar.edu</email>
+			<organization>UCAR/UNIDATA</organization>
+			<organizationUrl>http://www.unidata.ucar.edu/</organizationUrl>
+			<roles>
+				<role>Java Developer</role>
+			</roles>
+		</developer>
+		<developer>
+			<id>dmh</id>
+			<name>Dennis Heimbigner</name>
+			<email>dmh at unidata.ucar.edu</email>
+			<organization>UCAR/UNIDATA</organization>
+			<organizationUrl>http://www.unidata.ucar.edu/</organizationUrl>
+			<roles>
+				<role>Java Developer</role>
+			</roles>
+		</developer>
+		<developer>
+			<id>emmerson</id>
+			<name>Steve Emmerson</name>
+			<email>steve at unidata.ucar.edu</email>
+			<organization>UCAR/UNIDATA</organization>
+			<organizationUrl>http://www.unidata.ucar.edu/</organizationUrl>
+			<roles>
+				<role>Java Developer</role>
+			</roles>
+		</developer>
+		<developer>
+			<id>oxelson</id>
+			<name>Jennifer Ganter Oxelson</name>
+			<email>oxelson at unidata.ucar.edu</email>
+			<organization>UCAR/UNIDATA</organization>
+			<organizationUrl>http://www.unidata.ucar.edu/</organizationUrl>
+			<roles>
+				<role>Java Developer</role>
+			</roles>
+		</developer>
+		<developer>
+			<id>mhermida</id>
+			<name>Marcos Hermida</name>
+			<email>mhermida at unidata.ucar.edu</email>
+			<organization>UCAR/UNIDATA</organization>
+			<organizationUrl>http://www.unidata.ucar.edu/</organizationUrl>
+			<roles>
+				<role>Java Developer</role>
+			</roles>
+		</developer>
+		<developer>
+			<id>russ</id>
+			<name>Russel Rew</name>
+			<email>russ at unidata.ucar.edu</email>
+			<organization>UCAR/UNIDATA</organization>
+			<organizationUrl>http://www.unidata.ucar.edu/</organizationUrl>
+			<roles>
+				<role>C Developer</role>
+			</roles>
+		</developer>
+		<developer>
+			<id>yuanho</id>
+			<name>Ho Yuan</name>
+			<email>yuanho at unidata.ucar.edu</email>
+			<organization>UCAR/UNIDATA</organization>
+			<organizationUrl>http://www.unidata.ucar.edu/</organizationUrl>
+			<roles>
+				<role>Java Developer</role>
+			</roles>
+		</developer>
+	</developers>
+	<!-- ===========================================================
+       Profiles
+     =========================================================== -->
+	<profiles>
+		<profile>
+			<id>integration-test</id>
+			<modules>
+			</modules>
+		</profile>
+		<!-- profile>
+      <id>tomcat-debug</id>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.tomcat</groupId>
+          <artifactId>tomcat-catalina</artifactId>
+          <version>${tomcat7.version}</version>
+          <scope>provided</scope>
+        </dependency>
+        <dependency>
+          <groupId>org.apache.tomcat</groupId>
+          <artifactId>tomcat-jasper</artifactId>
+          <version>${tomcat7.version}</version>
+          <scope>provided</scope>
+        </dependency>
+      </dependencies>
+    </profile -->
+	</profiles>
+	<distributionManagement>
+		<repository>
+			<id>unidata-releases</id>
+			<name>UNIDATA Releases</name>
+			<url>https://artifacts.unidata.ucar.edu/content/repositories/unidata-releases/</url>
+		</repository>
+		<snapshotRepository>
+			<id>unidata-snapshots</id>
+			<name>UNIDATA Snapshots</name>
+			<url>https://artifacts.unidata.ucar.edu/content/repositories/unidata-snapshots/</url>
+		</snapshotRepository>
+	</distributionManagement>
+	<repositories>
+		<repository>
+			<id>unidata</id>
+			<name>THREDDS</name>
+			<url>https://artifacts.unidata.ucar.edu/content/repositories/unidata/</url>
+		</repository>
+		<repository>
+			<id>unidata-3rdparty</id>
+			<url>https://artifacts.unidata.ucar.edu/content/repositories/unidata-3rdparty/</url>
+		</repository>
+		<repository>
+			<id>geotoolkit</id>
+			<name>Geotk repository</name>
+			<url>http://maven.geotoolkit.org</url>
+		</repository>
+		<!-- json-taglib  ( for ncWMS ) -->
+		<repository>
+			<id>mvmsearch</id>
+			<name>mvmsearch</name>
+			<url>http://www.mvnsearch.org/maven2/</url>
+		</repository>
+	</repositories>
+	<!-- ===========================================================
+       Dependency Management If a POM declares one of those dependencies, then it will use
+       the version specified here. Otherwise, those dependencies are ignored. Reference:
+       http://repo1.maven.org/maven2/
+     =========================================================== -->
+	<dependencyManagement>
+		<dependencies>
+			<!-- To make dependency usage of child modules in other child modules
+           or projects using this POM as a BOM -->
+			<dependency>
+				<groupId>edu.ucar</groupId>
+				<artifactId>udunits</artifactId>
+				<version>4.5.3</version>
+			</dependency>
+			<dependency>
+				<groupId>edu.ucar</groupId>
+				<artifactId>d4tswar</artifactId>
+				<version>debian</version>
+			</dependency>
+			<!-- logging -->
+			<dependency>
+				<groupId>org.apache.logging.log4j</groupId>
+				<artifactId>log4j-api</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>org.apache.logging.log4j</groupId>
+				<artifactId>log4j-core</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<!-- Adapts apache commons to slf4j, and so replaces commons-logging.jar -->
+				<groupId>org.slf4j</groupId>
+				<artifactId>jcl-over-slf4j</artifactId>
+				<version>debian</version>
+				<scope>runtime</scope>
+			</dependency>
+			<dependency>
+				<groupId>org.slf4j</groupId>
+				<artifactId>slf4j-api</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<!-- Should never be needed at compile time. -->
+				<groupId>org.slf4j</groupId>
+				<artifactId>slf4j-jdk14</artifactId>
+				<version>debian</version>
+				<scope>runtime</scope>
+			</dependency>
+			<!-- spring -->
+			<dependency>
+				<groupId>org.springframework</groupId>
+				<artifactId>spring-core</artifactId>
+				<version>3.x</version>
+				<exclusions>
+					<!-- Replaced with jcl-over-slf4j. -->
+					<exclusion>
+						<groupId>commons-logging</groupId>
+						<artifactId>commons-logging</artifactId>
+					</exclusion>
+				</exclusions>
+			</dependency>
+			<dependency>
+				<groupId>org.springframework</groupId>
+				<artifactId>spring-context</artifactId>
+				<version>3.x</version>
+			</dependency>
+			<dependency>
+				<groupId>org.springframework</groupId>
+				<artifactId>spring-beans</artifactId>
+				<version>3.x</version>
+			</dependency>
+			<dependency>
+				<groupId>org.springframework</groupId>
+				<artifactId>spring-webmvc</artifactId>
+				<version>3.x</version>
+			</dependency>
+			<!-- spring security -->
+			<dependency>
+				<groupId>org.springframework.security</groupId>
+				<artifactId>spring-security-config</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>org.springframework.security</groupId>
+				<artifactId>spring-security-core</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>org.springframework.security</groupId>
+				<artifactId>spring-security-taglibs</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>org.springframework.security</groupId>
+				<artifactId>spring-security-web</artifactId>
+				<version>debian</version>
+			</dependency>
+			<!-- see https://github.com/coverity/coverity-security-library -->
+			<dependency>
+				<groupId>com.coverity.security</groupId>
+				<artifactId>coverity-escapers</artifactId>
+				<version>debian</version>
+			</dependency>
+			<!-- stuff for wmotables
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-jdbc</artifactId>
+        <version>${org.springframework.version}</version>
+      </dependency>
+      <dependency>
+         <groupId>commons-dbcp</groupId>
+         <artifactId>commons-dbcp</artifactId>
+         <version>${commons-dbcp.version}</version>
+       </dependency>
+      <dependency>
+         <groupId>taglibs</groupId>
+         <artifactId>standard</artifactId>
+         <version>${taglibs.version}</version>
+       </dependency>
+      <dependency>
+         <groupId>org.apache.derby</groupId>
+         <artifactId>derby</artifactId>
+         <version>${derby.version}</version>
+       </dependency>
+      <dependency>
+        <groupId>javax.activation</groupId>
+        <artifactId>activation</artifactId>
+        <version>${javax.activation.version}</version>
+      </dependency>
+      <dependency>
+       <groupId>cglib</groupId>
+       <artifactId>cglib-nodep</artifactId>
+       <version>${cglib.version}</version>
+      </dependency>
+      <dependency>
+       <groupId>org.hibernate</groupId>
+       <artifactId>hibernate-validator</artifactId>
+       <version>${org.hibernate.version}</version>
+      </dependency>  -->
+			<!-- client -->
+			<dependency>
+				<groupId>org.apache.httpcomponents</groupId>
+				<artifactId>httpclient</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>org.apache.httpcomponents</groupId>
+				<artifactId>httpcore</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>org.apache.httpcomponents</groupId>
+				<artifactId>httpmime</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>net.sf.ehcache</groupId>
+				<artifactId>ehcache-core</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>net.jcip</groupId>
+				<artifactId>jcip-annotations</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>org.jdom</groupId>
+				<artifactId>jdom2</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>org.jdom</groupId>
+				<artifactId>jdom-legacy</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>com.sleepycat</groupId>
+				<artifactId>je</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>net.java.dev.jna</groupId>
+				<artifactId>jna</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>joda-time</groupId>
+				<artifactId>joda-time</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<!-- jsoup HTML parser library @ http://jsoup.org/ -->
+				<groupId>org.jsoup</groupId>
+				<artifactId>jsoup</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>com.google.protobuf</groupId>
+				<artifactId>protobuf-java</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>org.quartz-scheduler</groupId>
+				<artifactId>quartz</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>edu.wisc.ssec</groupId>
+				<artifactId>visad</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>com.lexicalscope.jewelcli</groupId>
+				<artifactId>jewelcli</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>org.apache.commons</groupId>
+				<artifactId>commons-lang3</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>com.google.guava</groupId>
+				<artifactId>guava</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>edu.ucar</groupId>
+				<artifactId>jj2000</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>org.itadaki</groupId>
+				<artifactId>bzip2</artifactId>
+				<version>debian</version>
+			</dependency>
+			<!-- UI -->
+			<dependency>
+				<groupId>org.jfree</groupId>
+				<artifactId>jcommon</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>org.jfree</groupId>
+				<artifactId>jfreechart</artifactId>
+				<version>debian</version>
+				<exclusions>
+					<exclusion>
+						<groupId>com.lowagie</groupId>
+						<artifactId>itext</artifactId>
+					</exclusion>
+				</exclusions>
+			</dependency>
+			<dependency>
+				<groupId>com.jgoodies</groupId>
+				<artifactId>jgoodies-forms</artifactId>
+				<version>debian</version>
+			</dependency>
+			<!-- THREDDS - START -->
+			<dependency>
+				<groupId>commons-fileupload</groupId>
+				<artifactId>commons-fileupload</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>commons-io</groupId>
+				<artifactId>commons-io</artifactId>
+				<version>debian</version>
+			</dependency>
+			<!-- dependency>
+      	<groupId>org.jasig.cas</groupId>
+      	<artifactId>cas-client-core</artifactId>
+        <version>${cas.version}</version>
+        <exclusions>
+          <exclusion>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency-->
+			<dependency>
+				<groupId>oro</groupId>
+				<artifactId>oro</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>uk.ac.rdg.resc</groupId>
+				<artifactId>ncwms</artifactId>
+				<version>debian</version>
+				<exclusions>
+					<exclusion>
+						<groupId>org.slf4j</groupId>
+						<artifactId>slf4j-jdk14</artifactId>
+					</exclusion>
+					<exclusion>
+						<groupId>org.jfree</groupId>
+						<artifactId>jcommon</artifactId>
+					</exclusion>
+					<exclusion>
+						<groupId>org.jfree</groupId>
+						<artifactId>jfreechart</artifactId>
+					</exclusion>
+				</exclusions>
+			</dependency>
+			<dependency>
+				<groupId>org.geotoolkit</groupId>
+				<artifactId>geotk-referencing</artifactId>
+				<version>debian</version>
+			</dependency>
+			<!-- server -->
+			<dependency>
+				<groupId>javax.servlet</groupId>
+				<artifactId>jstl</artifactId>
+				<version>1.1</version>
+				<scope>runtime</scope>
+			</dependency>
+			<dependency>
+				<groupId>json-taglib</groupId>
+				<artifactId>json-taglib</artifactId>
+				<version>debian</version>
+				<scope>runtime</scope>
+			</dependency>
+			<dependency>
+				<groupId>jaxen</groupId>
+				<artifactId>jaxen</artifactId>
+				<version>debian</version>
+				<scope>runtime</scope>
+				<exclusions>
+					<exclusion>
+						<artifactId>maven-cobertura-plugin</artifactId>
+						<groupId>maven-plugins</groupId>
+					</exclusion>
+					<exclusion>
+						<artifactId>maven-findbugs-plugin</artifactId>
+						<groupId>maven-plugins</groupId>
+					</exclusion>
+				</exclusions>
+			</dependency>
+			<!-- THREDDS ISO -->
+			<dependency>
+				<groupId>EDS</groupId>
+				<artifactId>threddsIso</artifactId>
+				<version>debian</version>
+				<scope>runtime</scope>
+				<exclusions>
+					<!-- TODO Ask Dave to scope servlet-api as "provided". -->
+					<exclusion>
+						<groupId>javax.servlet</groupId>
+						<artifactId>javax.servlet-api</artifactId>
+					</exclusion>
+					<exclusion>
+						<groupId>net.sf.saxon</groupId>
+						<artifactId>saxon</artifactId>
+					</exclusion>
+				</exclusions>
+			</dependency>
+			<!-- saxon -->
+			<dependency>
+				<groupId>net.sf.saxon</groupId>
+				<artifactId>saxon</artifactId>
+				<version>debian</version>
+			</dependency>
+			<dependency>
+				<groupId>net.sf.saxon</groupId>
+				<artifactId>saxon-dom</artifactId>
+				<version>debian</version>
+			</dependency>
+			<!-- THREDDS - END -->
+			<!--
+           We build the THREDDS war with the option attachClasses enabled so we have two possible dependencies here:
+            * war ->  edu.ucar.thredds-{project.version}.war
+            * jar ->  edu.ucar.thredds-{project.version}-classes.jar
+          -->
+			<!-- war dependencies -->
+			<!-- dependency>
+        <groupId>${project.groupId}</groupId>
+        <artifactId>remotetest</artifactId>
+        <version>${project.version}</version>
+        <type>war</type>
+      </dependency -->
+			<!-- jar dependencies -->
+			<dependency>
+				<groupId>edu.ucar</groupId>
+				<artifactId>tds</artifactId>
+				<version>debian</version>
+				<classifier>classes</classifier>
+				<type>jar</type>
+				<!-- scope>provided</scope-->
+			</dependency>
+			<!-- webapps -->
+			<!-- dependency>
+        <groupId>${project.groupId}</groupId>
+        <artifactId>wmotables</artifactId>
+        <version>${project.version}</version>
+        <type>war</type>
+      </dependency>
+
+      <dependency>
+        <groupId>${project.groupId}</groupId>
+        <artifactId>cdmvalidator</artifactId>
+        <version>${project.version}</version>
+        <type>war</type>
+      </dependency -->
+			<!-- test -->
+		</dependencies>
+	</dependencyManagement>
+	<!-- All modules use JUnit for their test. -->
+	<dependencies>
+	</dependencies>
+	<!-- ===========================================================
+       Build configuration
+     =========================================================== -->
+	<build>
+		<!-- Temporary source directory for test sources -->
+		<!-- testSourceDirectory>src/test_framework/java</testSourceDirectory -->
+		<pluginManagement>
+			<plugins>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-antrun-plugin</artifactId>
+					<version>1.7</version>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-assembly-plugin</artifactId>
+					<version>2.4.1</version>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-compiler-plugin</artifactId>
+					<version>3.2</version>
+					<configuration>
+						<source>1.7</source>
+						<target>1.7</target>
+					</configuration>
+					<!-- Tests compilation -->
+					<executions>
+						<execution>
+							<id>default-testCompile</id>
+							<phase>test-compile</phase>
+							<goals>
+								<goal>testCompile</goal>
+							</goals>
+						</execution>
+					</executions>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-jar-plugin</artifactId>
+					<version>2.4</version>
+					<configuration>
+						<archive>
+							<index>true</index>
+							<!-- Archive will contain an INDEX.LIST file. -->
+							<manifest>
+								<addClasspath>true</addClasspath>
+								<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+							</manifest>
+							<manifestEntries>
+								<Built-On>${maven.build.timestamp}</Built-On>
+							</manifestEntries>
+						</archive>
+					</configuration>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-deploy-plugin</artifactId>
+					<version>2.7</version>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-javadoc-plugin</artifactId>
+					<version>2.10.3</version>
+					<configuration>
+						<links>
+							<link>http://docs.oracle.com/javase/6/docs/api/</link>
+						</links>
+						<use>false</use>
+						<quiet>true</quiet>
+						<maxmemory>1024m</maxmemory>
+						<minmemory>512m</minmemory>
+					</configuration>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-release-plugin</artifactId>
+					<version>2.4.1</version>
+					<configuration>
+						<tagNameFormat>v@{project.version}</tagNameFormat>
+					</configuration>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-shade-plugin</artifactId>
+					<version>2.4.3</version>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-war-plugin</artifactId>
+					<version>2.2</version>
+				</plugin>
+			</plugins>
+		</pluginManagement>
+	</build>
+	<!-- ====================================================
+       Deployment to public servers
+     ==================================================== -->
+	<!--distributionManagement>
+     <repository>
+       <id>sonatype-nexus-staging</id>
+       <name>Sonatype OSS Hosting, synced to Maven Central</name>
+       <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
+     </repository>
+   </distributionManagement -->
+	<!-- ===========================================================
+       Modules for the build in approximate dependency order
+     =========================================================== -->
+	<modules>
+		<module>udunits</module>
+		<module>opendap/dtswar</module>
+		<!-- module>wmotables</module -->
+		<!-- module>cdmvalidator</module -->
+		<module>dap4/d4core</module>
+		<module>dap4/d4shared</module>
+		<module>dap4/d4client</module>
+		<module>dap4/d4cdmshared</module>
+		<module>dap4/d4cdmclient</module>
+		<module>dap4/d4servletshared</module>
+		<module>dap4/d4servlet</module>
+		<module>dap4/d4ts</module>
+		<module>dap4/d4tests</module>
+		<module>dap4/d4tswar</module>
+	</modules>
+	<properties>
+		<thredds.version>4.5.3</thredds.version>
+		<!-- default is to skip tests. use mvn test -DskipTests=false to override on command line -->
+		<skipTests>true</skipTests>
+		<!-- Source character encoding (different plug-ins use different sourceEncoding properties) -->
+		<sourceEncoding>UTF-8</sourceEncoding>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+		<!-- Build timestamp -->
+		<maven.build.timestamp.format>yyyyMMdd.HHmm</maven.build.timestamp.format>
+		<build.timestamp>${maven.build.timestamp}</build.timestamp>
+		<!-- Dependency versions -->
+		<visad.version>2.0-20130124</visad.version>
+		<edu.wisc.version>2011-08-22</edu.wisc.version>
+		<uk.ac.rdg.resc.version>1.0.tds.4.4.0</uk.ac.rdg.resc.version>
+		<org.geotoolkit.version>3.21</org.geotoolkit.version>
+		<eds.threddsIso.version>2.3.1</eds.threddsIso.version>
+		<atg.taglib.json.version>0.4.1</atg.taglib.json.version>
+		<cas.version>3.1.10</cas.version>
+		<cglib.version>2.2</cglib.version>
+		<com.google.guava.version>17.0</com.google.guava.version>
+		<com.google.protobuf.version>2.5.0</com.google.protobuf.version>
+		<com.jgoodies.version>1.6.0</com.jgoodies.version>
+		<com.sleepycat.version>4.0.92</com.sleepycat.version>
+		<commons-dbcp.version>1.4</commons-dbcp.version>
+		<commons-fileupload.version>1.2.2</commons-fileupload.version>
+		<org.apache.commons.commons-lang3>3.3.2</org.apache.commons.commons-lang3>
+		<org.apache.httpcomponents.httpcore.version>4.2.5</org.apache.httpcomponents.httpcore.version>
+		<org.apache.httpcomponents.httpclient.version>4.2.6</org.apache.httpcomponents.httpclient.version>
+		<org.apache.httpcomponents.httpmime.version>4.2.6</org.apache.httpcomponents.httpmime.version>
+		<commons-io.version>2.4</commons-io.version>
+		<derby.version>10.9.1.0</derby.version>
+		<javax.activation.version>1.1.1</javax.activation.version>
+		<javax.servlet.version>3.0.1</javax.servlet.version>
+		<javax.servlet.jstl.version>1.2</javax.servlet.jstl.version>
+		<jaxen.version>1.1.4</jaxen.version>
+		<org.jfree.jcommon.version>1.0.17</org.jfree.jcommon.version>
+		<org.jfree.jfreechart.version>1.0.14</org.jfree.jfreechart.version>
+		<joda-time.version>2.2</joda-time.version>
+		<junit.version>4.11</junit.version>
+		<log4j.version>2.0-rc1</log4j.version>
+		<net.jcip.version>1.0</net.jcip.version>
+		<net.sf.ehcache.version>2.6.2</net.sf.ehcache.version>
+		<!-- org.apache.tomcat.version>7.0.50</org.apache.tomcat.version !-->
+		<org.hibernate.version>4.3.1.Final</org.hibernate.version>
+		<org.jsoup.version>1.7.2</org.jsoup.version>
+		<org.jdom2.version>2.0.4</org.jdom2.version>
+		<org.jdom-legacy.version>1.1.3</org.jdom-legacy.version>
+		<org.quartz-scheduler.version>2.2.0</org.quartz-scheduler.version>
+		<org.slf4j.version>1.7.5</org.slf4j.version>
+		<org.springframework.version>3.2.3.RELEASE</org.springframework.version>
+		<org.springframework.security.version>3.1.3.RELEASE</org.springframework.security.version>
+		<oro.version>2.0.8</oro.version>
+		<taglibs.version>1.1.2</taglibs.version>
+		<saxon.version>8.7</saxon.version>
+		<jna.groupId>net.java.dev.jna</jna.groupId>
+		<jna.version>4.0.0</jna.version>
+		<edu.ucar.jj2000.version>5.2</edu.ucar.jj2000.version>
+		<org.itadaki.bzip2.version>0.9.1</org.itadaki.bzip2.version>
+		<!-- Plugins versions -->
+		<maven-antrun-plugin.version>1.7</maven-antrun-plugin.version>
+		<maven-assembly-plugin.version>2.4</maven-assembly-plugin.version>
+		<maven-compiler-plugin.version>3.1</maven-compiler-plugin.version>
+		<maven-deploy-plugin.version>2.7</maven-deploy-plugin.version>
+		<maven-javadoc-plugin.version>2.9.1</maven-javadoc-plugin.version>
+		<maven-jar-plugin.version>2.4</maven-jar-plugin.version>
+		<maven-release-plugin.version>2.4.1</maven-release-plugin.version>
+		<maven-shade-plugin.version>2.1</maven-shade-plugin.version>
+		<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
+		<maven-war-plugin.version>2.4</maven-war-plugin.version>
+		<!-- http://stackoverflow.com/questions/11222982/tomcat-binary-distribution-zip-as-maven-artifact -->
+		<cargo-plugin.version>1.4.5</cargo-plugin.version>
+		<!-- apache.download>http://mirrors.ibiblio.org/apache/</apache.download -->
+		<tomcat7.version>7.0.54</tomcat7.version>
+		<debian.hasPackageVersion>
+		</debian.hasPackageVersion>
+		<debian.mavenRules>edu.ucar thredds-parent pom * * *,
+		edu.ucar udunits jar * * *</debian.mavenRules>
+		<debian.originalVersion>4.5.3</debian.originalVersion>
+		<debian.package>libthredds-java</debian.package>
+	</properties>
+</project>
diff --git a/debian/rules b/debian/rules
index 496394b..751ca94 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,18 +1,20 @@
 #!/usr/bin/make -f
 
-# include /usr/share/cdbs/1/class/maven.mk
+export JAVA_HOME=/usr/lib/jvm/default-java
 
 %:
-	dh $@
-
-JAVA_HOME := /usr/lib/jvm/default-java
-DEB_MAVEN_DOC_TARGET := javadoc:javadoc javadoc:aggregate
+	dh $@ --with-buildsystem=gradle --with maven_repo_helper
 
 
 override_dh_auto_build:
-	gradle buildNetcdfAll
-	gradle buildDap4
-
+	dh_auto_build -- --project-prop finalRelease=true -Pgpars_groovyVersion=2.x -x zipDoc -x zipSrc \
+		assemble documentation
 
-#get-orig-source:
-#	uscan --download-current-version --force-download --no-symlink
+get-orig-source:
+		cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
+		uscan \
+			--verbose \
+			--no-symlink \
+			--destdir $(CURDIR)      \
+			--watchfile debian/watch \
+			--force-download

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/thredds.git



More information about the debian-science-commits mailing list