You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Gr?gory Joseph (JIRA)" <ji...@codehaus.org> on 2006/01/02 17:35:12 UTC

[jira] Created: (MNG-1912) Support for ivy repositories

Support for ivy repositories
----------------------------

         Key: MNG-1912
         URL: http://jira.codehaus.org/browse/MNG-1912
     Project: Maven 2
        Type: Wish

  Components: Artifacts and Repositories  
    Versions: 2.0.1    
    Reporter: Grégory Joseph


Hi,

It'd be nice if maven would support ivy-style repositories. They're similar to maven's, but not truly the same. It seems pretty straightforward to write a new implementation of ArtifactRepositoryLayout, but the lack of javadoc left me dubious re: the semantics of each method to implement ;)

It might of course be better, but more complex, to also support ivy dependencies... but I'd be happy with being able to just get artifacts from http://ivyrep.opensymphony.com/ without having to manually install them, for instance.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1912) Support for ivy repositories

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1912?page=comments#action_54694 ] 

Carlos Sanchez commented on MNG-1912:
-------------------------------------

opensymphony has already a maven repository that it's automatically sync'd to ibiblio

> Support for ivy repositories
> ----------------------------
>
>          Key: MNG-1912
>          URL: http://jira.codehaus.org/browse/MNG-1912
>      Project: Maven 2
>         Type: Wish

>   Components: Artifacts and Repositories
>     Versions: 2.0.1
>     Reporter: Grégory Joseph

>
>
> Hi,
> It'd be nice if maven would support ivy-style repositories. They're similar to maven's, but not truly the same. It seems pretty straightforward to write a new implementation of ArtifactRepositoryLayout, but the lack of javadoc left me dubious re: the semantics of each method to implement ;)
> It might of course be better, but more complex, to also support ivy dependencies... but I'd be happy with being able to just get artifacts from http://ivyrep.opensymphony.com/ without having to manually install them, for instance.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1912) Support for ivy repositories

Posted by "Gr?gory Joseph (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1912?page=comments#action_54717 ] 

Grégory Joseph commented on MNG-1912:
-------------------------------------

Hmmm, that could be pretty annoying, but I guess I'd play with exclusions in that case. I reckon it's pretty clumsy - OTOH, in my particular case, I'd just want to this while webwork 2.2 final is not released, because it is likely to be on ibiblio once it's released, anyway.

Hmm, not sure what to think now ;)

> Support for ivy repositories
> ----------------------------
>
>          Key: MNG-1912
>          URL: http://jira.codehaus.org/browse/MNG-1912
>      Project: Maven 2
>         Type: Wish

>   Components: Artifacts and Repositories
>     Versions: 2.0.1
>     Reporter: Grégory Joseph

>
>
> Hi,
> It'd be nice if maven would support ivy-style repositories. They're similar to maven's, but not truly the same. It seems pretty straightforward to write a new implementation of ArtifactRepositoryLayout, but the lack of javadoc left me dubious re: the semantics of each method to implement ;)
> It might of course be better, but more complex, to also support ivy dependencies... but I'd be happy with being able to just get artifacts from http://ivyrep.opensymphony.com/ without having to manually install them, for instance.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1912) Support for ivy repositories

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1912?page=comments#action_54709 ] 

Brett Porter commented on MNG-1912:
-----------------------------------

yes, we could do it without transitive deps.

While the groupIds and organization have the same purpose, the fact that they don't match will mean that mediation will fail if the maven-repo pulls in some other version.

The only way I can think of making that work is for the ivy descriptor or the maven poms to include a mapping, with the default of them being the same being a best guess.

They are unlikely to be the same over time. We are moving to dotted group IDs and since Ivy completely leverages the Maven 1 repo, they generally don't.


> Support for ivy repositories
> ----------------------------
>
>          Key: MNG-1912
>          URL: http://jira.codehaus.org/browse/MNG-1912
>      Project: Maven 2
>         Type: Wish

>   Components: Artifacts and Repositories
>     Versions: 2.0.1
>     Reporter: Grégory Joseph

>
>
> Hi,
> It'd be nice if maven would support ivy-style repositories. They're similar to maven's, but not truly the same. It seems pretty straightforward to write a new implementation of ArtifactRepositoryLayout, but the lack of javadoc left me dubious re: the semantics of each method to implement ;)
> It might of course be better, but more complex, to also support ivy dependencies... but I'd be happy with being able to just get artifacts from http://ivyrep.opensymphony.com/ without having to manually install them, for instance.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1912) Support for ivy repositories

Posted by "Gr?gory Joseph (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1912?page=comments#action_54695 ] 

Grégory Joseph commented on MNG-1912:
-------------------------------------

Well, seems to me their ivy built snapshots aren't, at least, and that's those I currently need.
Doesn't the request makes sense, generally, though ? For the sake of interoperability ?

> Support for ivy repositories
> ----------------------------
>
>          Key: MNG-1912
>          URL: http://jira.codehaus.org/browse/MNG-1912
>      Project: Maven 2
>         Type: Wish

>   Components: Artifacts and Repositories
>     Versions: 2.0.1
>     Reporter: Grégory Joseph

>
>
> Hi,
> It'd be nice if maven would support ivy-style repositories. They're similar to maven's, but not truly the same. It seems pretty straightforward to write a new implementation of ArtifactRepositoryLayout, but the lack of javadoc left me dubious re: the semantics of each method to implement ;)
> It might of course be better, but more complex, to also support ivy dependencies... but I'd be happy with being able to just get artifacts from http://ivyrep.opensymphony.com/ without having to manually install them, for instance.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1912) Support for ivy repositories

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1912?page=comments#action_54716 ] 

Brett Porter commented on MNG-1912:
-----------------------------------

Ivy has its own structure, but for 90% of its jars, it leverages the Maven 1 repo. 

The problem you will encounter is if you depend on an Ivy snapshot, with fake-groupId "opensymphony", and another of your dependencies also requires real-maven-dependency "com.opensymphony:webwork:2.2". Maven will think these are different, and include them both.


> Support for ivy repositories
> ----------------------------
>
>          Key: MNG-1912
>          URL: http://jira.codehaus.org/browse/MNG-1912
>      Project: Maven 2
>         Type: Wish

>   Components: Artifacts and Repositories
>     Versions: 2.0.1
>     Reporter: Grégory Joseph

>
>
> Hi,
> It'd be nice if maven would support ivy-style repositories. They're similar to maven's, but not truly the same. It seems pretty straightforward to write a new implementation of ArtifactRepositoryLayout, but the lack of javadoc left me dubious re: the semantics of each method to implement ;)
> It might of course be better, but more complex, to also support ivy dependencies... but I'd be happy with being able to just get artifacts from http://ivyrep.opensymphony.com/ without having to manually install them, for instance.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1912) Support for ivy repositories

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1912?page=comments#action_54753 ] 

Carlos Sanchez commented on MNG-1912:
-------------------------------------

It'd be easier for you to ask opensymphony to host a maven snapshots repo in their side

> Support for ivy repositories
> ----------------------------
>
>          Key: MNG-1912
>          URL: http://jira.codehaus.org/browse/MNG-1912
>      Project: Maven 2
>         Type: Wish

>   Components: Artifacts and Repositories
>     Versions: 2.0.1
>     Reporter: Grégory Joseph

>
>
> Hi,
> It'd be nice if maven would support ivy-style repositories. They're similar to maven's, but not truly the same. It seems pretty straightforward to write a new implementation of ArtifactRepositoryLayout, but the lack of javadoc left me dubious re: the semantics of each method to implement ;)
> It might of course be better, but more complex, to also support ivy dependencies... but I'd be happy with being able to just get artifacts from http://ivyrep.opensymphony.com/ without having to manually install them, for instance.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1912) Support for ivy repositories

Posted by "Gr?gory Joseph (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1912?page=comments#action_54715 ] 

Grégory Joseph commented on MNG-1912:
-------------------------------------

> They are unlikely to be the same over time. We are moving to dotted group IDs and since Ivy completely leverages > the Maven 1 repo, they generally don't.
Hmm, it doesn't seem to me that ivy has the same repo structure as m1 (it doesn't have the "jars" directory for instance), but maybe I misunderstood you there.

And, I'm sure I'm getting this. Say I'd want to have a dependency on webwork: eventhough the "organisation" in ivy probably describes this artifact's organisation as "opensymphony" and artifactId-or-whatever-they-use as "webwork", couldn't I simply, in my pom, have a dep on opensymphony.webwork:webwork:2.2 for instance ? Granted, users would need to know this, rather than following ivy-oriented instructions from that project they want to depend on. It would not be a problem *for me*, now I don't know about the average user !? :)

> Support for ivy repositories
> ----------------------------
>
>          Key: MNG-1912
>          URL: http://jira.codehaus.org/browse/MNG-1912
>      Project: Maven 2
>         Type: Wish

>   Components: Artifacts and Repositories
>     Versions: 2.0.1
>     Reporter: Grégory Joseph

>
>
> Hi,
> It'd be nice if maven would support ivy-style repositories. They're similar to maven's, but not truly the same. It seems pretty straightforward to write a new implementation of ArtifactRepositoryLayout, but the lack of javadoc left me dubious re: the semantics of each method to implement ;)
> It might of course be better, but more complex, to also support ivy dependencies... but I'd be happy with being able to just get artifacts from http://ivyrep.opensymphony.com/ without having to manually install them, for instance.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1912) Support for ivy repositories

Posted by "Gr?gory Joseph (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1912?page=comments#action_54706 ] 

Grégory Joseph commented on MNG-1912:
-------------------------------------

s/first/first sight/
s/seems/seemed/
s/make/map/

Jeez, I need a proof-reader.

> Support for ivy repositories
> ----------------------------
>
>          Key: MNG-1912
>          URL: http://jira.codehaus.org/browse/MNG-1912
>      Project: Maven 2
>         Type: Wish

>   Components: Artifacts and Repositories
>     Versions: 2.0.1
>     Reporter: Grégory Joseph

>
>
> Hi,
> It'd be nice if maven would support ivy-style repositories. They're similar to maven's, but not truly the same. It seems pretty straightforward to write a new implementation of ArtifactRepositoryLayout, but the lack of javadoc left me dubious re: the semantics of each method to implement ;)
> It might of course be better, but more complex, to also support ivy dependencies... but I'd be happy with being able to just get artifacts from http://ivyrep.opensymphony.com/ without having to manually install them, for instance.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1912) Support for ivy repositories

Posted by "Gr?gory Joseph (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1912?page=comments#action_54705 ] 

Grégory Joseph commented on MNG-1912:
-------------------------------------

Isn't it possible to implement support for retrieving the main artifacts from an ivy-repository without necessarily enabling transitive dependencies ?

And at first, it seems the ivy "organisation" concept would make to maven's groupId, isn't that the case ?

> Support for ivy repositories
> ----------------------------
>
>          Key: MNG-1912
>          URL: http://jira.codehaus.org/browse/MNG-1912
>      Project: Maven 2
>         Type: Wish

>   Components: Artifacts and Repositories
>     Versions: 2.0.1
>     Reporter: Grégory Joseph

>
>
> Hi,
> It'd be nice if maven would support ivy-style repositories. They're similar to maven's, but not truly the same. It seems pretty straightforward to write a new implementation of ArtifactRepositoryLayout, but the lack of javadoc left me dubious re: the semantics of each method to implement ;)
> It might of course be better, but more complex, to also support ivy dependencies... but I'd be happy with being able to just get artifacts from http://ivyrep.opensymphony.com/ without having to manually install them, for instance.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1912) Support for ivy repositories

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1912?page=comments#action_54700 ] 

Brett Porter commented on MNG-1912:
-----------------------------------

this is not just another layout but an entirely different resolver:
- we'd need to be able to map the ivy "organization" to maven "group id"
- we'd need to be able to parse ivy xml descriptors to enable transitive dependencies

I've no objection to someoneone implementing this, but won't be highly prioritising it myself. If folks need it, please vote.

> Support for ivy repositories
> ----------------------------
>
>          Key: MNG-1912
>          URL: http://jira.codehaus.org/browse/MNG-1912
>      Project: Maven 2
>         Type: Wish

>   Components: Artifacts and Repositories
>     Versions: 2.0.1
>     Reporter: Grégory Joseph

>
>
> Hi,
> It'd be nice if maven would support ivy-style repositories. They're similar to maven's, but not truly the same. It seems pretty straightforward to write a new implementation of ArtifactRepositoryLayout, but the lack of javadoc left me dubious re: the semantics of each method to implement ;)
> It might of course be better, but more complex, to also support ivy dependencies... but I'd be happy with being able to just get artifacts from http://ivyrep.opensymphony.com/ without having to manually install them, for instance.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org