Hello, I'm trying to configure archiva following the getting started doc, but I cannot get Archiva to cache the central repo. When I ask for this url:
http://znjupiter:8080/archiva/repository/internal/org/apache/maven/wagon/wagon-ftp/1.0-alpha-6/wagon-ftp-1.0-alpha-6.jar I see the following log in archiva. What this "Failed pre-download policies" error message is about ? Thanks , toni 14184735 [SocketListener0-0] DEBUG org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default - Attempting connector: ProxyConnector[ source:ArchivaRepository[internal,file:/home/Jboss/jbossadm/archiva/repositories/internal/] target:ArchivaRepository[central,http://repo1.maven.org/maven2] proxyId: policy[releases]:once policy[checksum]:fix policy[snapshots]:disabled policy[cache-failures]:cache ] 14184737 [SocketListener0-0] DEBUG org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default - Using target repository: central - layout: default - targetPath: org/apache/maven/wagon/wagon-ftp/1.0-alpha-6/wagon-ftp-1.0-alpha-6.jar 14184737 [SocketListener0-0] DEBUG org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default - Applying [releases] policy with [once] 14184738 [SocketListener0-0] DEBUG org.apache.maven.archiva.policies.PreDownloadPolicy:releases - OK to update releases, local file does not exist. 14184739 [SocketListener0-0] DEBUG org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default - Applying [snapshots] policy with [disabled] 14184739 [SocketListener0-0] DEBUG org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots - OK to update, snapshot policy does not apply for non-snapshot versions. 14184739 [SocketListener0-0] DEBUG org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default - Applying [cache-failures] policy with [cache] 14184740 [SocketListener0-0] ERROR org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures - Unknown checksum policyCode [cache] 14184740 [SocketListener0-0] DEBUG org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default - Didn't pass the [cache-failures] policy. 14184740 [SocketListener0-0] INFO org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default - Failed pre-download policies - /home/Jboss/jbossadm/archiva/repositories/internal/org/apache/maven/wagon/wagon-ftp/1.0-alpha-6/wagon-ftp-1.0-alpha-6.jar -- View this message in context: http://www.nabble.com/Newbie%3A-Failed-pre-download-policies-tf4224243.html#a12016579 Sent from the archiva-users mailing list archive at Nabble.com.
