Your message dated Thu, 25 Aug 2011 18:34:54 +0000
with message-id <[email protected]>
and subject line Bug#627746: fixed in mysql-connector-java 5.1.16-1
has caused the Debian Bug report #627746,
regarding libmysql-java: please provide maven POM file and jar link, patch 
attached
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
627746: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627746
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libmysql-java
Version: 5.1.10+dfsg-2.1
Severity: wishlist
Tags: patch


In order to use libmysql-java as a maven dependency for other
packages, the package should provide a POM file and a .jar link
in /usr/share/maven-repo.

See http://wiki.debian.org/Java/MavenRepoSpec

The attached patch uses maven-repo-helper scripts to place upstream's
POM file (included in src/doc/pom.xml) in the appropriate place.

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libmysql-java depends on:
ii  default-jre-headless 1:1.6-40            Standard Java or Java compatible R
ii  gcj-4.4-jre-headless 4.4.5-2             Java runtime environment using GIJ
ii  gcj-jre-headless [ja 4:4.4.5-1           Java runtime environment using GIJ
ii  openjdk-6-jre-headle 6b16-1.6.1-1ubuntu3 OpenJDK Java runtime, using Hotspo
ii  sun-java6-jre [java2 6.24-1~squeeze1     Sun Java(TM) Runtime Environment (

libmysql-java recommends no packages.

Versions of packages libmysql-java suggests:
ii  libcommons-logging-java       1.1.1-8    commmon wrapper interface for seve
ii  liblog4j1.2-java              1.2.15-11  Logging library for java

-- no debconf information
diff -U 3 -H -d -r -N -- mysql-connector-java-5.1.10+dfsg_old//debian/changelog mysql-connector-java-5.1.10+dfsg/debian/changelog
--- mysql-connector-java-5.1.10+dfsg_old//debian/changelog	2011-05-23 19:13:09.000000000 +0200
+++ mysql-connector-java-5.1.10+dfsg/debian/changelog	2011-05-23 13:14:07.000000000 +0200
@@ -1,3 +1,11 @@
+mysql-connector-java (5.1.10+dfsg-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Addig mh_installpoms to give maven support for other packages using
+    mysql-java
+
+ -- Miguel Telleria de Esteban <[email protected]>  Mon, 23 May 2011 13:14:07 +0200
+
 mysql-connector-java (5.1.10+dfsg-2) unstable; urgency=low
 
   * Fix installation of versioned jar (Closes: #549677).
diff -U 3 -H -d -r -N -- mysql-connector-java-5.1.10+dfsg_old//debian/control mysql-connector-java-5.1.10+dfsg/debian/control
--- mysql-connector-java-5.1.10+dfsg_old//debian/control	2011-05-23 19:13:09.000000000 +0200
+++ mysql-connector-java-5.1.10+dfsg/debian/control	2011-05-23 13:12:55.000000000 +0200
@@ -4,7 +4,7 @@
 Maintainer: Debian Java Maintainers <[email protected]>
 Uploaders: Arnaud Vandyck <[email protected]>, Marcus Better <[email protected]>, Michael Koch <[email protected]>
 Build-Depends: debhelper (>= 7), cdbs, ant, java-gcj-compat-dev, ant-optional
-Build-Depends-Indep: openjdk-6-jdk, liblog4j1.2-java, libcommons-logging-java, junit, ant-contrib
+Build-Depends-Indep: openjdk-6-jdk, liblog4j1.2-java, libcommons-logging-java, junit, ant-contrib, maven-repo-helper
 Standards-Version: 3.8.3
 Homepage: http://www.mysql.com/products/connector/j/
 Vcs-Svn: svn://svn.debian.org/pkg-java/trunk/mysql-connector-java
diff -U 3 -H -d -r -N -- mysql-connector-java-5.1.10+dfsg_old//debian/libmysql-java.poms mysql-connector-java-5.1.10+dfsg/debian/libmysql-java.poms
--- mysql-connector-java-5.1.10+dfsg_old//debian/libmysql-java.poms	1970-01-01 01:00:00.000000000 +0100
+++ mysql-connector-java-5.1.10+dfsg/debian/libmysql-java.poms	2011-05-23 13:19:45.000000000 +0200
@@ -0,0 +1,7 @@
+# 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 or
+#   --no-parent: remove the <parent> tag from the POM
+src/doc/sources/pom.xml
diff -U 3 -H -d -r -N -- mysql-connector-java-5.1.10+dfsg_old//debian/rules mysql-connector-java-5.1.10+dfsg/debian/rules
--- mysql-connector-java-5.1.10+dfsg_old//debian/rules	2011-05-23 19:13:09.000000000 +0200
+++ mysql-connector-java-5.1.10+dfsg/debian/rules	2011-05-23 19:28:31.000000000 +0200
@@ -12,12 +12,38 @@
 DEB_JARS := ant ant-launcher ant-junit commons-logging log4j-1.2 junit ant-contrib
 DEB_ANT_ARGS := -Dcom.mysql.jdbc.java6.javac=$(JAVA6_HOME)/bin/javac -Dcom.mysql.jdbc.java6.rtjar=$(JAVA6_HOME)/jre/lib/rt.jar
 
+$(eval $(shell echo $(VERSION) | cut -f1 -d. >major_version.stamp))
+MYSQL_CJ_MAJOR_VERSION := $(shell cat major_version.stamp)
+$(eval $(shell echo $(VERSION) | cut -f2 -d. >minor_version.stamp))
+MYSQL_CJ_MINOR_VERSION := $(shell cat minor_version.stamp)
+$(eval $(shell echo $(VERSION) | cut -f3 -d. >subminor_version.stamp))
+MYSQL_CJ_SUBMINOR_VERSION := $(shell cat subminor_version.stamp)
+
+POM_FILE = src/doc/sources/pom.xml
+
 install/libmysql-java::
 	install -D -m 644 build/mysql-connector-java-$(VERSION)/mysql-connector-java-$(VERSION)-bin.jar debian/libmysql-java/usr/share/java/mysql-connector-java-$(VERSION).jar
 	dh_link -plibmysql-java usr/share/java/mysql-connector-java-$(VERSION).jar usr/share/java/mysql-connector-java.jar
 	dh_link -plibmysql-java usr/share/java/mysql-connector-java-$(VERSION).jar usr/share/java/mysql-$(VERSION).jar
 	dh_link -plibmysql-java usr/share/java/mysql-$(VERSION).jar usr/share/java/mysql.jar
 
+binary-post-install/libmysql-java::
+	mv $(POM_FILE) $(POM_FILE).orig
+	sed -e 's|@MYSQL_CJ_MAJOR_VERSION@|$(MYSQL_CJ_MAJOR_VERSION)|' < $(POM_FILE).orig > $(POM_FILE).phase1
+	sed -e 's|@MYSQL_CJ_MINOR_VERSION@|$(MYSQL_CJ_MINOR_VERSION)|' < $(POM_FILE).phase1 > $(POM_FILE).phase2
+	sed -e 's|@MYSQL_CJ_SUBMINOR_VERSION@|$(MYSQL_CJ_SUBMINOR_VERSION)|' < $(POM_FILE).phase2 > $(POM_FILE)
+	mh_installpoms -plibmysql-java
+	mh_installjar -plibmysql-java -l $(POM_FILE) build/mysql-connector-java-$(VERSION)/mysql-connector-java-$(VERSION)-bin.jar
+	mv $(POM_FILE).orig $(POM_FILE)
+	rm $(POM_FILE).phase1
+	rm $(POM_FILE).phase2
+
+
 clean::
 	rm -rf dist
 	rm -f build-stamp
+	rm -f major_version.stamp
+	rm -f minor_version.stamp
+	rm -f subminor_version.stamp
+	mh_clean
+

--- End Message ---
--- Begin Message ---
Source: mysql-connector-java
Source-Version: 5.1.16-1

We believe that the bug you reported is fixed in the latest version of
mysql-connector-java, which is due to be installed in the Debian FTP archive:

libmysql-java_5.1.16-1_all.deb
  to main/m/mysql-connector-java/libmysql-java_5.1.16-1_all.deb
mysql-connector-java_5.1.16-1.debian.tar.gz
  to main/m/mysql-connector-java/mysql-connector-java_5.1.16-1.debian.tar.gz
mysql-connector-java_5.1.16-1.dsc
  to main/m/mysql-connector-java/mysql-connector-java_5.1.16-1.dsc
mysql-connector-java_5.1.16.orig.tar.gz
  to main/m/mysql-connector-java/mysql-connector-java_5.1.16.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Torsten Werner <[email protected]> (supplier of updated mysql-connector-java 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 25 Aug 2011 11:09:59 +0200
Source: mysql-connector-java
Binary: libmysql-java
Architecture: source all
Version: 5.1.16-1
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: Torsten Werner <[email protected]>
Description: 
 libmysql-java - Java database (JDBC) driver for MySQL
Closes: 627746
Changes: 
 mysql-connector-java (5.1.16-1) unstable; urgency=low
 .
   * Team upload.
 .
   [ Miguel Telleria de Esteban ]
   * Add mh_installpoms to give maven support for other packages using
     mysql-java. (Closes: #627746)
 .
   [ Torsten Werner ]
   * New upstream release. Switch from commons logging to slf4j.
   * Clean up orig tarball even more. Remove c3p0*.zip and documentation without
     source format.
   * Add target get-orig-source to debian/rules.
   * Remove Arnaud from Uploaders list.
   * Remove Java runtime from Depends.
   * Switch to source format 3.0.
   * Switch to debhelper level 7.
   * Update Standards-Version: 3.9.1.
Checksums-Sha1: 
 85817d573d129df6e4a9488630e96a8ffbd22a08 1520 mysql-connector-java_5.1.16-1.dsc
 ef508d43357b03f6077350e2341551c4b4ec95a0 1110098 
mysql-connector-java_5.1.16.orig.tar.gz
 1b9bd5e20a7a8a74faad6b0d79f7c5cc5f040033 5225 
mysql-connector-java_5.1.16-1.debian.tar.gz
 1207b29120d09325252ed07cf212494f75224b0c 878224 libmysql-java_5.1.16-1_all.deb
Checksums-Sha256: 
 61bad4c9868263619ed15527541328cae0ec8aae702210c16d4284c0ceb8e1f1 1520 
mysql-connector-java_5.1.16-1.dsc
 79527a9ab857710053aadd38b8434419f8e3719bccedc69f1ef7be803a379bd9 1110098 
mysql-connector-java_5.1.16.orig.tar.gz
 72cd5c9a3760a0ffc0374764c9b5136fe4321707033fa19b30d083bfd7bf4525 5225 
mysql-connector-java_5.1.16-1.debian.tar.gz
 59b013207c2a323ad8bf1eb741c11506ff87c18900b3d7487820935bf6131763 878224 
libmysql-java_5.1.16-1_all.deb
Files: 
 67eece5f425fdba66dc9fb02ab08cee9 1520 java optional 
mysql-connector-java_5.1.16-1.dsc
 1bf3779493cee61f0eab89c8ae03dedf 1110098 java optional 
mysql-connector-java_5.1.16.orig.tar.gz
 bd70c85601b403b589d873b0ac5fcd3f 5225 java optional 
mysql-connector-java_5.1.16-1.debian.tar.gz
 e512d18e29cd314717f08da1dccbab1f 878224 java optional 
libmysql-java_5.1.16-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEUEARECAAYFAk5Wke4ACgkQfY3dicTPjsPHIwCff8tojOBa6ko0nonVAgPWzCDT
8O8AkwVcaLpnpQhiOlwI6pwq1wR71tY=
=ophZ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to