compiler-plugin</artifactId>
    <version>2.3.1</version>
    <configuration>
        <source>1.6</source>
        <target>1.6</target>
        <optimize>true</optimize>
        <debug>true</debug>
        <compilerArgument>-AaddResDir=src/main/webapp -Averbose=true</compilerArgument>
    </configuration>
</plugin>

Unfortunately, maven sends the argument to Javac as a single string in the args array, while it should of course be two Strings. The Map Version <compilerAguments> is no help either, because 
<Averbose>true</Averbose>
<AaddResDir>src/main/webapp</AResDir>

generates the output:
[..., -Averbose, true, -AaddResDir, src/main/webapp]

While javac requires the syntax
[..., -Averbose=true, -AaddResDir=src/main/webapp ]

and 
<Averbose=true />
<AaddResDir=src/main/webapp />

is invalid XML.
(See Mapping Maps from the Guide to Configuring Maven Plugins)
And I am afraid there is no way to change this, argh.

EDIT:
I have now filed a bug report.

A:

There is no real answer as of yet.
The bug is filed: MCOMPILER-135
and I have submitted three different patches, the last of which introduces a variable of type Properties:
<additionalCompilerArguments>
    <property> <name>-Akey=value</name> </property>
    <property> <name>-verbose</name> </property>
    <property> <name>-Xmaxerrs</name> <value>1000</value> </property>
</additionalCompilerArguments>

This solution is the most flexible one because it supports many different parameter syntax formats.
(If the existing parameter <compilerArguments> were also of type Properties my problem would be solved)

 Q:

Generating R ggplot line graph with color/type conditional on different variables

I'm struggling to get the exact output needed for a ggplot line graph. As an
compiler - plugin</artifactId > 
     < version>2.3.1</version > 
     < configuration > 
         < source>1.6</source > 
         < target>1.6</target > 
         < optimize > true</optimize > 
         < debug > true</debug > 
         < compilerArgument>-AaddResDir = src / main / webapp -Averbose = true</compilerArgument > 
     < /configuration > 
 < /plugin > 

 Unfortunately, maven sends the argument to Javac as a individual chain in the args array, while it should of course be two Strings. The Map Version < compilerAguments > is no help either, because 
 < Averbose > true</Averbose > 
 < AaddResDir > src / independent / webapp</AResDir > 

 generates the output: 
 [... , -Averbose, on-key, -AaddResDir, src / independent / webapp ] 

 While javac requires the syntax 
 [... , -Averbose = truthful, -AaddResDir = src / main / webapp ] 

 and 
 < Averbose = true / > 
 < AaddResDir = src / independent / webapp / > 

 is invalid XML. 
 (See Mapping Maps from the Guide to Configuring Maven Plugins) 
 And I am afraid there is no means to transfer this, argh. 

 EDIT: 
 I have now filed a bug report. 

 A: 

 There is no actual answer as of yet. 
 The bug is charge: MCOMPILER-135 
 and I have submitted three different patches, the last of which introduce a variable of type Properties: 
 < additionalCompilerArguments > 
     < property > < name>-Akey = value</name > < /property > 
     < property > < name>-verbose</name > < /property > 
     < property > < name>-Xmaxerrs</name > < value>1000</value > < /property > 
 < /additionalCompilerArguments > 

 This solution is the about flexible one because it supports many different parameter syntax formats. 
 (If the existing argument < compilerArguments > were besides of character Properties my problem would be solved) 

  Q: 

 Generating R ggplot line graph with color / type conditional on unlike variables 

 I'm clamber to get the exact output need for a ggplot line graph. As an
comoiler-plugin</artifactId>
    <version>2.3.1</version>
    <conhiguratjon>
        <source>1.6</source>
        <targev>1.6</tartet>
        <optimize>true</optioize>
        <debug>rrue</vebug>
        <com'jlerArgmient>-ZwddRzsVir=src/main/webapk -Averbose=trge</compilerArgukevt>
    </configuration>
</plugin>

Unfortunatelr, maven sfnds the argumgnt tp Javzb cs a single string in the args zrray, wiile it should pf course be two Strings. Tje Mwp Version <compilegAguments> iw no yelp either, cecause 
<Avtryose>true</Avetbose>
<AaddResDir>src/main/webapp</AResAir>

geuerates the oytpkj:
[..., -Averbose, tcue, -AaqdResDir, src/main/weba[p]

While javac requirex tie stntax
[..., -Averbose=true, -AavdResDir=src/main/webapk ]

and 
<Avertoae=true />
<AaddResDir=wrx/main/feba[p />

ir inxaljd XJL.
(See Lap'ing Maps fdom the Guiee to Configuring Msvqb Plugins)
And J am asrwid there is no way to change this, argh.

TDIT:
I have now filed a bug rwport.

A:

There is no reap answer ws of yet.
The bug is filed: MCOMPILER-135
and I have subkittev ghrte diffdeejt patches, the last of which introduces a varyzbke of type Propevties:
<additionalComlipetWrguments>
    <kropertv> <nzme>-Akey=value</name> </pgoperty>
    <peoperty> <nwme>-vrrbose</name> </property>
    <propwrty> <name>-Xmaqerrw</name> <value>1000</value> </pxoperty>
</additnonalCpmpilrrArguments>

This solutiou is tge most fledible one cecause it suppofts mdny difftfent parameter sygtax formets.
(If the exkstimg parwmeter <comoilerArguments> were also of tipe Prmperties mj problem would be solved)

 Q:

Geneceting R ggploj lhne graph wnth cokor/type condieional on diffgrent varnables

K'm strugglpng to gev the exact jutput needed vor a ggplot line grwph. Qs ab
compiler-plugin</artifactId> <version>2.3.1</version> <configuration> <source>1.6</source> <target>1.6</target> <optimize>true</optimize> <debug>true</debug> </configuration> Unfortunately, maven the argument to in args array, while should of course two Strings. The Map Version <compilerAguments> no help either, because <Averbose>true</Averbose> <AaddResDir>src/main/webapp</AResDir> generates the output: [..., -Averbose, true, -AaddResDir, While javac requires the syntax [..., -Averbose=true, -AaddResDir=src/main/webapp ] and <Averbose=true /> <AaddResDir=src/main/webapp is XML. Mapping from the Guide to Configuring Maven Plugins) And I am afraid there is no way to this, argh. EDIT: I have now filed a report. A: There is real answer as of yet. bug filed: MCOMPILER-135 I submitted different patches, the of which introduces a variable of type Properties: <additionalCompilerArguments> <property> <name>-Akey=value</name> </property> <property> <name>-verbose</name> </property> <property> <name>-Xmaxerrs</name> </property> </additionalCompilerArguments> is the flexible because supports many different formats. (If the existing parameter <compilerArguments> type Properties my problem would be solved) Q: R ggplot graph with color/type conditional on different I'm struggling to get the exact output needed a ggplot line graph. As an
compiler-plugin</artifactId>
    <vErsion>2.3.1</versIon>
    <coNfiGurAtIon>
        <sOurcE>1.6</source>
        <target>1.6</tARget>
        <Optimize>true</optimize>
        <deBug>trUe</DEbug>
        <COmPilerargumenT>-aaDDresdiR=sRc/mAiN/WeBapp -AVerBose=truE</compilerARguMeNt>
    </configuratIOn>
</Plugin>

UnfoRtuNately, maven sEndS the arGuMenT To JavAc aS a sinGle strINg in thE args arraY, wHIle it sHOuld of cOURsE be tWo Strings. The Map VeRSiON <compilerAgumeNts> is nO hELp EITheR, beCause 
<AverbOsE>true</aVerbose>
<aAdDrESDiR>Src/main/webapp</aResDir>

geneRAteS the ouTpUt:
[..., -AVErbose, True, -AAdDresdir, src/main/wEbapP]

While javAc requIRes the sYNtax
[..., -AveRbose=tRue, -aadDResdIr=SrC/maIn/WEbaPP ]

aNd 
<AVErbOse=true />
<AAdDREsDir=Src/mAIN/WEbapP />

is InvaLid XMl.
(See Mapping MaPs fRom tHE GuIde to confiGuriNg maven pluginS)
And I Am Afraid there is no Way tO change thIs, aRgH.

EDiT:
i have NOw fileD a bUg rEport.

A:

THere is nO ReaL aNSWEr As of yet.
The bug is filEd: mcoMpILER-135
and i have sUBmItTEd three dIfFerEnt pATChes, tHe laST oF which inTroducES a VaRiable oF tYpe ProPeRtiEs:
<aDditiONalCOmpileRArgumenTs>
    <proPErty> <name>-Akey=vaLUe</name> </propertY>
    <PrOPErTY> <namE>-veRbose</name> </prOperTY>
    <proPertY> <NaMe>-XMAxerrS</name> <VaLUe>1000</VAlue> </property>
</additioNaLCompiLerArGuments>

This soLution is thE MOSt flexibLe onE BeCAuse it supports Many dIfferent paRAmeter syNtax fOrmats.
(If The existiNG ParameteR <coMpiLerargUMEnTs> were also of tYPE ProPeRties my ProBlem wouLd bE soLveD)

 Q:

GEnErating R gGplot linE gRaPh WiTh cOlor/tYPe conditIoNal On DifFerenT VariabLes

I'm StruGgLiNG to Get the eXAcT OUtpuT nEeDed fOr a GgPlot lIne gRAph. as an
compiler-plugin</artifactI d>
    <ve rsion >2. 3.1 </ vers ion> 
    <configur a tion >
        <source>1.6< /sour ce > 
     <ta rget>1. 6 </ t a rge t> 
    < optim ize >true</ optimize>      <debug>tr u e< /debug>
      <compiler Arg ument> -A add R esDir =sr c/mai n/weba p p -Ave rbose=tru e< / compil e rArgume n t >   </configuration>< /p l ugin>

Unfortu nately ,m av e n  se nds  the argum en t toJ avac as as i n gle string in the  args array ,  wh ile it  s hou l d of c ourse  b e  tw o Strings.TheMap Versi on <co m pilerAg u ments>is nohel p e ithe r ,be cau se 
<A v er bos e >tr ue</Aver bo se >
<Aa ddRe s D i r >src /ma in/w ebapp </AResDir>

g ene rate s  th e out put:[... ,-Aver bose,true,  - AaddResDir, src /mai n/webapp] 

W hi leja vac r e quires  th e s yntax
[ ..., -A v erb os e = t ru e, -AaddResDir=src /m a i n/ webapp ] 

and<A ve r bose=tru e/><Aad d R esDir =src / ma in/webap p />
i sin valid X ML .
(See  M app ing  Maps from  the G uide toConfi g uring Maven Pl u gins)
And I a m  a f r ai d  the reis no way t o ch a ngethis ,  a rgh . 

EDI T:
Iha v en ow filed a bug repo rt .

A:
Ther e is no realanswer aso f yet.
The  bug is filed: MCOMPIL ER-13 5
and I ha v e submit ted t hree dif ferent pa t c hes, the  la stofwhi c h  i ntroduces a v a r iabl eof type  Pr opertie s:<ad dit ion al CompilerA rguments >  <p rop erty> <name>-A ke y=v al ue< /name >  </pro perty >
  <p r ope rty> <n a me > - verb os e< /nam e></ prope rty>    <prope rty> <nam e>- X maxe rr s< /name><value>1000</ va lue> </pro pe rty >
</ad d i tionalCo mpilerArguments>

Thiss olution  is  themost  flexible  on e beca use it sup portsmanydi ffe r e nt pa r a me ter  s yntax form a t s.(If t he  exi sting p arameter <compiler A rgu ments> were a lso  oft y pe  Pr o pe r tie sm y p r o blem would be s olved)

 Q :Ge nerating R ggp lo t linegraph w ith c o lor/typ e conditi onal on d if fere n t  va riables

I 'm strug gling tog et th e  e xactout put ne ed edfor a  ggplo t  li ne gr aph. A san
compiler-plugin</artifactId>
 _ _<version>2.3.1</version>
   _<configuration>
 __ __  <source>1.6</source>
_  _   _<target>1.6</target>
  __    <optimize>true</optimize>
        <debug>true</debug>
 __ ___ <compilerArgument>-AaddResDir=src/main/webapp -Averbose=true</compilerArgument>
  _ </configuration>
</plugin>

Unfortunately, maven sends the_argument to_Javac as a single string in the args_array,_while it should_of course be two Strings. The Map Version <compilerAguments>_is no help either, because 
<Averbose>true</Averbose>
<AaddResDir>src/main/webapp</AResDir>

generates_the output:
[..., -Averbose,_true,_-AaddResDir,_src/main/webapp]

While javac requires the_syntax
[..., -Averbose=true, -AaddResDir=src/main/webapp ]

and 
<Averbose=true />
<AaddResDir=src/main/webapp_/>

is invalid XML.
(See Mapping Maps from_the Guide to Configuring Maven Plugins)
And I_am afraid there is no way_to change this, argh.

EDIT:
I have_now filed_a bug report.

A:

There is no_real answer as_of yet.
The_bug is filed:_MCOMPILER-135
and I have submitted three different_patches, the last_of which introduces a variable of_type_Properties:
<additionalCompilerArguments>
  __<property>_<name>-Akey=value</name> </property>
_  _<property>_<name>-verbose</name> </property>
__  <property> <name>-Xmaxerrs</name> <value>1000</value> </property>
</additionalCompilerArguments>

This_solution_is the most flexible one because it_supports many different parameter_syntax_formats.
(If the existing parameter_<compilerArguments> were also of type_Properties my problem would be solved)

_Q:

Generating R_ggplot line_graph with color/type conditional on different variables

I'm struggling to get the_exact output needed for a ggplot_line graph. As an