This doesn't look like an issue with maven-proxy (it's not even getting that far it seems) - it looks like an issue with dependency resolution and overrides.
However, heres what you could do
1) Version IAIK - iaik_javax_crypto-1.0.jar (everything has a version, even if it is just a date)
2) Load that into your proxy repo (or, if using maven-proxy 0.2, load it into your company-repo - more details on that on the wiki later)
/var/tmp/proxy-repo/IAIK/jars/iaik_javax_crypto-1.0.jar
3) Update your dep to include a version
<dependency>
<groupId>IAIK</groupId>
<artifactId>iaik_javax_crypto</artifactId>
<version>1.0</version>
</dependency>
4) Disable jar overrides for IAIK
Svetlin Stanchev wrote:
Your work is much appreciated, I am willing to test it and report as soon as it is released :-) (BTW I see a 0.1 release already, I took a look and I guess it is not the release you are talking about yet)!
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,
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
