Source: elasticsearch
Version: 1.7.3+dfsg-2
Severity: important
Tags: patch

Dear Maintainer,

Please update the elasticsearch package to not install jts.jar in the
local maven repo. This is no longer required for since the update to JTS
1.13 as discussed on the debian-java list:

 https://lists.debian.org/debian-java/2015/11/msg00005.html

The attached patch drops the installation from debian/rules and updates
maven.rules for the new jts package.

Kind Regards,

Bas
diff --git a/debian/changelog b/debian/changelog
index e462e11..bdefb53 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+elasticsearch (1.6.2+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Don't install JTS in local maven repository, not needed for JTS 1.13.
+
+ -- Bas Couwenberg <sebas...@debian.org>  Sat, 07 Nov 2015 16:37:29 +0100
+
 elasticsearch (1.6.2+dfsg-1) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/maven.rules b/debian/maven.rules
index d641735..6132052 100644
--- a/debian/maven.rules
+++ b/debian/maven.rules
@@ -7,7 +7,7 @@ com.github.spullara.mustache.java compiler jar s/.*/debian/ * *
 com.spatial4j spatial4j jar s/0\.4.*/0.4.x/ * *
 com.tdunning t-digest jar * * *
 com.google.guava guava jar * * *
-com.vividsolutions jts jar s/.*/fake/ * *
+com.vividsolutions jts jar s/.*/debian/ * *
 log4j apache-log4j-extras jar s/1\.2\..*/1.2.x/ * *
 log4j log4j jar s/.*/1.2.x/ * *
 org.apache.lucene lucene-* jar s/.*/4.10.x/ * *
diff --git a/debian/rules b/debian/rules
index c678778..009d15b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,14 +31,6 @@ override_dh_auto_configure:
         -Dversion=fake \
         -Dpackaging=jar
 
-	mvn --offline install:install-file \
-        -Dmaven.repo.local=$(CURDIR)/debian/maven-repo \
-        -Dfile=/usr/share/java/jts.jar \
-        -DgroupId=com.vividsolutions \
-        -DartifactId=jts \
-        -Dversion=fake \
-        -Dpackaging=jar
-
 override_dh_auto_install:
 	mh_installpoms -plibelasticsearch1.6-java
 	mh_installjar -plibelasticsearch1.6-java -l -s pom.xml target/elasticsearch-*.jar

Reply via email to