Problems with Java 5 imports

2007-08-08 Thread Insitu
Hello, While writing a plugin, I had problems with the following statements: - import static foo.bar.*; - public enum Toto { } The qdox engine choked on these. Is this a known problem ? Shall I file an issue with qdox ? maven-plugin-plugin ? both ? Regards, -- OQube software engineering \

Re: Problems with Java 5 imports

2007-08-08 Thread Eric Redmond
QDox has been fixed on this for a while, but Maven plugins use the older version (1.6) and still do not support Java 5 (unless you want to manually install the code in trunk). -- Eric Redmond http://blog.propellors.net On 8/8/07, Insitu [EMAIL PROTECTED] wrote: Hello, While writing a plugin,

Re: Problems with Java 5 imports

2007-08-08 Thread Insitu
Eric Redmond [EMAIL PROTECTED] writes: QDox has been fixed on this for a while, but Maven plugins use the older version (1.6) and still do not support Java 5 (unless you want to manually install the code in trunk). What do you mean ? Providing a patch ? -- OQube software engineering \

Re: Problems with Java 5 imports

2007-08-08 Thread Eric Redmond
No, I mean currently Maven doesn't fully support jdk1.5-based plugins - but it is available in trunk (2.1 dev) http://docs.codehaus.org/display/MAVEN/Java+5+Annotations+for+Plugins Note that this is mainly to provide Java 5 annotations, however, it also supports full jdk1.5 syntax. -- Eric