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

 

Please help.

 

POM:

          <plugin>

                    <groupId>org.apache.maven.plugins</groupId>

                    <artifactId>maven-compiler-plugin</artifactId>

                                <version>2.0.2</version>

                    <configuration>

                                        <compilerArguments>

                                                  <verbose />

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

                                                  <source>1.4</source>

                                                  <target>1.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]

Reply via email to