You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jsievers <gi...@git.apache.org> on 2013/02/08 17:58:28 UTC
maven-plugins pull request: [MCOMPILER-178] add List parameter compilerArgs
GitHub user jsievers opened a pull request:
https://github.com/apache/maven-plugins/pull/4
[MCOMPILER-178] add List parameter compilerArgs
Add List parameter compilerArgs which only uses
values of configuration XML elements.
Deprecate Map parameter compilerArguments because
1. it adds "-" in front of the key and "=" between key and value
which is an implicit assumption on argument syntax that
is generally is not desired
2. ultimately since the XML element name is used as key,
certain characters not allowed in XML element can't be used
and there is no way to escape these characters in XML
The new parameter allows to escape unallowed XML
characters
e.g. using <![CDATA[my special weird non-XML valid
argument]]>
since only the text body of the XML element is used as
argument to pass to the compiler.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jsievers/maven-plugins trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/maven-plugins/pull/4.patch
----
commit d7d8b02f52d8c069c584948f9b6404755f64f92a
Author: Jan Sievers <ja...@sap.com>
Date: 2013-02-08T16:36:17Z
[MCOMPILER-178] add List parameter compilerArgs
Add List parameter compilerArgs which only uses
values of configuration XML elements.
Deprecate Map parameter compilerArguments because
1. it adds "-" in front of the key and "=" between key and value
which is an implicit assumption on argument syntax that
is generally is not desired
2. ultimately since the XML element name is used as key,
certain characters not allowed in XML element can't be used
and there is no way to escape these characters in XML
The new parameter allows to escape unallowed XML
characters
e.g. using <![CDATA[my special weird non-XML valid
argument]]>
since only the text body of the XML element is used as
argument to pass to the compiler.
----
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org