On Mon, Oct 13, 2008 at 10:27 AM, Hans Dockter <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- 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/