|
Hi,
I have a custom respository layout that I use with Ivy, but I would like to use Maven-like -SNAPSHOT naming, because when we use snapshots in development we only really need one for any particular project, and having stable naming helps. Trouble is, when I create a respository, and select our custom layout, the "Maven snapshot behaviour" combo is greyed out. I guess that means I can't have non-unique snapshots with a non-Maven layout? (yes, I see the naming ;) I did actually try it anyway, since you can pick the snapshot behaviour and then pick your repository, but since that doesn't work, I guess it is not intended to. At least it works until my second publish, as even when I set overwrite to true, where I get the error: [15:36:24]: [ivy:publish] impossible to publish artifacts for org#module;working@server: java.io.IOException: PUT operation to URL <a href="http://server:port/artifactory/repo/org/module/1.1.2-SNAPSHOT/ivy.xml">http://server:port/artifactory/repo/org/module/1.1.2-SNAPSHOT/ivy.xml failed with status code 404: Could not locate artifact 'repo:org/module/1.1.2-SNAPSHOT/ivy.xml'. Strangely, the JARs seem to publish though, just not the ivy file. Is it possible to do this somehow? Thanks for any info! Kieron Wilkinson |
|
Hi Kieron,
The Unique/Non-Unique is a maven concept, having said that there is no reason why what you are trying to do won't work, 1. Can you please give an example of an artifact path and ivy.xml path you are aiming for? 2. What is the layout configuration you are using? 3. Which Artifactory version you are using? 4. Does the user you use for deploy has Delete permission? 5. Do you see any clues in the $ARTIFACTORY_HOME/logs/artifactory.log and request.log when the build is failing? Thanks, Eli On Fri, Jan 13, 2012 at 6:34 PM, kieron <[hidden email]> wrote: Hi, ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Artifactory-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
Hi Eli,
Thanks very much for your questions. Going through and getting that information for you helped me see what was wrong. Basically, I was trying to publish an ivy.xml as "ivy.xml" into the repository (that worked, but only the first time). However, my repository pattern was expecting ivy-SNAPSHOT.xml for the snapshots. Once I corrected the path in my ivysettings.xml, every started working perfectly. Thanks! Kieron |
| Powered by Nabble | See how NAML generates this page |
