[ http://jira.codehaus.org/browse/MNG-2257?page=comments#action_64421 ] 

Wendy Smoak commented on MNG-2257:
----------------------------------

This probably would have been better directed to the user list than the issue 
tracker.

The reason for the failure is that the <plugin> (singular) element for 
maven-compiler-plugin is missing.
You have:      <build>/<plugins>/<groupId>
It should be: <build>/<plugins>/<plugin>/<groupId>

It's interesting that the error message mentions <configuration>/<source> 
rather than the real cause of the problem.

> Failed to parse pom.xml when set to 1.5 source and target
> ---------------------------------------------------------
>
>          Key: MNG-2257
>          URL: http://jira.codehaus.org/browse/MNG-2257
>      Project: Maven 2
>         Type: Bug

>   Components: POM
>     Versions: 2.0.4
>  Environment: java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
> Cygwin on Windows XP
>     Reporter: Hanson Char
>  Attachments: mvn.log, pom.xml
>
>
> mvn failed to parse a simple pom which is set to use jdk 1.5 source and target

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to