Hi Jack,

Re tested it on 2.5.0 and 2.6.6 but it works as expected.

eli-mbp:~ eli$ curl -I
http://localhost:8081/artifactory/java.net.m1/args4j/args4j/2.0.1/args4j-2.0.1.jar
HTTP/1.1 200 OK
Server: Artifactory/2.5.0
Content-Type: application/java-archive
Content-Length: 24794
Last-Modified: Sat, 17 Dec 2005 22:24:56 GMT


2013-02-21 16:49:00,620 [pool-1-thread-30] [INFO ] (o.a.r.HttpRepo
 :254) - java.net.m1: Downloading content from
'http://download.java.net/maven/1/args4j/jars/args4j-2.0.1.jar.sha1'...
2013-02-21 16:49:00,621 [pool-1-thread-30] [INFO ] (o.a.r.HttpRepo
 :285) - java.net.m1: Downloaded
'http://download.java.net/maven/1/args4j/jars/args4j-2.0.1.jar.sha1'
with return code: 200.
2013-02-21 16:49:00,819 [pool-1-thread-30] [INFO ] (o.a.r.HttpRepo
 :254) - java.net.m1: Downloading content from
'http://download.java.net/maven/1/args4j/jars/args4j-2.0.1.jar.md5'...
2013-02-21 16:49:00,821 [pool-1-thread-30] [INFO ] (o.a.r.HttpRepo
 :285) - java.net.m1: Downloaded
'http://download.java.net/maven/1/args4j/jars/args4j-2.0.1.jar.md5'
with return code: 200.
2013-02-21 16:49:00,935 [pool-1-thread-30] [INFO ] (o.a.r.HttpRepo
 :285) - java.net.m1: Downloaded
'http://download.java.net/maven/1/args4j/jars/args4j-2.0.1.jar' with
return code: 200.
2013-02-21 16:49:01,0



Are you running the OSS or the Pro version?

Eli

On Thu, Feb 21, 2013 at 1:01 PM, Jack Godau <[email protected]>wrote:

> Hi,
>
>
> *1. *The old repo is an ancient maven-proxy. The logs here show the request
> arriving like this:
> 2013-02-21 11:48:24,370 [INFO ] proxy.servlets.RepositoryServlet  -
> Received
> request: /sci-commons/sci-commons-misc/1.0/sci-commons-misc-1.0.pom
> 2013-02-21 11:48:24,370 [DEBUG] proxy.engine.DownloadEngine  - Request:
> source=artifactory,
> path=/sci-commons/sci-commons-misc/1.0/sci-commons-misc-1.0.pom,
> lastModified=-1, headOnly=true, ifModifiedSince=-1
> [snip - maven-proxy queries all of its repos, cannot find this file, the
> path is not valid for maven1]
>
> 2013-02-21 11:48:30,980 [INFO ] proxy.servlets.RepositoryServlet  -
> Received
> request: /sci-commons/sci-commons-crypto/99.0/sci-commons-crypto-99.0.jar
> 2013-02-21 11:48:30,980 [DEBUG] proxy.engine.DownloadEngine  - Request:
> source=artifactory,
> path=/sci-commons/sci-commons-crypto/99.0/sci-commons-crypto-99.0.jar,
> lastModified=-1, headOnly=true, ifModifiedSince=-1
> [snip - maven-proxy queries all of its repos, cannot find this file, the
> path is not valid for maven1]
>
>
> *2. *Trying to load via this URL also fails with a 404
>
> http://artifactory:8081/artifactory/sci-old-maven1-repo/sci-commons/sci-commons-misc/1.0/sci-commons-misc-1.0.jar
>
> *3. * It seems to be a problem with the translation of a Maven2/3 URL into
> a
> Maven1 URL.
> The relevant parts of my are below, can you post the configuration you use
> to set up the repositories for the test?
>
>                 <remoteRepository>
>                         <key>sci-old-maven1-repo</key>
>                         <description>Unser altes Maven-Proxy</description>
>                         <includesPattern>**/*</includesPattern>
>                         <repoLayoutRef>maven-2-default</repoLayoutRef>
>                         <enableNuGetSupport>false</enableNuGetSupport>
>                         <blackedOut>false</blackedOut>
>                         <handleReleases>true</handleReleases>
>                         <handleSnapshots>true</handleSnapshots>
>                         <maxUniqueSnapshots>0</maxUniqueSnapshots>
>
> <suppressPomConsistencyChecks>true</suppressPomConsistencyChecks>
>                         <propertySets />
>                         <url>http://maven-repository:9999/repository/
> </url>
>                         <offline>false</offline>
>                         <hardFail>false</hardFail>
>                         <storeArtifactsLocally>true</storeArtifactsLocally>
>                         <fetchJarsEagerly>true</fetchJarsEagerly>
>                         <fetchSourcesEagerly>true</fetchSourcesEagerly>
>
> <retrievalCachePeriodSecs>43200</retrievalCachePeriodSecs>
>
> <failedRetrievalCachePeriodSecs>0</failedRetrievalCachePeriodSecs>
>
> <missedRetrievalCachePeriodSecs>7200</missedRetrievalCachePeriodSecs>
>                         <remoteRepoChecksumPolicyType>generate-if-absent
>                         </remoteRepoChecksumPolicyType>
>                         <unusedArtifactsCleanupPeriodHours>0
>                         </unusedArtifactsCleanupPeriodHours>
>                         <shareConfiguration>false</shareConfiguration>
>
> <synchronizeProperties>false</synchronizeProperties>
>                         <listRemoteFolderItems>true</listRemoteFolderItems>
>
> <remoteRepoLayoutRef>maven-1-default</remoteRepoLayoutRef>
>                         <rejectInvalidJars>false</rejectInvalidJars>
>                         <p2Support>false</p2Support>
>                         <socketTimeoutMillis>15000</socketTimeoutMillis>
>                 </remoteRepository>
>
>                 <virtualRepository>
>                         <key>sci-maven-1-repo</key>
>                         <description>Unsere alte Repo</description>
>                         <includesPattern>**/*</includesPattern>
>                         <repoLayoutRef>maven-2-default</repoLayoutRef>
>                         <enableNuGetSupport>false</enableNuGetSupport>
>                         <artifactoryRequestsCanRetrieveRemoteArtifacts>true
>                         </artifactoryRequestsCanRetrieveRemoteArtifacts>
>                         <repositories>
>
> <repositoryRef>sci-old-maven1-repo</repositoryRef>
>                         </repositories>
>                         <pomRepositoryReferencesCleanupPolicy>nothing
>                         </pomRepositoryReferencesCleanupPolicy>
>                 </virtualRepository>
>
>         <repoLayouts>
>                 <repoLayout>
>                         <name>maven-2-default</name>
>
>
> <artifactPathPattern>[orgPath]/[module]/[baseRev](-[folderItegRev])/[module]-[baseRev](-[fileItegRev])(-[classifier]).[ext]
>                         </artifactPathPattern>
>                         <distinctiveDescriptorPathPattern>true
>                         </distinctiveDescriptorPathPattern>
>
>
> <descriptorPathPattern>[orgPath]/[module]/[baseRev](-[folderItegRev])/[module]-[baseRev](-[fileItegRev])(-[classifier]).pom
>                         </descriptorPathPattern>
>                         <folderIntegrationRevisionRegExp>SNAPSHOT
>                         </folderIntegrationRevisionRegExp>
>
>
> <fileIntegrationRevisionRegExp>SNAPSHOT|(?:(?:[0-9]{8}.[0-9]{6})-(?:[0-9]+))
>                         </fileIntegrationRevisionRegExp>
>                 </repoLayout>
>                 <repoLayout>
>                         <name>maven-1-default</name>
>
>
> <artifactPathPattern>[org]/[type]s/[module]-[baseRev](-[fileItegRev])(-[classifier]).[ext]
>                         </artifactPathPattern>
>                         <distinctiveDescriptorPathPattern>true
>                         </distinctiveDescriptorPathPattern>
>
> <descriptorPathPattern>[org]/[type]s/[module]-[baseRev](-[fileItegRev]).pom
>                         </descriptorPathPattern>
>
> <folderIntegrationRevisionRegExp>.+</folderIntegrationRevisionRegExp>
>
> <fileIntegrationRevisionRegExp>.+</fileIntegrationRevisionRegExp>
>                 </repoLayout>
>         </repoLayouts>
>
>
>
>
> --
> View this message in context:
> http://forums.jfrog.org/Artifacts-not-being-resolved-from-our-old-maven-repo-tp7578596p7578605.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to