[
http://jira.codehaus.org/browse/MRM-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182222#action_182222
]
Bruno Malaquin commented on MRM-1200:
-------------------------------------
Yes, of course.
This one doesn't work for zip or tar.gz (for "Jar" artifacts that works):
<repository>
<id>maven-1</id>
<name>Maven 1 Repository</name>
<url>http://myhost/archiva/repository/maven-1/</url>
<layout>legacy</layout>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
This one works for zip or tar.gz :
<repository>
<id>maven-1-apache</id>
<name>Maven 1 Repository by
Apache</name>
<url>http://myhost/maven1/</url>
<layout>legacy</layout>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
So, i put the both in my settings.xml in waiting bug fix.
> Fetching artefact zip or tar.gz in repository maven 1
> -----------------------------------------------------
>
> Key: MRM-1200
> URL: http://jira.codehaus.org/browse/MRM-1200
> Project: Archiva
> Issue Type: Bug
> Affects Versions: 1.1.3, 1.1.4, 1.2, 1.2.1
> Environment: linux (rhel301), windows xp sp2, stand-alone and war
> Reporter: Bruno Malaquin
>
> I cannot download by Archiva through Maven 2 an artefact which is on a
> repository Maven 1 and his type is zip or tar.gz.
> When i browse the repository by Archiva, I got a 404 error for the artefact.
> I can download his pom through browsing and Maven 2.
> I can download the artefact when I pass through Apache and Maven 2 with
> "Apache configuration repository".
--
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