[fedora-java] Why doesn't mvn-build accept -D options?
Orion Poplawski
orion at cora.nwra.com
Mon Jul 15 14:11:40 UTC 2013
On 07/15/2013 12:44 AM, Mikolaj Izdebski wrote:
> On 07/15/2013 04:55 AM, Orion Poplawski wrote:
>> Why doesn't mvn-build accept -D options?
>>
>
> System properties are opaque to mvn-build and that's why -D is not
> recognized -- it's specific to Maven.
>
> You can still pass it to Maven as mvn-build passes all non-option
> arguments to Maven:
>
> mvn-build -- -Dkey=value
>
Thanks. Could this be added to the packaging guidelines?
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion at cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
More information about the java-devel
mailing list