You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "nicolas de loof (JIRA)" <ji...@codehaus.org> on 2008/01/18 15:52:14 UTC

[jira] Created: (MRM-659) archiva cannot serve ejb artifacts from a maven1 repository

archiva cannot serve ejb artifacts from a maven1 repository
-----------------------------------------------------------

                 Key: MRM-659
                 URL: http://jira.codehaus.org/browse/MRM-659
             Project: Archiva
          Issue Type: Bug
          Components: remote proxy
    Affects Versions: 1.0
            Reporter: nicolas de loof


requesting an ejb from a maven1 repository builds the path "groupId/jars/artifactId.jar", and not the location where maven1 ejb:deploy places the ejb jars (groupId/ejbs/artifactId.jar). The type folder is created based on the file extension, with some exceptions. It should be created based on the artifact type. 

-- 
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-659) archiva cannot serve ejb artifacts from a maven1 repository

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

Brett Porter commented on MRM-659:
----------------------------------

I believe this combination can't be translated. The Maven 2 format for an ejb looks the same as a JAR, so Archiva can't know which one to return. You should have Maven 2 use the legacy format when talking to the Archiva repository so that it looks for /ejbs/*

> archiva cannot serve ejb artifacts from a maven1 repository
> -----------------------------------------------------------
>
>                 Key: MRM-659
>                 URL: http://jira.codehaus.org/browse/MRM-659
>             Project: Archiva
>          Issue Type: Bug
>          Components: remote proxy
>    Affects Versions: 1.0
>            Reporter: nicolas de loof
>            Assignee: Brett Porter
>             Fix For: 1.0.2
>
>
> requesting an ejb from a maven1 repository builds the path "groupId/jars/artifactId.jar", and not the location where maven1 ejb:deploy places the ejb jars (groupId/ejbs/artifactId.jar). The type folder is created based on the file extension, with some exceptions. It should be created based on the artifact type. 

-- 
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-659) archiva cannot serve ejb artifacts from a maven1 repository

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

Maria Odea Ching updated MRM-659:
---------------------------------

    Fix Version/s: 1.0.2

> archiva cannot serve ejb artifacts from a maven1 repository
> -----------------------------------------------------------
>
>                 Key: MRM-659
>                 URL: http://jira.codehaus.org/browse/MRM-659
>             Project: Archiva
>          Issue Type: Bug
>          Components: remote proxy
>    Affects Versions: 1.0
>            Reporter: nicolas de loof
>             Fix For: 1.0.2
>
>
> requesting an ejb from a maven1 repository builds the path "groupId/jars/artifactId.jar", and not the location where maven1 ejb:deploy places the ejb jars (groupId/ejbs/artifactId.jar). The type folder is created based on the file extension, with some exceptions. It should be created based on the artifact type. 

-- 
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-659) archiva cannot serve ejb artifacts from a maven1 repository

Posted by "Thomas Demande (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129795#action_129795 ] 

Thomas Demande commented on MRM-659:
------------------------------------

>From a Maven 2 project, when I try to get a Maven 1 ejb artifact _via_ Archiva, it's still trying to get it from _groupId_/*jars*/_artifactId_-_version_.jar.

I'm using newly packaged 1.0.2 version you're voting for (from http://people.apache.org/builds/maven/archiva/1.0.2/), that should resolve the problem according to this issue fix version.

Did I miss some configuration steps ?

> archiva cannot serve ejb artifacts from a maven1 repository
> -----------------------------------------------------------
>
>                 Key: MRM-659
>                 URL: http://jira.codehaus.org/browse/MRM-659
>             Project: Archiva
>          Issue Type: Bug
>          Components: remote proxy
>    Affects Versions: 1.0
>            Reporter: nicolas de loof
>            Assignee: Brett Porter
>             Fix For: 1.0.2
>
>
> requesting an ejb from a maven1 repository builds the path "groupId/jars/artifactId.jar", and not the location where maven1 ejb:deploy places the ejb jars (groupId/ejbs/artifactId.jar). The type folder is created based on the file extension, with some exceptions. It should be created based on the artifact type. 

-- 
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] Assigned: (MRM-659) archiva cannot serve ejb artifacts from a maven1 repository

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

Brett Porter reassigned MRM-659:
--------------------------------

    Assignee: Brett Porter

> archiva cannot serve ejb artifacts from a maven1 repository
> -----------------------------------------------------------
>
>                 Key: MRM-659
>                 URL: http://jira.codehaus.org/browse/MRM-659
>             Project: Archiva
>          Issue Type: Bug
>          Components: remote proxy
>    Affects Versions: 1.0
>            Reporter: nicolas de loof
>            Assignee: Brett Porter
>             Fix For: 1.0.2
>
>
> requesting an ejb from a maven1 repository builds the path "groupId/jars/artifactId.jar", and not the location where maven1 ejb:deploy places the ejb jars (groupId/ejbs/artifactId.jar). The type folder is created based on the file extension, with some exceptions. It should be created based on the artifact type. 

-- 
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] Closed: (MRM-659) archiva cannot serve ejb artifacts from a maven1 repository

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

Brett Porter closed MRM-659.
----------------------------

    Resolution: Fixed

> archiva cannot serve ejb artifacts from a maven1 repository
> -----------------------------------------------------------
>
>                 Key: MRM-659
>                 URL: http://jira.codehaus.org/browse/MRM-659
>             Project: Archiva
>          Issue Type: Bug
>          Components: remote proxy
>    Affects Versions: 1.0
>            Reporter: nicolas de loof
>            Assignee: Brett Porter
>             Fix For: 1.0.2
>
>
> requesting an ejb from a maven1 repository builds the path "groupId/jars/artifactId.jar", and not the location where maven1 ejb:deploy places the ejb jars (groupId/ejbs/artifactId.jar). The type folder is created based on the file extension, with some exceptions. It should be created based on the artifact type. 

-- 
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-659) archiva cannot serve ejb artifacts from a maven1 repository

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

Brett Porter commented on MRM-659:
----------------------------------

if you have the proxied repository in legacy mode, but the managed repository in maven2 mode, then the problem will not occur - is that an option for you?

> archiva cannot serve ejb artifacts from a maven1 repository
> -----------------------------------------------------------
>
>                 Key: MRM-659
>                 URL: http://jira.codehaus.org/browse/MRM-659
>             Project: Archiva
>          Issue Type: Bug
>          Components: remote proxy
>    Affects Versions: 1.0
>            Reporter: nicolas de loof
>            Assignee: Brett Porter
>             Fix For: 1.0.2
>
>
> requesting an ejb from a maven1 repository builds the path "groupId/jars/artifactId.jar", and not the location where maven1 ejb:deploy places the ejb jars (groupId/ejbs/artifactId.jar). The type folder is created based on the file extension, with some exceptions. It should be created based on the artifact type. 

-- 
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-659) archiva cannot serve ejb artifacts from a maven1 repository

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

Brett Porter commented on MRM-659:
----------------------------------

you're right, sorry. The managed repository can be set to either, but to pass an ejb request to the legacy remote repository requires the incoming request to be in legacy format. This is because of the erasure of information in the Maven 2 repository format.

> archiva cannot serve ejb artifacts from a maven1 repository
> -----------------------------------------------------------
>
>                 Key: MRM-659
>                 URL: http://jira.codehaus.org/browse/MRM-659
>             Project: Archiva
>          Issue Type: Bug
>          Components: remote proxy
>    Affects Versions: 1.0
>            Reporter: nicolas de loof
>            Assignee: Brett Porter
>             Fix For: 1.0.2
>
>
> requesting an ejb from a maven1 repository builds the path "groupId/jars/artifactId.jar", and not the location where maven1 ejb:deploy places the ejb jars (groupId/ejbs/artifactId.jar). The type folder is created based on the file extension, with some exceptions. It should be created based on the artifact type. 

-- 
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-659) archiva cannot serve ejb artifacts from a maven1 repository

Posted by "Thomas Demande (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129970#action_129970 ] 

Thomas Demande commented on MRM-659:
------------------------------------

Well that's actually the case we have, and that's why I commented this ticket ;)

> archiva cannot serve ejb artifacts from a maven1 repository
> -----------------------------------------------------------
>
>                 Key: MRM-659
>                 URL: http://jira.codehaus.org/browse/MRM-659
>             Project: Archiva
>          Issue Type: Bug
>          Components: remote proxy
>    Affects Versions: 1.0
>            Reporter: nicolas de loof
>            Assignee: Brett Porter
>             Fix For: 1.0.2
>
>
> requesting an ejb from a maven1 repository builds the path "groupId/jars/artifactId.jar", and not the location where maven1 ejb:deploy places the ejb jars (groupId/ejbs/artifactId.jar). The type folder is created based on the file extension, with some exceptions. It should be created based on the artifact type. 

-- 
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-659) archiva cannot serve ejb artifacts from a maven1 repository

Posted by "Thomas Demande (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129973#action_129973 ] 

Thomas Demande commented on MRM-659:
------------------------------------

Well, as adding a new repository definition in legacy does the trick, I'm quite OK with that.

> archiva cannot serve ejb artifacts from a maven1 repository
> -----------------------------------------------------------
>
>                 Key: MRM-659
>                 URL: http://jira.codehaus.org/browse/MRM-659
>             Project: Archiva
>          Issue Type: Bug
>          Components: remote proxy
>    Affects Versions: 1.0
>            Reporter: nicolas de loof
>            Assignee: Brett Porter
>             Fix For: 1.0.2
>
>
> requesting an ejb from a maven1 repository builds the path "groupId/jars/artifactId.jar", and not the location where maven1 ejb:deploy places the ejb jars (groupId/ejbs/artifactId.jar). The type folder is created based on the file extension, with some exceptions. It should be created based on the artifact type. 

-- 
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-659) archiva cannot serve ejb artifacts from a maven1 repository

Posted by "Thomas Demande (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129966#action_129966 ] 

Thomas Demande commented on MRM-659:
------------------------------------

Thanks, it works by adding duplicate definition of our Archiva instance, with legacy layout specified.

Anyway, I think behavior is quite strange IMHO, I would have expected that specifying the _remote repository_ as legacy would be enough, as it is the proxied repository that is in legacy mode, not the Archiva instance.

> archiva cannot serve ejb artifacts from a maven1 repository
> -----------------------------------------------------------
>
>                 Key: MRM-659
>                 URL: http://jira.codehaus.org/browse/MRM-659
>             Project: Archiva
>          Issue Type: Bug
>          Components: remote proxy
>    Affects Versions: 1.0
>            Reporter: nicolas de loof
>            Assignee: Brett Porter
>             Fix For: 1.0.2
>
>
> requesting an ejb from a maven1 repository builds the path "groupId/jars/artifactId.jar", and not the location where maven1 ejb:deploy places the ejb jars (groupId/ejbs/artifactId.jar). The type folder is created based on the file extension, with some exceptions. It should be created based on the artifact type. 

-- 
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