Bug#618263: Please provide 1.2.x symlink for log4j artifact in maven repository

Ludovic Claude ludovic.claude at laposte.net
Sun Mar 13 22:08:32 UTC 2011


X-TagToolbar-Keys: D20110313230832670
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hello Miguel,

Log4j has got already all Maven information required in the
/usr/share/maven-repo repository. You need to adapt the version of log4j
in your project to match what's in the Debian repo, like this:

maven.rules:
log4j log4j jar s/1\.2\..*/1.2.x/

I would recommand you to use mh_make (from maven-debian-helper) to build
your package when working on a Maven project, you simply need to run
this tool on the sources containing a pom.xml file and follow the
instructions from the tool. It's not perfect yet, but it should give you
a good start in many cases, otherwise let me know what's wrong.

Ludovic

On 13/03/11 20:59, Miguel Landaeta wrote:
> 
> Package: liblog4j1.2-java
> Version: 1.2.16-1
> Severity: important
> 
> As title says. Currently I can't build libhibernate3-java
> 3.6.1.Final on experimental distribution because it can't
> find log4j:log4j:jar:1.2.x.
> 
> This artifact is available in the version on unstable.
> 
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.37-1-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> liblog4j1.2-java depends on no packages.
> 
> Versions of packages liblog4j1.2-java suggests:
> ii  liblog4j1.2-java-gcj          1.2.16-1   Logging library for java (native c
> ii  libgnumail-java               1.1.2-5    free implementation of the javamai
> pn  libjboss-jmx-java             <none>     (no description available)
> pn  liblog4j1.2-java-doc          <none>     Documentation for liblog4j1.2-java
> 
> -- no debconf information
> 






More information about the pkg-java-maintainers mailing list