You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hanson Char (JIRA)" <ji...@codehaus.org> on 2006/04/30 08:13:19 UTC
[jira] Created: (MNG-2257) Failed to parse pom.xml when set to 1.5
source and target
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
[jira] Commented: (MNG-2257) Failed to parse pom.xml when set to
1.5 source and target
Posted by "Wayne Fay (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2257?page=comments#action_64420 ]
Wayne Fay commented on MNG-2257:
--------------------------------
This is just a bad pom. You're missing a <plugin> node inside the <plugins> node to contain the artifactId, configuration, etc nodes.
> 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
[jira] Closed: (MNG-2257) Failed to parse pom.xml when set to 1.5
source and target
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2257?page=all ]
Brett Porter closed MNG-2257:
-----------------------------
Assign To: Brett Porter
Resolution: Won't Fix
> 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
> Assignee: Brett Porter
> 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
[jira] Commented: (MNG-2257) Failed to parse pom.xml when set to
1.5 source and target
Posted by "Hanson Char (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2257?page=comments#action_64418 ]
Hanson Char commented on MNG-2257:
----------------------------------
The mvn.log was generated when I typed:
mvn compile | tee mvn.log
> 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
[jira] Commented: (MNG-2257) Failed to parse pom.xml when set to
1.5 source and target
Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
[ 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