commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: svn commit: r1451672 - /commons/proper/ognl/trunk/pom.xml
Date Mon, 04 Mar 2013 07:05:23 GMT
2013/3/2 Olivier Lamy <olamy@apache.org>:
> 2013/3/2 Lukasz Lenart <lukaszlenart@apache.org>:
>> 2013/3/1 Olivier Lamy <olamy@apache.org>:
>>>> -    <commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
>>>> +    <commons.scmPubCheckoutDirectory>${project.build.directory}/site-content</commons.scmPubCheckoutDirectory>
>>> so if you use mvn clean. You will checkout again the content from svn.
>>> The goal with using site-content directory is to do only update rather
>>> than a full checkout even when using clean.
>>
>> Yes, I know and I thought about that a bit, either solution wasn't
>> good for me. I don't know how the Commons' release process looks like,
>> but in the Struts project we always perform release and site deploy
>> base on clear checkout, which means we must checkout the site anyway.
>
> Default from parent is
>     <!-- scm publish plugin configuration -->
>     <commons.site.cache>${user.home}/commons-sites</commons.site.cache>
>     <!-- value modules can override it -->
>     <commons.site.path>${project.artifactId}</commons.site.path>
>     <commons.scmPubCheckoutDirectory>${commons.site.cache}/${commons.site.path}</commons.scmPubCheckoutDirectory>
>
> IMHO it's better value.Note I added the hack with some antrun for
> sites which contains old javadocs which we don't modifiy so no need to
> checkout those paths.
> With your change as you checkout content to
> ${project.build.directory}/site-content, it means running mvn clean
> site twice you will checkout the content twice. Is it very helpful to
> checkout content twice because you're just building the site for
> testing purpose ?

I'm still a bit confused as I thought the site-content will be checked
out only when I want to make a new release and update the site. I see
how the profile is defined but I don't understand the flow :\

That said I'm going to revert the change :-)


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message