I am using Gradle and the ospackage plugin to build RPM's
I want to deploy these to Artifactory Pro (online version)
I have gotten the Artifactory Gradle Publishing plugin to work - but no
matter what I do 
it insists on publishing the .ivy or .pom files.
As far as I can tell these have no use at all on a pure YUM Artifactory
repository - and clutter up the the directory structure.

I can do publishing directly via REST (I have a working script that does
this) but I like the build info features and there is value in using the
gradle plugin as part of the build process.

Any suggestions on this ?
Q) Any way to disable the publishing of the ivy.xml or .pom files ?
( I have tried a LOT of things but Im sure there are a million ways)

Q) Is there any value at all in having the IVY/POM files in a pure YUM
Repostitory (which otherwise contains ONLY .rpm's no jars,wars etc) ?  

Q) Is there any real *harm* having the 'cruft' of unneeded and unwanted
files (ivy/pom) in a pure YUM repository ?  It seems 'really wrong' to me to
have them, and particularly annoying that its so difficult or unobvious how
to avoid them -  but perhaps the pragmatic solution is to ignore them and
just let the plugin do its thing ? --- OR if there is harm - I need to
figure out how to configure the plugin differently, or bypass it with lower
level scripts..

 
Related Question)   I have found no effect (good or bad) of the "Layout" in
a YUM repository - 
Is the Layout used *at all* for YUM repositories ?  This is completely
neglected in the docs,  
and in the Admin GUI there is no indication if layouts have any use, harm,
or otherwise different
for YUM repositories - you can set the same options, nothing is disabled or
documented differently - 
yet they seem to have no affect.  
I *think* this is that YUM queries do not use the same metadata as Maven or
IVY queries - instead
only use the generated YUM metadata.   So layouts are never actually  used.
Anyone with any insight into this appreciated.
If I can figure out the current behaviour vs desired behavior then I can
write it up to JFrog as a enhancement/bug request - but as of now I cant
tell whats going on.






--
View this message in context: 
http://forums.jfrog.org/Suggestion-for-publishing-pure-RPM-s-to-Artifactory-Pro-YUM-repository-using-Gradle-tp7580347.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to