On a similar note: I've noticed also that overridden dependencies are not getting downloaded from the proxy. I am using Maven RC1 and the SNAPSHOT proxy. Is this expected behaviour of the proxy or the remote repos?
Here is my setup on the proxy: --- $ ls -R /var/tmp/proxy-repo/ /var/tmp/proxy-repo/: commons-logging IAIK
/var/tmp/proxy-repo/commons-logging: jars
/var/tmp/proxy-repo/commons-logging/jars: commons-logging-1.0.jar commons-logging-1.0.jar.md5
/var/tmp/proxy-repo/IAIK: jars
/var/tmp/proxy-repo/IAIK/jars: iaik_javax_crypto.jar ---
Im my project.properties I have:
---
maven.jar.override = on
maven.repo.remote = http://192.168.0.178:7777
maven.jar.iaik_javax_crypto = ${maven.repo.remote}/IAIK/jars/iaik_javax_crypto.jar
---
In project.xml I have: --- <dependency> <groupId>IAIK</groupId> <artifactId>iaik_javax_crypto</artifactId> </dependency> ---
Here the output: --- Attempting to download commons-logging-1.0.jar. ...... Attempting to download iaik_javax_crypto-.jar. WARNING: Failed to download iaik_javax_crypto-.jar.
BUILD FAILED File...... file:/M:/ Element... m:reactor Line...... 16 Column.... 31 The build cannot continue because of the following unsatisfied dependency:
iaik_javax_crypto-.jar (no download url specified) ---
If the overriding points to a local dir, it works fine, naturally. Thanks again, -- Svetlin
Ben Walding wrote:
The wiki was (I've updated it) a little misleading.
* SNAPSHOTs are not updated - I'm not 100% sure how I want to handle this at present
* That repo.local-repo.copy thing is a new feature I'm currently adding. Still wrestling with doing it cleanly and what it means.
I should be pushing out a release in the next week that will be more useful in a corporate setting where you want to release internal projects to the proxy cleanly.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
