Hi Federico,
You can change a repository's checksum policy by browsing to
the configuration of the repository in question via the admin UI
(Admin->Configuration->Repositories) and selecting a different one under
the "Checksum Policy" combo box.
Also see our wiki
page<http://wiki.jfrog.org/confluence/display/RTF/Handling+Checksums>on
the matter.
Cheers,
Noam
On Tue, Apr 3, 2012 at 10:32 AM, Federico Paolantoni <
[email protected]> wrote:
> Dear List,
> artifactory dislpay a checksum error:
>
>
> HTTP Status 409 - Rejected artifact download request: Checksum policy
> 'GEN_IF_ABSENT' rejected the artifact 'saxon-9.1.0.8b-patch.pom'.
> Checksums info: [ChecksumInfo{type=SHA-1,
> original='141b8b6795624f9e486a9337e541b8ac622d1adb',
> actual='104bce5ca12f260d630f33957f8dc616a613229c'},
> ChecksumInfo{type=MD5, original='6138dc8859da0082dc64933af8d75dc6',
> actual='539dd0c1bf2e16dccbbb73b1ad746c19'}]
>
> type Status report
>
> message Rejected artifact download request: Checksum policy
> 'GEN_IF_ABSENT' rejected the artifact 'saxon-9.1.0.8b-patch.pom'.
> Checksums info: [ChecksumInfo{type=SHA-1,
> original='141b8b6795624f9e486a9337e541b8ac622d1adb',
> actual='104bce5ca12f260d630f33957f8dc616a613229c'},
> ChecksumInfo{type=MD5, original='6138dc8859da0082dc64933af8d75dc6',
> actual='539dd0c1bf2e16dccbbb73b1ad746c19'}]
>
> description The request could not be completed due to a conflict with
> the current state of the resource (Rejected artifact download request:
> Checksum policy 'GEN_IF_ABSENT' rejected the artifact
> 'saxon-9.1.0.8b-patch.pom'. Checksums info: [ChecksumInfo{type=SHA-1,
> original='141b8b6795624f9e486a9337e541b8ac622d1adb',
> actual='104bce5ca12f260d630f33957f8dc616a613229c'},
> ChecksumInfo{type=MD5, original='6138dc8859da0082dc64933af8d75dc6',
> actual='539dd0c1bf2e16dccbbb73b1ad746c19'}]).
>
> Thank you for all these answers.
>
> How to disable the checksum for a remote repository? I can't find this
> option.
>
>
>
>
> 2012/4/3 Yossi Shaul <[email protected]>:
> > It might be an invalid pom you are trying to download.
> > Maven doesn't display the error message, try the same url from your
> browser
> > or curl to see the message.
> > If it's really an invalid pom, you can either disable the validation (in
> the
> > repository configuration) or manually deploy a good version of the pom
> > (recommended).
> >
> >
> > Yossi
> >
> > On Mon, Apr 2, 2012 at 17:13, Federico Paolantoni
> > <[email protected]> wrote:
> >>
> >> Dear List,
> >> i'm caching several remote repositories... as for example the
> >> repository that hosts saxon-9.1.0.8b-patch package.
> >> In this case i'm having issues while building a maven project
> >> (geoserver) using a ~/.m2/settings.xml extracted from artifactory that
> >> you can see in attachments.
> >>
> >> the error:
> >>
> >> [ERROR] Failed to execute goal on project cachingxslt: Could not
> >> resolve dependencies for project
> >> org.geonetwork-opensource:cachingxslt:jar:2.6.4: Failed to collect
> >> dependencies for [net.sf.saxon:saxon:jar:9.1.0.8b-patch (compile),
> >> junit:junit:jar:4.6 (test), jdom:jdom:jar:1.0 (compile),
> >> jdbm:jdbm:jar:1.0 (compile), log4j:log4j:jar:1.2.13 (compile)]: Failed
> >> to read artifact descriptor for net.sf.saxon:saxon:jar:9.1.0.8b-patch:
> >> Could not transfer artifact net.sf.saxon:saxon:pom:9.1.0.8b-patch
> >> from/to repo (http://hqldvtcdrci1.hq.un.fao.org:8081/artifactory/repo):
> >> Failed to transfer file:
> >>
> >>
> http://hqldvtcdrci1.hq.un.fao.org:8081/artifactory/repo/net/sf/saxon/saxon/9.1.0.8b-patch/saxon-9.1.0.8b-patch.pom
> .
> >> Return code is: 409, ReasonPhrase:Conflict. -> [Help 1]
> >> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> >> execute goal on project cachingxslt: Could not resolve dependencies
> >> for project org.geonetwork-opensource:cachingxslt:jar:2.6.4: Failed to
> >> collect dependencies for [net.sf.saxon:saxon:jar:9.1.0.8b-patch
> >> (compile), junit:junit:jar:4.6 (test), jdom:jdom:jar:1.0 (compile),
> >> jdbm:jdbm:jar:1.0 (compile), log4j:log4j:jar:1.2.13
> >>
> >>
> >> Could you kindly help me to solve?
> >>
> >> Thank you in advance.
> >>
> >> Federico
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> This SF email is sponsosred by:
> >> Try Windows Azure free for 90 days Click Here
> >> http://p.sf.net/sfu/sfd2d-msazure
> >> _______________________________________________
> >> Artifactory-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/artifactory-users
> >>
> >
> >
> >
> ------------------------------------------------------------------------------
> > Better than sec? Nothing is better than sec when it comes to
> > monitoring Big Data applications. Try Boundary one-second
> > resolution app monitoring today. Free.
> > http://p.sf.net/sfu/Boundary-dev2dev
> > _______________________________________________
> > Artifactory-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/artifactory-users
> >
>
>
>
> --
> Federico Paolantoni
>
>
> -----------------------------------------------------------------------------------
> The information contained in the present communication
> and the related attachment can be classified as reserved
> and are, however, destined exclusively to the persons
> or the over indicated Society are forbidden, according
> the Italian Laws, D.Lgs. n. 196/2003 "Code in matter of
> protection of the personal data" and of the art. 616 c.p.
> if you have received this e-mail in error please destroy
> any copies and delete it from your computer system.
>
> -----------------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users