Bug#466860: maven2: -D option on command line masks following goal definitions

Christian Kölle christian.koelle at switch.ch
Thu Feb 21 14:20:56 UTC 2008


Package: maven2
Version: 2.0.8-4
Severity: important

When calling maven from the command line with at least one -D option and
the goal definition following the -D option the build fails, i.e. a command line
like:

mvn -Dsome.option=0 install

will produce the following error:

You must specify at least one goal. Try 'mvn install' to build or 'mvn -?' for options
See http://maven.apache.org for more information.

This problem is debian specific. Tests on other platforms don't show this behaviour.

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

Kernel: Linux 2.6.24-1-686 (SMP w/4 CPU cores)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages maven2 depends on:
ii  libcommons-cli-java      1.1-1           API for working with the command l
ii  libdoxia-java            1.0-alpha-7-1   a powerful content generation fram
ii  libjsch-java             0.1.37-2        java secure channel
ii  libjtidy-java            7+svn20070309-1 a Java port of HTML Tidy, a HTML s
ii  libplexus-interactivity- 1.0-alpha-6-2   interactivity API for the Plexus f
ii  libplexus-utils-java     1:1.4.8-1       utilities for the Plexus framework
ii  libwagon-java            1.0-beta-2-2    tools to manage Maven artifacts an
ii  libxalan2-java           2.7.1-1         XSL Transformations (XSLT) process

maven2 recommends no packages.

-- no debconf information





More information about the pkg-java-maintainers mailing list