Hi felix, I was wondering if it would not be a good idea to declare properties also at the top level for SNAPSHOTs ? Everytime we release a version, and switch to the next one, we have to change all the poms where we have a shared-ldap-0.9.xxx-SNAPSHOT.
Does it make sense ? On Thu, Feb 12, 2009 at 11:37 AM, <[email protected]> wrote: > Author: felixk > Date: Thu Feb 12 10:37:58 2009 > New Revision: 743680 > > URL: http://svn.apache.org/viewvc?rev=743680&view=rev > Log: > Replace url by property > - Have the same construct as e.g. in studio > - Make the deployment URL changeable via property (can be set/overwritten in > CLI) > > Modified: > directory/studio-plugin/trunk/pom.xml > > Modified: directory/studio-plugin/trunk/pom.xml > URL: > http://svn.apache.org/viewvc/directory/studio-plugin/trunk/pom.xml?rev=743680&r1=743679&r2=743680&view=diff > ============================================================================== > --- directory/studio-plugin/trunk/pom.xml (original) > +++ directory/studio-plugin/trunk/pom.xml Thu Feb 12 10:37:58 2009 > @@ -56,10 +56,14 @@ > <distributionManagement> > <site> > <id>apache.directory.studio.plugin</id> > - > <url>scpexe://vm094.oxylos.org/var/www/html/projects/studio-plugin/</url> > + <url>${distributionManagement.site.url}</url> > </site> > </distributionManagement> > > + <properties> > + > <distributionManagement.site.url>scpexe://vm094.oxylos.org/var/www/html/projects/studio-plugin/</distributionManagement.site.url> > + </properties> > + > <build> > <plugins> > <plugin> > > > -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
