Quantcast

Accessing an Ivy repository

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Accessing an Ivy repository

David Biesack
Can Artifactory tie into a remote Ivy repository?

--
David J. Biesack, SAS
SAS Campus Dr. Cary, NC 27513
www.sas.com    (919) 531-7771




------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Accessing an Ivy repository

Yoav Landman
Administrator
No sure I fully understand the use case. Do you want to download artifacts from a remote Ivy repo? What metadata do you want to use for locating the Ivy module? Could you elaborate?

Thanks,

Yoav
On Mon, Jul 27, 2009 at 11:09 PM, David Biesack <[hidden email]> wrote:
Can Artifactory tie into a remote Ivy repository?

--
David J. Biesack, SAS
SAS Campus Dr. Cary, NC 27513
www.sas.com    (919) 531-7771




------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Accessing an Ivy repository

David Biesack
In reply to this post by David Biesack

> No sure I fully understand the use case. Do you want to download artifacts
> from a remote Ivy repo? What metadata do you want to use for locating the
> Ivy module? Could you elaborate?

Yes, I would like to add an Ivy repository into our chain of Maven repositories.
My team is using Maven and artifactory and another group is using Ivy; we'd like
to be able to use jars in their Ivy repo within our Maven builds, but not
have to manually import them into our Maven/Artifactory repo.

In our artifactory.config.xml (we're still using Artifactory 1.2 but
would upgrade if this were available in newer releases), we would add a
new <remoteRepository>

        <remoteRepository>
            <key>SASIvy</key>
            <handleReleases>true</handleReleases>
            <handleSnapshots>true</handleSnapshots>
            <url>http://some.internal.server/ivy</url>
        </remoteRepository>

My hope is that a Maven/Ivy connector would convert the Ive descriptors/dependencies
on-the-fly into Maven POMs.

For example, we have a product which wishes to use JAXM/SAAJ 1.1.1 which
is not in the traditional Maven repo but it is in our Ivy repo with an
ivy.xml. I'd like the connector to convert that ivy.xml into a Maven 2
POM.

It need not even be an Artifactory capability if there is some other web
server that I can install at a known url that I can specify in the
<remoteRepository> such that it looks like a Maven repo but actually
looks through to an Ivy repo.

> Thanks,
>
> Yoav
>
> On Mon, Jul 27, 2009 at 11:09 PM, David Biesack <[hidden email]>wrote:
>
> > Can Artifactory tie into a remote Ivy repository?

--
David J. Biesack, SAS
SAS Campus Dr. Cary, NC 27513
www.sas.com    (919) 531-7771

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Accessing an Ivy repository

Yoav Landman
Administrator
Ok, I see. Artifactory does not offer this functionality, unfortunately. Perhaps you'd want to explore the option you brought up, of exposing Ivy repositories as Maven ones, using a HTTP proxy. BTW, Ivy already has the codebase for automatically converting an ivy.xml metadata to a Maven POM (http://ant.apache.org/ivy/history/latest-milestone/use/makepom.html).

HTH,

Yoav

On Tue, Jul 28, 2009 at 3:19 PM, David J. Biesack <[hidden email]> wrote:

> No sure I fully understand the use case. Do you want to download artifacts
> from a remote Ivy repo? What metadata do you want to use for locating the
> Ivy module? Could you elaborate?

Yes, I would like to add an Ivy repository into our chain of Maven repositories.
My team is using Maven and artifactory and another group is using Ivy; we'd like
to be able to use jars in their Ivy repo within our Maven builds, but not
have to manually import them into our Maven/Artifactory repo.

In our artifactory.config.xml (we're still using Artifactory 1.2 but
would upgrade if this were available in newer releases), we would add a
new <remoteRepository>

       <remoteRepository>
           <key>SASIvy</key>
           <handleReleases>true</handleReleases>
           <handleSnapshots>true</handleSnapshots>
           <url>http://some.internal.server/ivy</url>
       </remoteRepository>

My hope is that a Maven/Ivy connector would convert the Ive descriptors/dependencies
on-the-fly into Maven POMs.

For example, we have a product which wishes to use JAXM/SAAJ 1.1.1 which
is not in the traditional Maven repo but it is in our Ivy repo with an
ivy.xml. I'd like the connector to convert that ivy.xml into a Maven 2
POM.

It need not even be an Artifactory capability if there is some other web
server that I can install at a known url that I can specify in the
<remoteRepository> such that it looks like a Maven repo but actually
looks through to an Ivy repo.

> Thanks,
>
> Yoav
>
> On Mon, Jul 27, 2009 at 11:09 PM, David Biesack <[hidden email]>wrote:
>
> > Can Artifactory tie into a remote Ivy repository?

--
David J. Biesack, SAS
SAS Campus Dr. Cary, NC 27513
www.sas.com    (919) 531-7771

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Loading...