M 2.0.5 Maven Compiler Plugin 2.0.2 Problem

2008-07-30 Thread Morgovsky, Alexander (US - Glen Mills)
Even though I define my source as 1.4, I still get the following error.

 

Please help.

 

POM:

  plugin

groupIdorg.apache.maven.plugins/groupId

artifactIdmaven-compiler-plugin/artifactId

version2.0.2/version

configuration

compilerArguments

  verbose /

 
bootclasspath${env.JAVA_HOME}\jre\lib\rt.jar/bootclasspath

  source1.4/source

  target1.4/target

/compilerArguments

  /configuration

/plugin

ERROR:

Embedded error: Error rendering Maven report: Exit code: 1 -
E:\development\workspace\ci-2\ecm\deloitte-maven-ecm\..\deloitte-p

word, and may not be used as an identifier

(try -source 1.4 or lower to use 'enum' as an identifier)

oper.setStyle(org.apache.axis.enum.Style.WRAPPED);

  ^ 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Re: M 2.0.5 Maven Compiler Plugin 2.0.2 Problem

2008-07-30 Thread supareno

please check out this:
http://maven.apache.org/plugins/maven-compiler-plugin/

everything is in :-)

Even though I define my source as 1.4, I still get the following error.

 


Please help.

 


POM:

  plugin

groupIdorg.apache.maven.plugins/groupId

artifactIdmaven-compiler-plugin/artifactId

version2.0.2/version

configuration

compilerArguments

  verbose /

 
bootclasspath${env.JAVA_HOME}\jre\lib\rt.jar/bootclasspath


  source1.4/source

  target1.4/target

/compilerArguments

  /configuration

/plugin

ERROR:

Embedded error: Error rendering Maven report: Exit code: 1 -
E:\development\workspace\ci-2\ecm\deloitte-maven-ecm\..\deloitte-p

word, and may not be used as an identifier

(try -source 1.4 or lower to use 'enum' as an identifier)

oper.setStyle(org.apache.axis.enum.Style.WRAPPED);

  ^ 



This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law.  If you are not the intended recipient, you should delete this message. 



Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]

  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: M 2.0.5 Maven Compiler Plugin 2.0.2 Problem

2008-07-30 Thread Morgovsky, Alexander (US - Glen Mills)
Cool, thanks. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]