To be clear, in XML, comments are permitted in the XML Prolog (Production
22 in the XML spec) and the doctypedecl (Production 28), but I think the
POM parser barfs on them.
On 11/10/23 12:24, Murray Altheim wrote:
Hi Arturo,
Does there happen to be an XML comment between the <?xml> declaration
and the <project> start tag? That's what the error message suggests.
Cheers,
Murray
On 11/10/23 05:44, arturobernalg (via GitHub) wrote:
arturobernalg commented on PR #312:
URL: https://github.com/apache/jspwiki/pull/312#issuecomment-1755833207
@juanpablo-santos
I'm encountering the following error while when the CI is running:
```[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy) on project jspwiki-wikipages-en: Failed to update metadata
org.apache.jspwiki.wikipages:jspwiki-wikipages-en/maven-metadata.xml: Could not parse metadata /home/jenkins/.m2/repository/org/apache/jspwiki/wikipages/jspwiki-wikipages-en/maven-metadata-apache.snapshots.https.xml: in epilog non
whitespace content is not allowed but got t (position: END_TAG seen ...</metadata>\nt... @12:2) -> [Help 1]
```
This isn't the first time I've encountered this issue; I faced the same error in
another PR as well. Do you have any insights into what might be causing it?"
...........................................................................
Murray Altheim <murray18 at altheim dot com> = = ===
http://www.altheim.com/murray/ === ===
= = ===
In the evening
The rice leaves in the garden
Rustle in the autumn wind
That blows through my reed hut.
-- Minamoto no Tsunenobu