[jira] [Commented] (GERONIMO-6590) pom.xml contains illegal character / invalid

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (GERONIMO-6590) pom.xml contains illegal character / invalid

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/GERONIMO-6590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16511342#comment-16511342 ]

Mark Trimmer commented on GERONIMO-6590:

FYI you can fix this error in Artifactory by selecting `Suppress POM Consistency Checks` on the remote repository configuration.

> pom.xml contains illegal character / invalid
> --------------------------------------------
>                 Key: GERONIMO-6590
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6590
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues)
>          Components: ActiveMQ
>         Environment: Maven, JAVA 1.8, Artifactory
>            Reporter: Jakob Berlin
>            Priority: Blocker
>              Labels: Artifactory, Maven, pom.xml
>   Original Estimate: 1h
>  Remaining Estimate: 1h
> We use Artifactory to cache and summarize remote repositories in our company. We use org.apache.activemq which has a dependency to org.apache.geronimo.specs:specs:pom:1.1. This can't be imported to Artifactory (which results in build failure) due a mailformed pom.xml.
> {noformat}
> 2017-09-20 16:01:19,839 [http-nio-8081-exec-17] [ERROR] (o.a.r.d.DbStoringRepoMixin:258) - IO error while trying to save resource maven_local-releases-external:org/apache/geronimo/specs/specs/1.1/specs-1.1.pom'': org.artifactory.api.repo.exception.maven.BadPomException: Failed to read POM for 'org/apache/geronimo/specs/specs/1.1/specs-1.1.pom': expected START_TAG or END_TAG not TEXT (position: TEXT seen ...</developers>\n    `\n    <p... @91:7) .
> {noformat}
> The pom.xml contains a "`"-character right after the closing develpers-tag and before the next opening one.
> Please remove the wrong character.

This message was sent by Atlassian JIRA