org.apache.maven.archetype.old.ArchetypeTemplateProcessingException: Error reading POM

Stack Overflow | bertie | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    first time mvn archetype:generate failed

    Stack Overflow | 6 years ago | bertie
    org.apache.maven.archetype.old.ArchetypeTemplateProcessingException: Error reading POM
  2. 0

    [jira] Created: (MNG-2791) Error parsing Maven 1 POM file with an extend tag - Rodrigo Ruiz (JIRA) - org.apache.maven.issues - MarkMail

    markmail.org | 2 years ago
    org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'extend' (position: START_TAG seen ...</modelVersion>\n <extend>... @4:11)
  3. 0

    [OSSRH-156] Please add Andromda project - Sonatype JIRA

    sonatype.org | 2 years ago
    java.lang.Exception: Unable to parse POM model from '/org/andromda/metafacades/andromda-uml-metafacades/3.2/andromda-uml-metafacades-3.2.pom'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to troubleshoot Maven-related exceptions when refreshing SBT projects in IntelliJ?

    Stack Overflow | 2 years ago | Nicolas Rouquette
    org.codehaus.plexus.util.xml.pull.XmlPullParserException: Duplicated tag: 'tag' (position: START_TAG seen ...</tag>\n <tag>... @17:14)

  1. Casper 1 times, last 2 months ago
2 unregistered visitors

Root Cause Analysis

  1. org.codehaus.plexus.util.xml.pull.XmlPullParserException

    Expected root element 'project' but found 'model' (position: START_TAG seen <model>... @1:7)

    at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read()
  2. Maven
    MavenXpp3Reader.read
    1. org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:4090)
    2. org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:4025)
    3. org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:4039)
    3 frames
  3. Maven Archetype Common
    DefaultArchetypeManager.generateProjectFromArchetype
    1. org.apache.maven.archetype.old.DefaultOldArchetype.processTemplates(DefaultOldArchetype.java:503)
    2. org.apache.maven.archetype.old.DefaultOldArchetype.createArchetype(DefaultOldArchetype.java:336)
    3. org.apache.maven.archetype.generator.DefaultArchetypeGenerator.processOldArchetype(DefaultArchetypeGenerator.java:142)
    4. org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:110)
    5. org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:149)
    6. org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:209)
    7. org.apache.maven.archetype.DefaultArchetypeManager.generateProjectFromArchetype(DefaultArchetypeManager.java:71)
    7 frames
  4. Maven Archetype Plugin
    CreateProjectFromArchetypeMojo.execute
    1. org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:190)
    1 frame
  5. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
    1 frame
  6. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
    4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    6. org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
    9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
    9 frames
  7. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:451)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:188)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:134)
    3 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  9. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
    4 frames