You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Vamsavardhana Reddy (JIRA)" <ji...@apache.org> on 2007/08/08 10:18:59 UTC

[jira] Commented: (GERONIMO-3351) Plugin installer downloads a different version of dependecy than the one specified

    [ https://issues.apache.org/jira/browse/GERONIMO-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518380 ] 

Vamsavardhana Reddy commented on GERONIMO-3351:
-----------------------------------------------

Fixed in rev 563782 in branches\2.0 and  563785 in trunk.
o  A "query" for a (SNAPSHOT) version from remote repository sometimes results in a different version (call it "result").  And if result version is already in the server's repository, there is no point in downloading it again.  It is resulting in an error while copying the downloaded artifact to server's repository when it already exists.

Part that needs to be addressed/fixed:  Whether to copy the downloaded dependency under the "query" or the "result" version OR the dependency resolution to be handled in a different way.

> Plugin installer downloads a different version of dependecy than the one specified
> ----------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3351
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3351
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.0, 2.0.x, 2.1
>         Environment: G 2.0 Tomcat (should be applicable to G 2.0 Jetty as well)
>            Reporter: Vamsavardhana Reddy
>            Assignee: Vamsavardhana Reddy
>             Fix For: 2.0.x, 2.1
>
>
> Plugin installer downloads a different version of dependecy than the one specified.  A scenario below:
> I am trying to install a plugin which has a dependency on "commonj/sdo-api-r2.1/1.0-incubating-SNAPSHOT/jar".  During the stage at which the depedency jar are downloaded, I see the following:
> Searching for commonj/sdo- api-r2.1/1.0-incubating-SNAPSHOT/jar at http://people.apache.org/repo/m2-incubating-repository
> Downloading commonj/sdo-api-r2.1/1.0-incubating-beta1/jar...
> Notice that the version it is supposed to download (this is the same version specified in geronimo-plugin.xml) and the one it is actually downloading are different.
> The plugin is failing to start and is throwing an exception with "reason: Unable to resolve dependency commonj/sdo- api-r2.1/1.0-incubating-SNAPSHOT/jar".
> A discussion thread on dev-list is at http://www.mail-archive.com/dev@geronimo.apache.org/msg48842.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.