On 21 July 2014 09:08, Matt Magoffin <[email protected]> wrote: >> Cool - in that case you should be able to implement RepositoryListener: >> https://github.com/apache/archiva/blob/master/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/repository/events/RepositoryListener.java >> >> That's hooked into most deletion events within Archiva. > > That's interesting, thank you. I will look into this API. > > Is there a way to know, however, if the user has initiated a full > directory scan from the UI, so that I might recreate the metadata.xml from > scratch? I thought this would be nice, just in case something is missed
you have the boolean executeOnEntireRepo I reckon the api could be improve to be more easily extensible but this need to fully break the api.... > >> That's great. I'm not an OBR user but there are others here that are. IS >> this something you're interested in seeing shipped with Archiva by >> default? Yup sounds really interesting. > > I of course have a need for this OBR support, and would think it wonderful > if Archiva shipped with support by default, yes! The OBR metadata file can > get rather large, so I had thought long term I'd need to add support for > only including the latest versions of all artifacts in the published file. > > I did license my code as GPLv2, but would be happy to switch that to an > Apache license if that would be helpful. @apache we cannot accept any GPLv* contributions. So yes if you want to contribute it, you must change it to Apache license. Olivier > > -- m@ > -- Olivier Lamy Ecetera: http://ecetera.com.au http://twitter.com/olamy | http://linkedin.com/in/olamy
