ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: Deploying to a Maven Repo with Ivy
Date Mon, 13 Oct 2008 17:48:48 GMT
On Mon, Oct 13, 2008 at 10:27 AM, Hans Dockter <mail@dockter.biz> wrote:

> Hi,
>
> I have started work to enable Ivy deploying to Maven repositories.
>
> The first step has been pom generation. I know that Ivy has some code for
> this but I found it rather inflexible and could not use it for my purposes.
> The pom generation in Gradle works now and I will write more on this in
> another posting. The Gradle team would be happy to contribute this code to
> Ivy.
>
> The next step is deploying, including deploying snapshots. Leaving aside
> the question on how to integrate Maven deployment into the Ivy
> resolver/repository framework. The rules for deployment, in particular
> snapshot deployment are still somewhat mysterious to me (I have read the
> thread http://www.nabble.com/understanding-SNAPSHOT-versions-to10444825.html).
> The behavior is not documented and I guess can also be a changing target.
>
> My question is: The Ivy team had to dive into the metadata stuff for
> implementing the retrieval of snapshots. Is the logic how to modify the
> metadata when deploying a new artifact (including snapshots) clear to you?

The honest answer is no, this is not clear at least for me, I just tried to
make sure in the two main cases: when a specific version is given to the
snapshot, and when SNAPSHOT is used. The code to parse maven-metadata.xml
files is very simple, and can't be of any help in this case. I guess the
most reliable information can only come from Maven guys.

Xavier

>
>
> - Hans
>
> --
> Hans Dockter
> Gradle Project lead
> http://www.gradle.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>


-- 
Xavier Hanin - Independent Java Consultant
BordeauxJUG co leader - http://www.bordeauxjug.org/
Blogger - http://xhab.blogspot.com/
Apache Ivy Creator - http://ant.apache.org/ivy/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message