You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Bruno Malaquin (JIRA)" <ji...@codehaus.org> on 2009/06/10 16:48:42 UTC

[jira] Created: (MRM-1200) Fetching artefact zip or tar.gz in repository maven 1

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.2.1, 1.2, 1.1.4, 1.1.3
         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

        

[jira] Commented: (MRM-1200) Fetching artefact zip or tar.gz in repository maven 1

Posted by "Bruno Malaquin (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Updated: (MRM-1200) Fetching artefact zip or tar.gz in repository maven 1

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MRM-1200:
------------------------------

    Fix Version/s: 1.x

> 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
>             Fix For: 1.x
>
>
> 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

        

[jira] Commented: (MRM-1200) Fetching artefact zip or tar.gz in repository maven 1

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182217#action_182217 ] 

Brett Porter commented on MRM-1200:
-----------------------------------

have you tried the legacy path mapping?

> 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