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

Reply via email to