Ahh, I remember now...

(It's documented here:
http://uima.apache.org/eclipse-update-site.html
scroll down to "How the update site build works".

The basic idea: an update site typically consists of plugins and 1 (or more)
features, at various levels.  (I know, Peter, you were suggesting a separate
update site - however this is for the more conventional way these are laid out).

The build process takes the new version of these, and essentially "appends"
these to the existing site.  Since our release distributions are now managed by
the relatively new svn: https://dist.apache.org/repos/dist (see
http://www.apache.org/dev/release-publishing.html#distribution_dist ), the basic
technique used is:

1) do a remote svn copy (actually a delete / copy since svn won't copy over
existing things) from the "release" spot to the "dev" spot.  (Note that this
doesn't do a real data copy, but rather just some svn meta data - so it's very
cheap).

2) check this out into the trunk .../target build spot - so the local build
starts with the existing update site.

3) add the local build results to this.

I see your point, though; we should probably only do this "full" kind of build
when apache-release is true.   When it isn't, we could skip the dev spot
manipulation.  Do you agree?

-Marshall
On 7/8/2013 1:28 PM, Marshall Schor wrote:
> ok, I'll take a look ...
>
> -M
> On 7/8/2013 12:43 PM, Peter Klügl wrote:
>> I did "mvn clean package" (with the local-build-configuration profile).
>>
>> I have not found the "release:prepare" limitation in the parent-pom.
>>
>> The marker file activates the profile "build-eclipse-update-subsite" and
>> then the svn operations are performed if the config (eclipse.home) is
>> valid. There is an "if(${isApacheRelease})" for the checksums.
>>
>> Well, it is likely that I missed something, but I haven't found it yet ;-)
>>
>> Peter
>>
>>
>>
>> On 08.07.2013 18:30, Marshall Schor wrote:
>>> hmmm,  it should be.
>>>
>>> Did you try running "mvn install" on this pom?
>>>
>>> I think the svn commit things happen only for "mvn release:prepare".
>>>
>>> -Marshall
>>> On 7/8/2013 8:30 AM, Peter Klügl wrote:
>>>> I actually wonder how to build a (uimaj) snapshot update site locally...
>>>> If I understand the parent-pom correctly, then this is not supported
>>>> anymore. Or did I miss something?
>>>>
>>>> Peter
>>>>
>>>>
>>>> On 08.07.2013 14:05, Peter Klügl wrote:
>>>>> Sorry for that. I was just trying to build the update site locally...
>>>>>
>>>>> Peter
>>>>>
>>>>> On 08.07.2013 14:04, [email protected] wrote:
>>>>>> Author: pkluegl
>>>>>> Date: Mon Jul  8 12:04:12 2013
>>>>>> New Revision: 2393
>>>>>>
>>>>>> Log:
>>>>>> prepare for building eclipse update site component uimaj
>>>>>>
>>>>>> Added:
>>>>>>     dev/uima/eclipse-update-site/uimaj/
>>>>>>       - copied from r2392, release/uima/eclipse-update-site/uimaj/
>

Reply via email to