There appears to be a validity issue with the XML of the pom you are trying
to fetch.

What is the result if you try to get it directly via a browser, for
example, and save it locally from
http://repo2.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom-
do you get a valid XML file? (don't use wget as it is blocked by maven
central).

Is your Artifactory running behind a proxy? I can see that the content
length you are getting for the pom in question is wrong (should be 3419 not
1856) and also the content type.

On Mon, Oct 11, 2010 at 12:46 PM, RĂ¼diger Gubler (@work) <[email protected]
> wrote:

>
> I tried with wget and get the following result:
>
> wget -S
>
> http://localhost:8081/artifactory/repo/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
> --12:44:30--
>
> http://localhost:8081/artifactory/repo/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
>           => `maven-clean-plugin-2.2.pom'
> Connecting to localhost:8081... connected!
> HTTP request sent, awaiting response... 409 Failed to read POM for
>
> 'org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom':
> only whitespace content allowed before start tag and not \u1f (position:
> START_DOCUMENT seen \u1f... @1:1) .
> 2 Server: Artifactory/2.2.5
> 3 Content-Type: text/html;charset=ISO-8859-1
> 4 Cache-Control: must-revalidate,no-cache,no-store
> 5 Content-Length: 1856
> 6
> 12:44:30 ERROR 409: Failed to read POM for
>
> 'org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom':
> only whitespace content allowed before start tag and not \u1f (position:
> START_DOCUMENT seen \u1f... @1:1) ..
>
> --
> View this message in context:
> http://forums.jfrog.org/Can-t-get-artifacts-tp5622265p5622708.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to