You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "nicolas de loof (JIRA)" <ji...@codehaus.org> on 2006/05/16 09:43:41 UTC

[jira] Commenté: (MPA-72) Please make "sources" jar available to Maven1 users

    [ http://jira.codehaus.org/browse/MPA-72?page=comments#action_65444 ] 

nicolas de loof commented on MPA-72:
------------------------------------

I've found it myself in maven SVN : (maven/components/trunk/maven-meeper/src/bin/ibiblio-htaccess)

The current rewrite rule converts
group/java-sources/artifact-xyz-sources.jar
to
group/artifact/artifact-xyz-java-sources.jar

So please add a rule for java-sources, something like
RewriteRule ^([^/]+)/java-sources/([^0-9]+)-([0-9].+)-sources\.([^0-9]+)(\.md5|\.sha1){0,1}$ r/$1/$3/$4/$3-$4.$5$6 [PT] 

> Please make "sources" jar available to Maven1 users
> ---------------------------------------------------
>
>          Key: MPA-72
>          URL: http://jira.codehaus.org/browse/MPA-72
>      Project: Maven Project Administration
>         Type: Bug

>   Components: repository management
>     Reporter: Emmanuel Venisse
>     Assignee: Brett Porter

>
>
> Hello guys,
> From a previous post I know Maven1 repo is a redirect to maven2 repository content, with path transcripted to match maven2 hierarchy.
> commons-collection (as an example) has sources jar in maven2 repo (http://www.ibiblio.org/maven2/commons-collections/commons-collections/3.1/commons-collections-3.1-sources.jar), but I cannot get them using maven1 from http://www.ibiblio.org/maven/commons-collections/java-sources/commons-collections-3.1-sources.jar
> Maybe a new Apache rewrite rule may be required for this.
> I would also be very interested if someone can give me the rewrite rule used on ibiblio to convert m1 dependency path to m2 repo hierarchy.
> Nicolas De Loof

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira