Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho versus the maven-release-plugin

Could you give an example on how to run  tycho-versions-plugin to
update pom versions? I have looked at:

https://issues.sonatype.org/browse/TYCHO-214

but it does not show how the plugin is used/called.



On Mon, May 30, 2011 at 3:08 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:
> We use tycho-versions-plugin to set versions in pom.xml and eclipse
> metadata files en masse. The rest is manual.
>
> Beware that in OSGi and p2, version "1.2.3" is considered *older* than
> 1.2.3.<qualifier>. If you just strip .<qualifier> suffix for release
> version, OSGi and p2 will prefer the last snapshot over the release. You
> can either use even/odd convention for release and snapshots
> (1.2.3-SNAPSHOT gets released as 1.2.4, for example) or use
> fully-qualified release versions both in pom.xml and eclispe/osgi metadata.
>
> --
> Regards,
> Igor
>
> On 11-05-29 05:37 AM, motes motes wrote:
>>
>> We also need to do a "real" release soon. I think we basically just
>> create a tag in svn and then we can always generate p2 sites from the
>> content of the tags corresponding to released p2 sites.
>>
>> But how do you tycho guys perform a release in the first place? I am
>> familiar with performing pure maven releases and was thinking
>> something like this:
>>
>> 1) Remove .qualifier from all versions in manifest files. svn commit
>> 2) Remove .SNAPSHOT from all pom files. svn commit
>> 3) Create svn tag
>> 4) Increment all version (both in pom and manifest files) and add
>> .qualifer/.SNAPSHOT version suffix.
>>
>> If any of the above steps can be performed automatically I you be happy to
>> know!
>>
>>
>>
>> On Fri, May 27, 2011 at 8:01 PM, Benson Margulies<bimargulies@xxxxxxxxx>
>>  wrote:
>>>
>>> Oh! What are you all doing? Are you just always publishing sites from
>>> snapshot builds with qualifiers? I just assumed that I had to make a
>>> 'real release version'.
>>>
>>>
>>>
>>> On Fri, May 27, 2011 at 1:32 PM, Igor Fedorenko<igor@xxxxxxxxxxxxxx>
>>>  wrote:
>>>>
>>>> Yes -- it won't work.
>>>>
>>>> There is some discussion in TYCHO-214 [1], and I remember there were
>>>> patches for release-plugin somewhere, but I've never tried them myself.
>>>>
>>>> [1] https://issues.sonatype.org/browse/TYCHO-214
>>>>
>>>> --
>>>> Regards,
>>>> Igor
>>>>
>>>> On 11-05-27 01:00 PM, Benson Margulies wrote:
>>>>>
>>>>> Is there anything I need to know about running the release plugin on a
>>>>> set of tycho projects?
>>>>> _______________________________________________
>>>>> tycho-user mailing list
>>>>> tycho-user@xxxxxxxxxxx
>>>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>>>>
>>>> _______________________________________________
>>>> tycho-user mailing list
>>>> tycho-user@xxxxxxxxxxx
>>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>>>>
>>> _______________________________________________
>>> tycho-user mailing list
>>> tycho-user@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>>>
>> _______________________________________________
>> tycho-user mailing list
>> tycho-user@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
>


Back to the top