Bug#712100: maven compiler plugin default source version

Yohann Martineau yohann.martineau at gmail.com
Wed Jun 12 23:00:01 UTC 2013

Package: maven
Version: 3.0.4-3
Severity: normal


On a fresh debian-wheezy install, I installed default openjdk and maven
packages from standard debian repository and tried to build an already
existing maven java project. This project uses java annotations.

I got the following error:

  maven debian generics are not supported in -source 1.3

As debian maven version is maven-3.0.4-3, I thought default source version
would be at least java 1.5.

I removed debian maven package and installed apache-maven-3.0.5 from
apache.org, and had no issue, project built as expected. I kept the default
debian java package.

I did not wrote a tiny java project using annotations as a demo for this
issue but it should be the same on any project using annotations.

Please let me know if you need more details.




-- System Information:
Debian Release: 7.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages maven depends on:
ii  default-jre [java5-runtime]                      1:1.6-47
ii  default-jre-headless [java5-runtime-headless]    1:1.6-47
ii  libaether-java                                   1.13.1-2
ii  libcommons-cli-java                              1.2-3
ii  libcommons-codec-java                            1.6-1
ii  libcommons-httpclient-java                       3.1-10.2
ii  libcommons-logging-java                          1.1.1-9
ii  libguava-java                                    11.0.2-1
ii  libplexus-cipher-java                            1.5-4
ii  libplexus-classworlds2-java                      2.4-1
ii  libplexus-containers1.5-java                     1.5.5-2
ii  libplexus-interpolation-java                     1.11-3
ii  libplexus-sec-dispatcher-java                    1.3.1-6
ii  libplexus-utils2-java                            2.0.5-1
ii  libsisu-guice-java                               3.1.1-1
ii  libsisu-ioc-java                                 2.3.0-3
ii  libwagon2-java                                   2.2-3+nmu1
ii  openjdk-6-jre [java5-runtime]                    6b27-1.12.5-1
ii  openjdk-6-jre-headless [java5-runtime-headless]  6b27-1.12.5-1

maven recommends no packages.

maven suggests no packages.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20130613/18ea87bc/attachment.html>

More information about the pkg-java-maintainers mailing list