Bug#760877: libjackson2-annotations-java: Should provide jackson-annotations-2.x.pom

2014-09-08 Thread Gilles Filippini
Package: libjackson2-annotations-java
Version: 2.4.2-1
Severity: serious
Justification: Make other java packages FTBFS

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi,

libjackson2-annotations-java should still provide the pom file alias
jackson-annotations-2.x.pom because it is listed as a dependency by
other java packages. For instance libjackson2-databind-java has this
snippet in its shipped pom file:
dependency
groupIdcom.fasterxml.jackson.core/groupId
artifactIdjackson-annotations/artifactId
version2.x/version
/dependency

Because of this missing pom file alias, java packages build-depending
on libjackson2-databind-java FTBFS. See for example this log excerpt
from a sikulix build:
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

Missing:
- --
1) com.fasterxml.jackson.core:jackson-annotations:jar:2.x

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=com.fasterxml.jackson.core 
-DartifactId=jackson-annotations -Dversion=2.x -Dpackaging=jar 
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=com.fasterxml.jackson.core 
-DartifactId=jackson-annotations -Dversion=2.x -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
1) org.sikuli:Jygments4SikuliX:jar:1.1.0
2) com.fasterxml.jackson.core:jackson-databind:jar:2.x
3) com.fasterxml.jackson.core:jackson-annotations:jar:2.x

- --
1 required artifact is missing.

Because the dependency is from an installed pom file, it cannot be
fixed by a debian/maven.rules entry.

Thanks in advance,

_g.


- -- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.14-1-486
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBCAAGBQJUDgICAAoJEO/obGx//s+Dh6kH/2AXYz6NJyqDMCqRfS3wIdmw
RQ1hOK73tjeTvdzFqueQczWTZOSsUvArr5IsQ2zlJDmP1aj1+vhV01kyyZGPrY8u
U7YAx82hAbs2kwXQeovKLSyMxXWfXYJNoJELGdAQ70OmYUJ0F+41a11UC1RlA22X
9GZ0/0S64fyCyg2vxmKNvBOyU1dVeHvr+V2s30nb6AvEeh/wdHAPnGnC+9JcYEgx
O7/q+vwhfc+jUepayGejlquop0jt1WpLWTL7s7gVm57SzUbEqX5KPRtVwcGS1jBz
I2ps9Xpt9iLXfCiGNIxtBVpa3xTq1C6iNapAo3sbC/wMwPClxiKuY0TXN4D0EMU=
=1/fI
-END PGP SIGNATURE-

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#760877: libjackson2-annotations-java: Should provide jackson-annotations-2.x.pom

2014-09-08 Thread Gilles Filippini
Control: tags -1 + patch

On Mon, 08 Sep 2014 21:22:53 +0200 Gilles Filippini p...@debian.org wrote:
 Package: libjackson2-annotations-java
 Version: 2.4.2-1
 Severity: serious
 Justification: Make other java packages FTBFS
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256
 
 Hi,
 
 libjackson2-annotations-java should still provide the pom file alias
 jackson-annotations-2.x.pom

AIUI this omission wasn't willful. It it caused by the rule in
debian/maven.rules which doesn't match correctly the maven package,
because of a package type change from 'jar' to 'bundle'.

The attached patch fixes it.

Thanks,

_g.
diff -Nru jackson-annotations-2.4.2/debian/changelog 
jackson-annotations-2.4.2/debian/changelog
--- jackson-annotations-2.4.2/debian/changelog  2014-09-06 15:47:15.0 
+0200
+++ jackson-annotations-2.4.2/debian/changelog  2014-09-08 23:15:54.0 
+0200
@@ -1,3 +1,11 @@
+jackson-annotations (2.4.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix debian/maven.{rules,publishedRules}: set type to bundle to
+properly match the target (closes: #760877).
+
+ -- Gilles Filippini p...@debian.org  Mon, 08 Sep 2014 23:15:49 +0200
+
 jackson-annotations (2.4.2-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru jackson-annotations-2.4.2/debian/maven.publishedRules 
jackson-annotations-2.4.2/debian/maven.publishedRules
--- jackson-annotations-2.4.2/debian/maven.publishedRules   2014-09-06 
10:40:27.0 +0200
+++ jackson-annotations-2.4.2/debian/maven.publishedRules   2014-09-08 
23:11:59.0 +0200
@@ -1,2 +1,2 @@
 
-com.fasterxml.jackson.core jackson-annotations jar s/2\..*/2.x/ * *
+com.fasterxml.jackson.core jackson-annotations bundle s/2\..*/2.x/ * *
diff -Nru jackson-annotations-2.4.2/debian/maven.rules 
jackson-annotations-2.4.2/debian/maven.rules
--- jackson-annotations-2.4.2/debian/maven.rules2014-09-06 
10:40:27.0 +0200
+++ jackson-annotations-2.4.2/debian/maven.rules2014-09-08 
23:11:53.0 +0200
@@ -1,2 +1,2 @@
 
-com.fasterxml.jackson.core jackson-annotations jar s/2\..*/2.x/ * *
+com.fasterxml.jackson.core jackson-annotations bundle s/2\..*/2.x/ * *


signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.