Artifactory analyzes poms before saving them, so from the error it looks
like the XML is invalid. Usually this can happen due to a wrong BOM in the
beginning of the file (non-visual in a plain text editor),
We should be able to verify it if you attach the pom or provide its
original location (copy-pasting the content will discrad this information).

On Tue, Dec 13, 2011 at 11:45 AM, Igal Harel <[email protected]> wrote:

> Hi,
>
> I get the following errors:
> 2011-12-13 09:05:02,137 [pool-1-thread-26] [WARN ]
> (o.a.c.x.EntityResolvingContentHandler:122) - Received the following error
> during xml parsing: 'Content is not allowed in prolog.'.
> 2011-12-13 09:05:02,137 [pool-1-thread-26] [WARN ]
> (o.a.c.x.EntityResolvingContentHandler:122) - Received the following error
> during xml parsing: 'Reference is not allowed in prolog.'.
>
> I checked the XML, couldn't find any problem.
> I downloaded a pom from the Artifactory and tried to upload it back but I
> got the same error.
>
> any suggestions?
>
> Thanks
> Igal
>
> --
> View this message in context:
> http://forums.jfrog.org/Deploy-POM-using-rest-API-tp7088982p7089316.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Systems Optimization Self Assessment
> Improve efficiency and utilization of IT resources. Drive out cost and
> improve service delivery. Take 5 minutes to use this Systems Optimization
> Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to