maven compiler extra options

2016-06-20 Thread Jackie Xiao
Dear list

JDK 1.8 javac executable added -parameters options for adding parameter 
metadata in generated class files.

Since maven compiler plugin uses javax.tools.JavaCompiler, is it possible to 
pass -parameters directly to javax.tools.JavaCompiler without fork out to 
external javac?

Thanks
Best Regards

Jackie Xiao | CES-CM | eBaoTech | Cell: (+86) 136 4185 4318

This e-mail and any attachments thereto are intended for the sole use of the 
recipient(s) named above and may contain confidential and/or privileged 
material. Any use of the information contained herein (including, but not 
limited to, total or partial reproduction, communication, or dissemination in 
any form) by persons other than the intended recipient(s) is prohibited. If you 
received this in error, please contact the sender immediately and delete the 
material from any computer.


dependency exclusion with wildward does not work

2014-09-15 Thread Jackie Xiao
Dear

I just started using maven ant task, and one issue I found today was, when the 
pom contains wildward exclusion, seems the artifacts won't be excluded.

My script snippet below:

Ant:

  


Ls-jar-all.pom.xml:

  org.apache.cxf
  cxf-bundle
  2.1
  

org.apache.abdera
*


org.apache.geronimo.specs
  *
  


While changing wildcard to individual artifactIds, the exclusion works. (the 
wildward pom works when using maven)

Any suggestions, thanks

Thanks
Best Regards

Jackie Xiao | eAS-CM | eBaoTech | Cell: (+86) 136 4185 4318

This e-mail and any attachments thereto are intended for the sole use of the 
recipient(s) named above and may contain confidential and/or privileged 
material. Any use of the information contained herein (including, but not 
limited to, total or partial reproduction, communication, or dissemination in 
any form) by persons other than the intended recipient(s) is prohibited. If you 
received this in error, please contact the sender immediately and delete the 
material from any computer.