archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joakim Erdfelt <joa...@erdfelt.com>
Subject Re: small issue with maven1 (legacy) request resolution
Date Tue, 13 Nov 2007 18:59:36 GMT
(haven't read the rest of the thread yet)

the m1 repository format does not support classifiers.
never had, never will, and frankly, it can't ever support it as the
format is too ambiguous to detect classifier.

- Joakim

nicolas de loof wrote:
> I have a lib that is built by maven2. It also has a retrotranslator version,
> with classifier "-backport", as part of the build process.
>
> When I deploy a SNAPSHOT of this lib, I get :
>
> [INFO] [deploy:deploy]
> [INFO] Retrieving previous build number from platina
> Uploading: ..../jmonit-1.0-alpha-1-SNAPSHOT.jar
> 78K uploaded
> ...
> Uploading: ..../jmonit-1.0-alpha-1-SNAPSHOT-backport.jar
> 47K uploaded
>
>
>
> When I try to get this lib from archiva, I get a 404, as the m1 path
> "org.jmonit/jars/jmonit-1.0-alpha-1-SNAPSHOT-backport.jar"
> gets converted to
> "
> org/jmonit/jmonit/1.0-alpha-1-SNAPSHOT-backport/jmonit-1.0-alpha-1-SNAPSHOT-backport.jar<http://sai1rennes:8888/repository/org/jmonit/jmonit/1.0-alpha-1-SNAPSHOT-backport/jmonit-1.0-alpha-1-SNAPSHOT-backport.jar>
> "
> and not
> org/jmonit/jmonit/1.0-alpha-1-SNAPSHOT/jmonit-1.0-alpha-1-SNAPSHOT-backport.jar<http://sai1rennes:8888/repository/org/jmonit/jmonit/1.0-alpha-1-SNAPSHOT-backport/jmonit-1.0-alpha-1-SNAPSHOT-backport.jar>
>
> --> The classifier is not recognized.
> Not tested with other dependencies, but I'm not sure we have good support
> for classifiers as part of m1 requests.
>
> Nico.
>
>   


Mime
View raw message