On 28/05/2008, Clement Escoffier <[EMAIL PROTECTED]> wrote: > > > -----Message d'origine----- > > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Stuart > > McCulloch > > Envoyé : mercredi 28 mai 2008 08:15 > > > À : [email protected] > > Objet : Re: obr for felix bundles? > > > > > 2008/5/28 Felix Meschberger <[EMAIL PROTECTED]>: > > > > > Hi Richard, > > > > > > Am Dienstag, den 27.05.2008, 21:55 -0400 schrieb Richard S. Hall: > > > > Felix, > > > > > > > > I don't have a problem with this approach (or any approach for that > > > matter). > > > > > > > > My only request is that we devise a method that is easy for us to > > update > > > > any time we have a new release. > > > > > > That would be mine, too. Clement seems to be working on a maven > > plugin > > > to update repository.xml files, with entries of deployed artifacts > > with > > > absolute URIs such that the repository.xml need not be located at the > > > maven repository root. > > > > > > > note that this is already possible, just use the bundle:deploy-file > > goal... > > > > > > http://felix.apache.org/site/apache-felix-maven-bundle-plugin- > > bnd.html#ApacheFelixMavenBundlePlugin(BND)-bundle%3Adeployfile > > > > you can set the bundle URL separately from the repository location. > > > I agree, the goal that I'm developing is very close of the deploy-file > goal. > In fact it's a mix between the deploy and the deploy-file goals. Instead of > giving the absolute bundle URL (required in the deploy-file if you want > absolute URL), the goal computes the URL from a given prefix > (http://repo1.maven.org or can be specified by the user) and from the > artifact. You don't have to specify the pom file to use, as it uses the > project pom file. The repository file access is given by following the > "maven way" (name::default::url). > > In fact, it's just a specific kind of deploy-file goal. Right now, it's a > separate goal, but it is easily "mergeable" with the deploy-file goal.
sounds like a useful addition, if it reduces configuration :) Clement > -- Cheers, Stuart

