You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Emmanuel Lecharny <el...@apache.org> on 2009/02/12 11:47:42 UTC

Re: svn commit: r743680 - /directory/studio-plugin/trunk/pom.xml

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,  <fe...@apache.org> 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

Re: svn commit: r743680 - /directory/studio-plugin/trunk/pom.xml

Posted by Felix Knecht <fe...@apache.org>.
Emmanuel Lecharny schrieb:
>>> Does it make sense ?
>> So you have all those properties in the TLP pom?
>> This will force us to release a new TLP pom everytime we do a release of any sub project (don't know if this has to be
>> considered as good or as bad).
> 
> I think this is already the case, no ?


Two more thoughts about this:
1. ATM you're not force to but it's done in most cases to reflect updated common dependencies.
2. You'll need to release always 2 TLP poms per release cycle: One with the released version properties and one
afterwards with the new SNAPSHOT versions to be able to continue development cyle.
The first released TLP pom you need to be able to do a rebuild of a release project - thinks of the following situation:
Checkout a released project (e.g. apacheds, and only this one!). It has as parent a (released) TLP pom. This pom MUST
have also released versions of dependencies, e.g. shared.

Felix


Re: svn commit: r743680 - /directory/studio-plugin/trunk/pom.xml

Posted by Emmanuel Lecharny <el...@apache.org>.
>> Does it make sense ?
>
> So you have all those properties in the TLP pom?
> This will force us to release a new TLP pom everytime we do a release of any sub project (don't know if this has to be
> considered as good or as bad).

I think this is already the case, no ? Alex ?
-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Re: svn commit: r743680 - /directory/studio-plugin/trunk/pom.xml

Posted by Felix Knecht <fe...@apache.org>.
Emmanuel Lecharny schrieb:
> 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 ?

So you have all those properties in the TLP pom?
This will force us to release a new TLP pom everytime we do a release of any sub project (don't know if this has to be
considered as good or as bad).

> 
> On Thu, Feb 12, 2009 at 11:37 AM,  <fe...@apache.org> 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>
>>
>>
>>
> 
> 
>