Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
4.0.0-beta-3
-
None
-
None
Description
This is error I get with POM that Maven 3.9.x builds ok:
[ERROR] Some problems were encountered while processing the POMs [ERROR] The build could not read 1 project -> [Help 1] org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs at org.apache.maven.project.DefaultProjectBuilder$BuildSession.build(DefaultProjectBuilder.java:499) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:235) at org.apache.maven.project.collector.DefaultProjectsSelector.selectProjects(DefaultProjectsSelector.java:61) at org.apache.maven.project.collector.RequestPomCollectionStrategy.collectProjects(RequestPomCollectionStrategy.java:49) at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:362) at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:100) at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:629) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:250) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:225) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:149) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:958) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:205) at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.lang.reflect.Method.invoke(Method.java:580) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:255) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:201) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:361) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:314) [ERROR] [ERROR] The project (/home/cstamas/tmp/MNG-8188/pom.xml) has 1 error [ERROR] Non-parseable POM /home/cstamas/tmp/MNG-8188/pom.xml: Unable to read model: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs. [ERROR] at [row,col,system-id]: [2,5,"file:///home/cstamas/tmp/MNG-8188/pom.xml"] org.apache.maven.api.services.xml.XmlReaderException: Unable to read model: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs. at [row,col,system-id]: [2,5,"file:///home/cstamas/tmp/MNG-8188/pom.xml"] at org.apache.maven.internal.impl.DefaultModelXmlFactory.read(DefaultModelXmlFactory.java:81) at org.apache.maven.internal.impl.DefaultModelXmlFactory.read(DefaultModelXmlFactory.java:46) at org.apache.maven.internal.impl.model.DefaultModelProcessor.doRead(DefaultModelProcessor.java:140) at org.apache.maven.internal.impl.model.DefaultModelProcessor.read(DefaultModelProcessor.java:115) at org.apache.maven.internal.impl.model.DefaultModelBuilder.doReadFileModel(DefaultModelBuilder.java:644) at org.apache.maven.internal.impl.model.DefaultModelBuilder.lambda$readFileModel$2(DefaultModelBuilder.java:623) at org.apache.maven.internal.impl.model.DefaultModelBuilder.lambda$asSupplier$10(DefaultModelBuilder.java:1394) at org.apache.maven.internal.impl.resolver.DefaultModelCache$CachingSupplier.get(DefaultModelCache.java:194) at org.apache.maven.internal.impl.resolver.DefaultModelCache.computeIfAbsent(DefaultModelCache.java:81) at org.apache.maven.internal.impl.resolver.DefaultModelCache.computeIfAbsent(DefaultModelCache.java:77) at org.apache.maven.internal.impl.model.DefaultModelBuilder.cache(DefaultModelBuilder.java:1387) at org.apache.maven.internal.impl.model.DefaultModelBuilder.readFileModel(DefaultModelBuilder.java:623) at org.apache.maven.internal.impl.model.DefaultModelBuilder.build(DefaultModelBuilder.java:208) at org.apache.maven.internal.impl.model.DefaultModelBuilder.build(DefaultModelBuilder.java:179) at org.apache.maven.project.DefaultProjectBuilder$BuildSession.build(DefaultProjectBuilder.java:585) at org.apache.maven.project.DefaultProjectBuilder$BuildSession.lambda$build$4(DefaultProjectBuilder.java:538) at java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.lang.Thread.run(Thread.java:1583) Caused by: com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs. at [row,col,system-id]: [2,5,"file:///home/cstamas/tmp/MNG-8188/pom.xml"] at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:634) at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:504) at com.ctc.wstx.sr.BasicStreamReader.readPIPrimary(BasicStreamReader.java:4020) at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2156) at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1180) at org.apache.maven.model.v4.MavenStaxReader.read(MavenStaxReader.java:458) at org.apache.maven.model.v4.MavenStaxReader.read(MavenStaxReader.java:431) at org.apache.maven.internal.impl.DefaultModelXmlFactory.read(DefaultModelXmlFactory.java:68) at org.apache.maven.internal.impl.DefaultModelXmlFactory.read(DefaultModelXmlFactory.java:46) at org.apache.maven.internal.impl.model.DefaultModelProcessor.doRead(DefaultModelProcessor.java:140) at org.apache.maven.internal.impl.model.DefaultModelProcessor.read(DefaultModelProcessor.java:115) at org.apache.maven.internal.impl.model.DefaultModelBuilder.doReadFileModel(DefaultModelBuilder.java:644) at org.apache.maven.internal.impl.model.DefaultModelBuilder.lambda$readFileModel$2(DefaultModelBuilder.java:623) at org.apache.maven.internal.impl.model.DefaultModelBuilder.lambda$asSupplier$10(DefaultModelBuilder.java:1394) at org.apache.maven.internal.impl.resolver.DefaultModelCache$CachingSupplier.get(DefaultModelCache.java:194) at org.apache.maven.internal.impl.resolver.DefaultModelCache.computeIfAbsent(DefaultModelCache.java:81) at org.apache.maven.internal.impl.resolver.DefaultModelCache.computeIfAbsent(DefaultModelCache.java:77) at org.apache.maven.internal.impl.model.DefaultModelBuilder.cache(DefaultModelBuilder.java:1387) at org.apache.maven.internal.impl.model.DefaultModelBuilder.readFileModel(DefaultModelBuilder.java:623) at org.apache.maven.internal.impl.model.DefaultModelBuilder.build(DefaultModelBuilder.java:208) at org.apache.maven.internal.impl.model.DefaultModelBuilder.build(DefaultModelBuilder.java:179) at org.apache.maven.project.DefaultProjectBuilder$BuildSession.build(DefaultProjectBuilder.java:585) at org.apache.maven.project.DefaultProjectBuilder$BuildSession.lambda$build$4(DefaultProjectBuilder.java:538) at java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.lang.Thread.run(Thread.java:1583)