Bug#833641: libcodenarc-groovy-java: POM specifies dependancy on 'debian' version of junit rather than '4.x'

Christopher Hoskin christopher.hoskin at gmail.com
Sun Aug 7 12:13:11 UTC 2016


Package: libcodenarc-groovy-java
Version: 0.23-2
Severity: normal

Dear Maintainer,

The CodeNarc POM

/usr/share/maven-repo/org/codenarc/CodeNarc/0.23/CodeNarc-0.23.pom

specifies the dependancy:

                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <version>debian</version>
                </dependency>

which does not exist. Instead this should read:

		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.x</version>
		</dependency>

This appears to be a result of the wrong version of junit being specified in the debian/maven.rules file i.e.

junit junit jar s/3\..*/3.x/ * *

should be

junit junit jar s/4\..*/4.x/ * *

A consequence of this problem is that packages built with gradle-debian-helper which depend on CodeNarc fail to build with a "Could not resolve junit:junit:debian" error.

Thanks.

Christopher Hoskin


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libcodenarc-groovy-java depends on:
ii  ant                      1.9.7-3
ii  groovy                   2.4.7-1
ii  libgmetrics-groovy-java  0.7-4
ii  liblog4j1.2-java         1.2.17-7

libcodenarc-groovy-java recommends no packages.

Versions of packages libcodenarc-groovy-java suggests:
pn  libcodenarc-groovy-java-doc  <none>

-- no debconf information



More information about the pkg-java-maintainers mailing list