org.apache.maven.mercury.repository.metadata.MetadataException

org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'snapshotVersions' (position: START_TAG seen ...</lastUpdated>\n <snapshotVersions>... @12:23)

Solutions on the web2

  • via Sonatype JIRA by Sven Panko, 1 year ago
    org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'snapshotVersions' (position: START_TAG seen ...</lastUpdated>\n <snapshotVersions>... @12:23)
  • via Sonatype JIRA by Sven Panko, 1 year ago
    org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'snapshotVersions' (position: START_TAG seen ...</lastUpdated>\n <snapshotVersions>... @12:23)
  • Stack trace

    • org.apache.maven.mercury.repository.metadata.MetadataException: org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'snapshotVersions' (position: START_TAG seen ...</lastUpdated>\n <snapshotVersions>... @12:23) at org.apache.maven.mercury.repository.metadata.MetadataBuilder.read(MetadataBuilder.java:61) at org.sonatype.nexus.proxy.maven.metadata.AbstractMetadataProcessor.readMetadata(AbstractMetadataProcessor.java:78) at org.sonatype.nexus.proxy.maven.metadata.AbstractMetadataProcessor.process(AbstractMetadataProcessor.java:39) at org.sonatype.nexus.proxy.maven.metadata.AbstractMetadataHelper.onDirExit(AbstractMetadataHelper.java:90) at org.sonatype.nexus.proxy.maven.RecreateMavenMetadataWalkerProcessor.onCollectionExit(RecreateMavenMetadataWalkerProcessor.java:100) at org.sonatype.nexus.proxy.walker.DefaultWalker.onCollectionExit(DefaultWalker.java:340) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:257) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:244) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:244) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:244) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:244) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:244) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:244) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:244) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:110) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRecreateMavenMetadata(AbstractMavenRepository.java:212) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.recreateMavenMetadata(AbstractMavenRepository.java:199) at org.sonatype.nexus.proxy.maven.AbstractMavenGroupRepository.recreateMavenMetadata(AbstractMavenGroupRepository.java:98) at org.sonatype.nexus.maven.tasks.RebuildMavenMetadataTask.doRun(RebuildMavenMetadataTask.java:57) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:192) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'snapshotVersions' (position: START_TAG seen ...</lastUpdated>\n <snapshotVersions>... @12:23) at org.apache.maven.mercury.repository.metadata.io.xpp3.MetadataXpp3Reader.parseVersioning(MetadataXpp3Reader.java:654) at org.apache.maven.mercury.repository.metadata.io.xpp3.MetadataXpp3Reader.parseMetadata(MetadataXpp3Reader.java:473) at org.apache.maven.mercury.repository.metadata.io.xpp3.MetadataXpp3Reader.read(MetadataXpp3Reader.java:950) at org.apache.maven.mercury.repository.metadata.io.xpp3.MetadataXpp3Reader.read(MetadataXpp3Reader.java:964) at org.apache.maven.mercury.repository.metadata.io.xpp3.MetadataXpp3Reader.read(MetadataXpp3Reader.java:997) at org.apache.maven.mercury.repository.metadata.MetadataBuilder.read(MetadataBuilder.java:57) ... 27 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.