maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Reopened: (MNG-2791) Error parsing Maven 1 POM file with an extend tag
Date Mon, 18 Jun 2007 00:27:57 GMT

     [ http://jira.codehaus.org/browse/MNG-2791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brett Porter reopened MNG-2791:
-------------------------------


> Error parsing Maven 1 POM file with an extend tag
> -------------------------------------------------
>
>                 Key: MNG-2791
>                 URL: http://jira.codehaus.org/browse/MNG-2791
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Embedding
>    Affects Versions: 2.1.x
>         Environment: Maven 2 Eclipse plugin 0.0.10 (latest from SVN) using the following
jars:
>   lucene-core-2.0.0.jar
>   maven-embedder-2.1.0.v20070110-2115-dep.jar
> Eclipse 3.2 Session Data:
>   eclipse.buildId=M20060921-0945
>   java.version=1.6.0
>   java.vendor=Sun Microsystems Inc.
>   BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=es_ES
>   Command-line arguments:  -os win32 -ws win32 -arch x86 -data c:\workspace -clean
>            Reporter: Rodrigo Ruiz
>             Fix For: Reviewed Pending Version Assignment
>
>
> Trying to rebuild a project that depends on an artifact obtained from a Maven1 repository,
I get the following stacktrace:
> org.eclipse.core.runtime.CoreException: Parsing error [whatever].pom; org.codehaus.plexus.util.xml.pull.XmlPullParserException:
Unrecognised tag: 'extend' (position: START_TAG seen ...</modelVersion>\n  <extend>...
@4:11) 
> 	at org.maven.ide.eclipse.embedder.MavenModelManager.readMavenModel(MavenModelManager.java:137)
> 	at org.maven.ide.eclipse.embedder.ClassPathResolver.getJavaDocUrl(ClassPathResolver.java:241)
> 	at org.maven.ide.eclipse.embedder.ClassPathResolver.resolveClasspathEntries(ClassPathResolver.java:154)
> 	at org.maven.ide.eclipse.builder.Maven2Builder.updateClasspath(Maven2Builder.java:95)
> 	at org.maven.ide.eclipse.builder.Maven2Builder.build(Maven2Builder.java:86)
> 	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:603)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> 	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:167)
> 	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
> 	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:230)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> 	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:233)
> 	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:252)
> 	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:285)
> 	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:145)
> 	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:208)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
> org.eclipse.core.runtime.CoreException[4]: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
Unrecognised tag: 'extend' (position: START_TAG seen ...</modelVersion>\n  <extend>...
@4:11) 
> 	at org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseModel(MavenXpp3Reader.java:2405)
> 	at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:4438)
> 	at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:4449)
> 	at org.apache.maven.embedder.MavenEmbedder.readModel(MavenEmbedder.java:208)
> 	at org.maven.ide.eclipse.embedder.MavenModelManager.readMavenModel(MavenModelManager.java:133)
> 	at org.maven.ide.eclipse.embedder.ClassPathResolver.getJavaDocUrl(ClassPathResolver.java:241)
> 	at org.maven.ide.eclipse.embedder.ClassPathResolver.resolveClasspathEntries(ClassPathResolver.java:154)
> 	at org.maven.ide.eclipse.builder.Maven2Builder.updateClasspath(Maven2Builder.java:95)
> 	at org.maven.ide.eclipse.builder.Maven2Builder.build(Maven2Builder.java:86)
> 	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:603)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> 	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:167)
> 	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
> 	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:230)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> 	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:233)
> 	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:252)
> 	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:285)
> 	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:145)
> 	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:208)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

-- 
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

        

Mime
View raw message