[pkg-java] r13835 - in trunk/jmdns/debian: . poms

James Page jamespage-guest at alioth.debian.org
Mon Jul 4 14:39:11 UTC 2011


Author: jamespage-guest
Date: 2011-07-04 14:39:10 +0000 (Mon, 04 Jul 2011)
New Revision: 13835

Modified:
   trunk/jmdns/debian/changelog
   trunk/jmdns/debian/compat
   trunk/jmdns/debian/control
   trunk/jmdns/debian/libjmdns-java-doc.docs
   trunk/jmdns/debian/poms/jmdns.pom
   trunk/jmdns/debian/rules
Log:
* Team Upload
* Fixed FTBFS for new upstream release:
  - debian/control: added junit, libeasymock-java to Build-Depends-Indep.
  - debian/rules: added new deps to CLASSPATH for compilation
  - debian/libjmdns-java-doc.docs: removed README.txt; no longer present
    in upstream source.
* Added get-orig-pom target to debian/rules to retrieve upstream POM file 
  for deployment to /usr/share/maven-repo.
* Tidied lintian warnings:
  - debian/control: removed dependency on default-jre-*
  - debian/control: bumped Standards-Version: 3.9.2
  - debian/compat: 5->7
  - debian/rules: switched dh_clean -k (deprecated) to dh_prep.
* Added myself to Uploaders.

Modified: trunk/jmdns/debian/changelog
===================================================================
--- trunk/jmdns/debian/changelog	2011-07-02 14:09:40 UTC (rev 13834)
+++ trunk/jmdns/debian/changelog	2011-07-04 14:39:10 UTC (rev 13835)
@@ -1,7 +1,8 @@
 jmdns (3.4.0-1) unstable; urgency=low
 
+  * Team Upload
+
   [ Ioan Eugen STAN ]
-  * Non-maintainer upload.
   * Fix "Package does not install Maven artifacts" (Closes: #620048)
   * Enabled maven artifact deployment:
     - debian/control: Build-Depends added maven-repo-helper
@@ -16,8 +17,23 @@
   [ Mathieu Malaterre ]
   * New upsteam 3.4.0. Closes: #616175
 
- -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Wed, 27 Apr 2011 13:39:54 +0200
+  [ James Page ]
+  * Fixed FTBFS for new upstream release:
+    - debian/control: added junit, libeasymock-java to Build-Depends-Indep.
+    - debian/rules: added new deps to CLASSPATH for compilation
+    - debian/libjmdns-java-doc.docs: removed README.txt; no longer present
+      in upstream source.
+  * Added get-orig-pom target to debian/rules to retrieve upstream POM file 
+    for deployment to /usr/share/maven-repo.
+  * Tidied lintian warnings:
+    - debian/control: removed dependency on default-jre-*
+    - debian/control: bumped Standards-Version: 3.9.2
+    - debian/compat: 5->7
+    - debian/rules: switched dh_clean -k (deprecated) to dh_prep.
+  * Added myself to Uploaders.
 
+ -- James Page <james.page at ubuntu.com>  Mon, 04 Jul 2011 14:32:14 +0100
+
 jmdns (3.1-1) unstable; urgency=low
 
   * New upstream.

Modified: trunk/jmdns/debian/compat
===================================================================
--- trunk/jmdns/debian/compat	2011-07-02 14:09:40 UTC (rev 13834)
+++ trunk/jmdns/debian/compat	2011-07-04 14:39:10 UTC (rev 13835)
@@ -1 +1 @@
-5
+7

Modified: trunk/jmdns/debian/control
===================================================================
--- trunk/jmdns/debian/control	2011-07-02 14:09:40 UTC (rev 13834)
+++ trunk/jmdns/debian/control	2011-07-04 14:39:10 UTC (rev 13835)
@@ -2,16 +2,18 @@
 Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Mathieu Malaterre (malat) <mathieu.malaterre at gmail.com>
+Uploaders: Mathieu Malaterre (malat) <mathieu.malaterre at gmail.com>, 
+ James Page <james.page at ubuntu.com>
 Build-Depends: debhelper (>> 7), javahelper, gcj-jdk, default-jdk, maven-repo-helper
-Standards-Version: 3.8.4
+Build-Depends-Indep: junit4, libeasymock-java
+Standards-Version: 3.9.2
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/jmdns
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/jmdns/
 Homepage: http://jmdns.sourceforge.net/
 
 Package: libjmdns-java
 Architecture: all
-Depends: java-gcj-compat | java1-runtime | java2-runtime, ${misc:Depends}
+Depends: ${misc:Depends}
 Description: Java implementation of multi-cast DNS (Apple Rendezvous)
  JmDNS is a Java implementation of the IETF draft RFP multicast 
  extensions for DNS.
@@ -23,7 +25,8 @@
 Section: doc
 Architecture: all
 Depends: ${misc:Depends}
-Description: The Java implementation of multi-cast DNS documentation
+Suggests: libjmdns-java
+Description: Documentation for Java implementation of multi-cast DNS
  JmDNS is a Java implementation of the IETF draft RFP multicast 
  extensions for DNS.
  This project contains the needed elements for service discovery 

Modified: trunk/jmdns/debian/libjmdns-java-doc.docs
===================================================================
--- trunk/jmdns/debian/libjmdns-java-doc.docs	2011-07-02 14:09:40 UTC (rev 13834)
+++ trunk/jmdns/debian/libjmdns-java-doc.docs	2011-07-04 14:39:10 UTC (rev 13835)
@@ -1,4 +1,3 @@
-README.txt
 NOTICE.txt
 docs/*.html
 docs/*.css

Modified: trunk/jmdns/debian/poms/jmdns.pom
===================================================================
--- trunk/jmdns/debian/poms/jmdns.pom	2011-07-02 14:09:40 UTC (rev 13834)
+++ trunk/jmdns/debian/poms/jmdns.pom	2011-07-04 14:39:10 UTC (rev 13835)
@@ -1,20 +1,475 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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">
-
+<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/xsd/maven-4.0.0.xsd">
 	<modelVersion>4.0.0</modelVersion>
-	<groupId>jmdns</groupId>
+	<groupId>javax.jmdns</groupId>
 	<artifactId>jmdns</artifactId>
-	<version>3.1</version>
+	<version>3.4.0</version>
 	<name>JmDNS</name>
-	<description>JmDNS is a Java implementation of multi-cast DNS and can be used for service registration and discovery in local area networks. JmDNS is fully compatible with Apple's Rendezvous.</description>
-	<url>http://jmdns.sourceforge.net/</url>
-
+	<packaging>jar</packaging>
+	<parent>
+		<groupId>org.sonatype.oss</groupId>
+		<artifactId>oss-parent</artifactId>
+		<version>4</version>
+	</parent>
+	<description>JmDNS is a Java implementation of multi-cast DNS and can be used for service registration and discovery in local area networks. JmDNS is fully compatible with Apple's Bonjour.
+The project was originally started in December 2002 by Arthur van Hoff at Strangeberry. In November 2003 the project was moved to SourceForge, and the name was changed from JRendezvous to JmDNS for legal reasons.
+Many thanks to Stuart Cheshire for help and moral support.</description>
+	<url>http://sourceforge.net/projects/jmdns/</url>
+	<inceptionYear>2002</inceptionYear>
+	<organization>
+		<name>JmDNS</name>
+		<url>http://jmdns.sourceforge.net/</url>
+	</organization>
+	<scm>
+		<connection>scm:svn:https://jmdns.svn.sourceforge.net/svnroot/jmdns/tags/jmdns-3.4.0</connection>
+		<developerConnection>scm:svn:https://jmdns.svn.sourceforge.net/svnroot/jmdns/tags/jmdns-3.4.0</developerConnection>
+		<url>scm:svn:https://jmdns.svn.sourceforge.net/svnroot/jmdns/tags/jmdns-3.4.0</url>
+	</scm>
+	<distributionManagement>
+		<site>
+			<id>jmdns.sf.net</id>
+			<url>scp://shell.sourceforge.net/home/groups/j/jm/jmdns/htdocs</url>
+			<!-- http://maven.apache.org/plugins/maven-site-plugin/examples/site-deploy-to-sourceforge.net.html -->
+		</site>
+	</distributionManagement>
+	<issueManagement>
+		<system>sourceforge</system>
+		<url>http://sourceforge.net/tracker/?group_id=93852</url>
+	</issueManagement>
+	<mailingLists>
+		<mailingList>
+			<name>JmDNS Announce Mailing list</name>
+			<subscribe>http://lists.sourceforge.net/mailman/listinfo/jmdns-announce</subscribe>
+			<unsubscribe>http://lists.sourceforge.net/mailman/listinfo/jmdns-announce</unsubscribe>
+			<archive>http://sourceforge.net/mailarchive/forum.php?forum_name=jmdns-announce</archive>
+			<post>jmdns-announce at lists.sourceforge.net</post>
+		</mailingList>
+		<mailingList>
+			<name>JmDNS User Mailing list</name>
+			<subscribe>http://lists.sourceforge.net/mailman/listinfo/jmdns-discuss</subscribe>
+			<unsubscribe>http://lists.sourceforge.net/mailman/listinfo/jmdns-discuss</unsubscribe>
+			<archive>http://sourceforge.net/mailarchive/forum.php?forum_name=jmdns-discuss</archive>
+			<post>jmdns-discuss at lists.sourceforge.net</post>
+		</mailingList>
+	</mailingLists>
+	<developers>
+		<developer>
+			<id>javanator</id>
+			<name>Arthur van Hoff</name>
+			<email>javanator at users.sourceforge.net</email>
+			<roles>
+				<role>Creator</role>
+			</roles>
+		</developer>
+		<developer>
+			<id>rickblair</id>
+			<name>Rich Blair</name>
+			<email>rickblair at users.sourceforge.net</email>
+			<roles>
+				<role>Administrator</role>
+				<role>Developer</role>
+			</roles>
+			<timezone>-9</timezone>
+		</developer>
+		<developer>
+			<id>spearway</id>
+			<name>Pierre Frisch</name>
+			<email>spearway at users.sourceforge.net</email>
+			<url>http://www.spearway.com</url>
+			<organization>sPearWay Ltd.</organization>
+			<organizationUrl>http://www.spearway.com</organizationUrl>
+			<roles>
+				<role>Architect</role>
+				<role>Developer</role>
+			</roles>
+			<timezone>-9</timezone>
+		</developer>
+	</developers>
+	<contributors>
+		<contributor>
+			<name>Melloware</name>
+			<email>info at melloware.com</email>
+			<url>http://www.melloware.com</url>
+			<organization>Melloware Tean</organization>
+			<organizationUrl>http://www.melloware.com</organizationUrl>
+			<roles>
+				<role>Maven Contributor</role>
+			</roles>
+		</contributor>
+		<contributor>
+			<name>Scott Lewis</name>
+			<email>slewis at users.sourceforge.net</email>
+			<roles>
+				<role>Contributor</role>
+			</roles>
+		</contributor>
+		<contributor>
+			<name>Werner Randelshofer</name>
+			<roles>
+				<role>Contributor</role>
+			</roles>
+		</contributor>
+		<contributor>
+			<name>Jeff Sonstein</name>
+			<roles>
+				<role>Contributor</role>
+			</roles>
+		</contributor>
+		<contributor>
+			<name>Cédrik Lime</name>
+			<roles>
+				<role>Contributor</role>
+			</roles>
+		</contributor>
+		<contributor>
+			<name>Markus Alexander Kuppe</name>
+			<roles>
+				<role>Contributor</role>
+			</roles>
+		</contributor>
+		<contributor>
+			<name>Jason LeBrun</name>
+			<roles>
+				<role>Contributor</role>
+			</roles>
+		</contributor>
+	</contributors>
 	<licenses>
 		<license>
 			<name>Apache License, Version 2.0</name>
-			<url>http://www.apache.org/licenses/LICENSE-2.0</url>
 			<distribution>repo</distribution>
+			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
 		</license>
 	</licenses>
-
-</project>
+	<dependencies>
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<version>4.8.1</version>
+			<type>jar</type>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.easymock</groupId>
+			<artifactId>easymock</artifactId>
+			<version>3.0</version>
+			<type>jar</type>
+			<scope>test</scope>
+		</dependency>
+	</dependencies>
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<version>2.3.1</version>
+				<configuration>
+					<source>${jvm.version}</source>
+					<target>${jvm.version}</target>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>buildnumber-maven-plugin</artifactId>
+				<version>1.0-beta-4</version>
+				<executions>
+					<execution>
+						<phase>validate</phase>
+						<goals>
+							<goal>create</goal>
+						</goals>
+					</execution>
+				</executions>
+				<configuration>
+					<doCheck>false</doCheck>
+					<doUpdate>false</doUpdate>
+					<revisionOnScmFailure>true</revisionOnScmFailure>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-source-plugin</artifactId>
+				<version>2.1.2</version>
+				<executions>
+					<execution>
+						<id>attach-sources</id>
+						<phase>verify</phase>
+						<goals>
+							<goal>jar-no-fork</goal>
+						</goals>
+					</execution>
+				</executions>
+				<configuration>
+					<attach>true</attach>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-jar-plugin</artifactId>
+				<version>2.3.1</version>
+				<executions>
+					<execution>
+						<goals>
+							<goal>jar</goal>
+						</goals>
+					</execution>
+				</executions>
+				<configuration>
+					<archive>
+						<addMavenDescriptor />
+						<compress />
+						<forced>true</forced>
+						<index>true</index>
+						<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+						<manifest>
+							<mainClass>javax.jmdns.impl.JmDNSImpl</mainClass>
+							<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+							<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+						</manifest>
+						<manifestEntries>
+							<Implementation-Build>${buildNumber}</Implementation-Build>
+							<Implementation-Date>${maven.build.timestamp}</Implementation-Date>
+						</manifestEntries>
+					</archive>
+					<excludes>
+						<!-- This fixes a bug in clover where it writes some instrumentation files where it should not JIAR: Clover/CLOV-943 -->
+						<exclude>groverconfig*/*.ser</exclude>
+						<exclude>groverconfig*</exclude>
+					</excludes>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.felix</groupId>
+				<artifactId>maven-bundle-plugin</artifactId>
+				<version>2.1.0</version>
+				<extensions>true</extensions>
+				<configuration>
+					<instructions>
+						<Export-Package>javax.jmdns</Export-Package>
+						<Private-Package>javax.jmdns.impl,javax.jmdns.impl.*,com.strangeberry.*,samples</Private-Package>
+						<Import-Package>!javax.swing.*</Import-Package>
+						<Bundle-RequiredExecutionEnvironment>JavaSE-${jvm.version}</Bundle-RequiredExecutionEnvironment>
+						<Bundle-Vendor>jmdns.sourceforge.net</Bundle-Vendor>
+					</instructions>
+				</configuration>
+				<executions>
+					<execution>
+						<id>bundle-manifest</id>
+						<phase>process-classes</phase>
+						<goals>
+							<goal>manifest</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-site-plugin</artifactId>
+				<configuration>
+					<locales>en</locales>
+					<!--<templateFile>src/site/site.vm</templateFile> -->
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>com.atlassian.maven.plugins</groupId>
+				<artifactId>maven-clover2-plugin</artifactId>
+				<version>3.0.2</version>
+				<configuration>
+					<includes>
+						<include>javax/**/*.java</include>
+					</includes>
+					<excludes>
+						<exclude>com/**/tools/*.java</exclude>
+						<exclude>samples/*.java</exclude>
+					</excludes>
+					<licenseLocation>clover.license.txt</licenseLocation>
+					<contextFilters>try,static</contextFilters>
+					<flushPolicy>threaded</flushPolicy>
+					<flushInterval>5000</flushInterval>
+					<includesTestSourceRoots>true</includesTestSourceRoots>
+					<generatePdf>false</generatePdf>
+					<generateXml>true</generateXml>
+					<generateHtml>true</generateHtml>
+					<targetPercentage>70%</targetPercentage>
+					<failOnViolation>false</failOnViolation>
+					<fullRunEvery>1</fullRunEvery>
+				</configuration>
+				<executions>
+					<execution>
+						<id>site</id>
+						<phase>pre-site</phase>
+						<goals>
+							<goal>instrument</goal>
+							<goal>aggregate</goal>
+							<goal>clover</goal>
+							<goal>check</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-release-plugin</artifactId>
+				<version>2.0</version>
+				<configuration>
+					<tagBase>https://jmdns.svn.sourceforge.net/svnroot/jmdns/tags/</tagBase>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+	<reporting>
+		<outputDirectory>target/site</outputDirectory>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-jxr-plugin</artifactId>
+				<version>2.2</version>
+				<configuration>
+					<linkJavadoc>true</linkJavadoc>
+					<includes>
+						<include>javax/**/*.java</include>
+					</includes>
+					<excludes>
+						<exclude>com/**/tools/*.java</exclude>
+						<exclude>samples/*.java</exclude>
+					</excludes>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>com.atlassian.maven.plugins</groupId>
+				<artifactId>maven-clover2-plugin</artifactId>
+				<version>3.0.2</version>
+				<configuration>
+					<licenseLocation>clover.license.txt</licenseLocation>
+					<generatePdf>false</generatePdf>
+					<generateXml>true</generateXml>
+					<generateHtml>true</generateHtml>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-checkstyle-plugin</artifactId>
+				<version>2.5</version>
+				<configuration>
+					<configLocation>${basedir}/checkstyle.xml</configLocation>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>jdepend-maven-plugin</artifactId>
+				<version>2.0-beta-2</version>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-changelog-plugin</artifactId>
+				<version>2.2</version>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-javadoc-plugin</artifactId>
+				<version>2.7</version>
+				<configuration>
+					<links>
+						<link>http://download.oracle.com/javase/6/docs/api/</link>
+						<link>http://logging.apache.org/log4j/1.2/apidocs/</link>
+						<link>http://junit.sourceforge.net/javadoc/</link>
+					</links>
+					<excludes>
+						<exclude>com/**/tools/*.java</exclude>
+						<exclude>samples/*.java</exclude>
+					</excludes>
+					<!-- additionalJOption>-J-Xmx512m</additionalJOption -->
+					<splitindex>true</splitindex>
+					<quiet />
+					<use>true</use>
+					<author>true</author>
+					<version>true</version>
+					<show>protected</show>
+					<keywords>true</keywords>
+					<verbose>true</verbose>
+					<locale>en_US</locale>
+					<maxmemory>512</maxmemory>
+					<encoding>UTF-8</encoding>
+					<docencoding>UTF-8</docencoding>
+					<windowtitle>JmDNS ${project.version} Reference</windowtitle>
+					<header><![CDATA[JmDNS ${project.version}]]></header>
+					<footer><![CDATA[<i>Last updated ${maven.build.timestamp}</i>]]></footer>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-pmd-plugin</artifactId>
+				<version>2.5</version>
+				<configuration>
+					<rulesets>
+						<ruleset>/rulesets/basic.xml</ruleset>
+						<ruleset>/rulesets/imports.xml</ruleset>
+						<ruleset>/rulesets/unusedcode.xml</ruleset>
+						<ruleset>/rulesets/finalizers.xml</ruleset>
+						<ruleset>/rulesets/logging-jakarta-commons.xml</ruleset>
+						<ruleset>/rulesets/logging-java.xml</ruleset>
+						<ruleset>/rulesets/migrating_to_15.xml</ruleset>
+						<ruleset>/rulesets/design.xml</ruleset>
+						<ruleset>/rulesets/strings.xml</ruleset>
+					</rulesets>
+					<minimumTokens>150</minimumTokens>
+					<linkXref>true</linkXref>
+					<sourceEncoding>utf-8</sourceEncoding>
+					<targetJdk>${jvm.version}</targetJdk>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>taglist-maven-plugin</artifactId>
+				<version>2.4</version>
+				<configuration>
+					<tagListOptions>
+						<tagClasses>
+							<tagClass>
+								<displayName>To do</displayName>
+								<tags>
+									<tag>
+										<matchString>todo</matchString>
+										<matchType>ignoreCase</matchType>
+									</tag>
+								</tags>
+							</tagClass>
+							<tagClass>
+								<displayName>To be fixed</displayName>
+								<tags>
+									<tag>
+										<matchString>FIXME</matchString>
+										<matchType>ignoreCase</matchType>
+									</tag>
+								</tags>
+							</tagClass>
+						</tagClasses>
+					</tagListOptions>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-changes-plugin</artifactId>
+				<version>2.3</version>
+				<reportSets>
+					<reportSet>
+						<reports>
+							<report>changes-report</report>
+						</reports>
+					</reportSet>
+				</reportSets>
+				<configuration>
+					<issueLinkTemplatePerSystem>
+						<sourceforge>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</sourceforge>
+					</issueLinkTemplatePerSystem>
+					<publishDateFormat>yyyy-MM-dd HH:mm</publishDateFormat>
+				</configuration>
+			</plugin>
+		</plugins>
+	</reporting>
+	<properties>
+		<organization.logo>http://mirrorbrain.org/static/images/misc/sourceforge-logo.png</organization.logo>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+		<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
+		<jvm.version>1.6</jvm.version>
+	</properties>
+</project>
\ No newline at end of file

Modified: trunk/jmdns/debian/rules
===================================================================
--- trunk/jmdns/debian/rules	2011-07-02 14:09:40 UTC (rev 13834)
+++ trunk/jmdns/debian/rules	2011-07-04 14:39:10 UTC (rev 13835)
@@ -19,7 +19,7 @@
 PACKAGE = jmdns
 
 # Put depended upon jars in here
-# export CLASSPATH=
+export CLASSPATH=/usr/share/java/junit4.jar:/usr/share/java/easymock.jar
 
 build: build-arch-stamp build-indep-stamp
 build-arch: build-arch-stamp
@@ -39,12 +39,13 @@
 	dh_testroot
 	jh_build --clean
 	dh_clean
+	mh_clean
 	rm -f build-arch-stamp build-indep-stamp jmdns*.jar
 
 install-indep: build-indep
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 	dh_installdirs
 
 binary-arch: build-arch
@@ -54,12 +55,11 @@
 	# Create the package here
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 	dh_install -i
 	dh_installdocs -i
 	dh_installchangelogs -i CHANGELOG.txt
 	dh_javadoc -Nlibjmdns-java -plibjmdns-java-doc -i --sourcedir=src 
-	jh_installlibs -i
 	jh_manifest -i
 	jh_depends -i
 	mh_installpoms -plib$(PACKAGE)-java
@@ -84,5 +84,10 @@
 	rm -rf $(UPSTREAM_SRC)
 	rm $(UPSTREAM_SRC).zip
 
+get-orig-pom:
+	mkdir -p debian/poms
+	wget -O debian/poms/jmdns.pom -U NoAgent-1.0 \
+		http://repo1.maven.org/maven2/javax/jmdns/jmdns/$(VER_FULL)/jmdns-$(VER_FULL).pom
+
 binary: binary-indep binary-arch
 .PHONY: build build-arch build-indep clean binary-indep binary-arch binary install-indep




More information about the pkg-java-commits mailing list