|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
artifact requested through remote repository failing with 500Hi!
I have the next error from maven (within Hudson): ------------------------------------------------------------------------- cut ------------------------------------------------------------------------- Downloading: http://maven/repo/org/codehaus/swizzle/swizzle-confluence/1.2-20080419/swizzle-confluence-1.2-20080419.pom------------------------------------------------------------------------- cut ------------------------------------------------------------------------- When in Artifactory log I see: ------------------------------------------------------------------------- cut ------------------------------------------------------------------------- 2009-10-21 10:54:58,990 [TP-Processor21] [WARN ] (o.a.c.h.HttpMethodDirector:288) - Required credentials not available for BASIC <any realm>@maven.xwiki.org:80 2009-10-21 10:54:58,991 [TP-Processor21] [WARN ] (o.a.c.h.HttpMethodDirector:290) - Preemptive authentication requested but no default credentials available 2009-10-21 10:54:59,033 [TP-Processor21] [INFO ] (o.a.r.HttpRepo :224) - xwiki-externals: Retrieving 'http://maven.xwiki.org/externals//org/codehaus/swizzle/swizzle-confluence/1.2-20080419/swizzle-confluence-1.2-20080419.pom.md5'... ------------------------------------------------------------------------- cut ------------------------------------------------------------------------- xwiki-externals points to: http://maven.xwiki.org/externals/ (handles snapshot and releases) From UI: there is artifact fetched into xwiki-externals, just a path: org/codehaus/swizzle/swizzle-confluence/1.2-20080419 The strange is I get no exception in artifactory.log at all. How can I resolve this? Regards, Lóránd Somogyi ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Artifactory-users mailing list Artifactory-users@... https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
|
Re: artifact requested through remote repository failing with 500Hi Lóránd
I checked the error that you were getting. The problem arises from a bad path prefix. Artifactory checks for pom consistency and blocks out bad poms. You can use the "Suppress POM Consistency Checks" in the remote repository panel. THIS IS HIGHLY NOT RECOMMENDED The best way would be to re-deploy the artifact to your own instance of Artifactory. Tomer Cohen JFrog
|
|
|
Re: artifact requested through remote repository failing with 500Hi Tomer!
Thanks for advice! Unfortunately the dependency is a transitive one, out of my reach. I could only trick it with exclude + extra dependency, which could break the consistency on long run. I checked the "Suppress POM Consistency Checks" without a success. Accessing it from browser (http://maven/repo/org/codehaus/swizzle/swizzle-confluence/1.2-20080419/swizzle-confluence-1.2-20080419.pom) produces (excerpt): ----------------- cut ----------------- org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not create file node resource at '/repositories/xwiki-externals-cache/org/codehaus/swizzle/swizzle-confluence/1.2-20080419/swizzle-confluence-1.2-20080419.pom'. javax.jcr.RepositoryException: Could not store POM file.: The target deployment path 'org/codehaus/swizzle/swizzle-confluence/1.2-20080419/swizzle-confluence-1.2-20080419.pom' does not match the POM's expected path prefix 'org/codehaus/swizzle/swizzle-confluence/1.2-20080419-xwiki'. Please verify your POM content for correctness and make sure the source path is a valid Maven 2 repository root path.: The target deployment path 'org/codehaus/swizzle/swizzle-confluence/1.2-20080419/swizzle-confluence-1.2-20080419.pom' does not match the POM's expected path prefix 'org/codehaus/swizzle/swizzle-confluence/1.2-20080419-xwiki'. Please verify your POM content for correctness and make sure the source path is a valid Maven 2 repository root path. org.artifactory.api.repo.exception.maven.BadPomException: The target deployment path 'org/codehaus/swizzle/swizzle-confluence/1.2-20080419/swizzle-confluence-1.2-20080419.pom' does not match the POM's expected path prefix 'org/codehaus/swizzle/swizzle-confluence/1.2-20080419-xwiki'. Please verify your POM content for correctness and make sure the source path is a valid Maven 2 repository root path. ----------------- cut -----------------I try to exclude+extra dep. as a workaround. Regards, Lóránd Somogyi http://lorands.com http://photols.com On Thu, Oct 22, 2009 at 9:51 AM, tomerc <tomerc@...> wrote:
------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Artifactory-users mailing list Artifactory-users@... https://lists.sourceforge.net/lists/listinfo/artifactory-users |
| Free embeddable forum powered by Nabble | Forum Help |