Exactly. To enforce for all version you may also add an exclude filter
for woodstox on repo1 remote repo conf.

On 1/6/10, Remijan, Michael <[email protected]> wrote:
> If I reorder the Remote Repositories and put repo1 below codehaus will that
> cause codehause to be searched first?
>
> From: Frederic Simon [mailto:[email protected]]
> Sent: Tuesday, January 05, 2010 2:29 PM
> To: [email protected]
> Subject: Re: [Artifactory-users] Artifactory cannot get
> org.codehaus.woodstox:wstx-asl:jar:3.2.8
>
> Artifactory protected you from a wrong jar non matching the checksum.
>
> The jar is wrong on repo1.maven.org<http://repo1.maven.org> (not rare, it
> happens quite often), the jar is not identical from the one coming from
> codehaus:
> http://repository.codehaus.org/org/codehaus/woodstox/wstx-asl/3.2.8/wstx-asl-3.2.8.jar
>
> The good solution is to actually use the codehaus remote repo configuration
> instead of repo1 for this project. If you which to get the jar anyway from
> repo1, you can deactivate the checksum verification, but I'm don't recommend
> it. Another way is to manually deploy the jar in one of your local repo.
>
> HTH,
> Fred.
> On Tue, Jan 5, 2010 at 7:16 PM, Remijan, Michael
> <[email protected]<mailto:[email protected]>>
> wrote:
> I have settings.xml mirror set to have all requests go through  Artifactory
> 2.1.3.  I found Artifactory is having a problem getting
> org.codehaus.woodstox:wstx-asl:jar:3.2.8.  These are the files associated
> with this artifact:
>
> wstx-asl-3.2.8.pom
> wstx-asl-3.2.8.pom.sha1
> wstx-asl-3.2.8.jar
> wstx-asl-3.2.8.jar.tmp.sha1.tmp
>
> and I see Artifactory doing this:
>
> 2010-01-05 11:00:22,222 [btpool0-5] [INFO ] (o.a.r.HttpRepo      :156) -
> repo1:Retrieving
> 'http://repo1.maven.org/maven2/org/codehaus/woodstox/wstx-asl/3.2.8/wstx-asl-3.2.8.jar'...
>
> 2010-01-05 11:00:22,316 [btpool0-5] [INFO ] (o.a.r.HttpRepo      :156) -
> repo1:Retrieving
> 'http://repo1.maven.org/maven2/org/codehaus/woodstox/wstx-asl/3.2.8/wstx-asl-3.2.8.jar.sha1'...
>
> 2010-01-05 11:00:22,316 [btpool0-5] [INFO ] (o.a.r.HttpRepo      :173) -
> repo1:Retrieved
> 'http://repo1.maven.org/maven2/org/codehaus/woodstox/wstx-asl/3.2.8/wstx-asl-3.2.8.jar.sha1'
> with return code: 200.
>
> 2010-01-05 11:00:23,035 [btpool0-5] [INFO ] (o.a.r.HttpRepo      :156) -
> repo1:Retrieving
> 'http://repo1.maven.org/maven2/org/codehaus/woodstox/wstx-asl/3.2.8/wstx-asl-3.2.8.jar.md5'...
>
> 2010-01-05 11:00:23,035 [btpool0-5] [INFO ] (o.a.r.HttpRepo      :173) -
> repo1:Retrieved
> 'http://repo1.maven.org/maven2/org/codehaus/woodstox/wstx-asl/3.2.8/wstx-asl-3.2.8.jar.md5'
> with return code: 200.
>
> 2010-01-05 11:00:23,800 [btpool0-5] [INFO ] (o.a.r.HttpRepo      :173) -
> repo1:Retrieved
> 'http://repo1.maven.org/maven2/org/codehaus/woodstox/wstx-asl/3.2.8/wstx-asl-3.2.8.jar'
> with return code: 200.
>
> 2010-01-05 11:00:23,800 [btpool0-5] [WARN ] (o.a.e.DownloadServiceImpl:38) -
> Sending HTTP error code 409: Checksum policy 'GEN_IF_ABSENT' rejected the
> artifact'wstx-asl-3.2.8.jar'. Checksums info: [ChecksumInfo{type=MD5,
> original='f25af24e1256afcc41cf4e81caab958a',
> actual='28a548e1f88820be76410dbc98731343'}, ChecksumInfo{type=SHA-1,
> original='a16d56474c1ac1496c89aa14cf28bbbd6b457bcc',
> actual='1930b57270ff5b22e32f20cc895a07ee4a0e84e6'}].
>
> I'm guessing the problem is Artifactory is looking for file
> wstx-asl-3.2.8.jar.sha1  (which returns code 200 since it doesn't exist) but
> what's in the repository is file  wstx-asl-3.2.8.jar.tmp.sha1.tmp.
>
> Is there a configuration option in  Artifactory to handle this??
>
> Mike
>
> "The information transmitted is intended only for the person or entity to
> which it is addressed and may contain proprietary, confidential and/or
> legally privileged material. Any review, retransmission, dissemination or
> other use of, or taking of any action in reliance upon, this information by
> persons or entities other than the intended recipient is prohibited. If you
> received this in error, please contact the sender and delete the material
> from all computers."
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Artifactory-users mailing list
> [email protected]<mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
>
> --
> Co. Founder and Chief Architect
> JFrog Ltd
> http://www.jfrog.org/
> http://twitter.com/freddy33
>
>
>


-- 
Co. Founder and Chief Architect
JFrog Ltd
http://www.jfrog.org/
http://twitter.com/freddy33

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to