cancel
Showing results for 
Search instead for 
Did you mean: 

problem with release strategy

m2spring
Champ in-the-making
Champ in-the-making
Hi Tijs,

I'm working on an integration of the Activiti engine with Jenkins in form of a Jenkins plugin (http://wikicentral.cisco.com/display/JENKINS/Jenkow).
This integration allows to define Jenkins job "orchestrations" as BPMN workflows.
For the authoring of these workflows I rely on Activiti Designer in Eclipse.
A custom designer extension is part of my effort.
To make it easy for a Jenkins admin to author his workflows I want to bundle the Activiti Designer together with my designer extension (plus one additional Eclipse plugin) and ship it with my Jenkins plugin.
The admin would then simply install all of this into Eclipse by accessing a URL of his Jenkins instance and Jenkins would serve out the update site.

Now here's the problem:
Basically every time a newer version was released, it's not available on the Maven repository
https://maven.alfresco.com/nexus/content/repositories/public/org/activiti/activiti-designer-integrat....
At the same time, the update site http://activiti.org/designer/update/ has only the latest version.

This makes it very challenging to build my Jenkins plugin against a well-defined Activiti Designer version,
so that I have a designer extension used with the same Designer version as it was built against.

Do you see a way this could be improved?
E.g. if there were fixed version update sites, e.g. http://activiti.org/designer/update/5.9.3/, I could build my Jenkow update site against it.

And of course, having each Designer release available in the Maven repository would be very helpful too 🙂

What do you think?
Thanks a lot!
-Max
3 REPLIES 3

m2spring
Champ in-the-making
Champ in-the-making
Tijs,

here's a simple solution, in module org.activiti.designer.updatesite
- change the packaging from clipse-update-site to eclipse-repository,
- rename site.xml to category.xml.

Tycho will then also create org.activiti.designer.updatesite-5.9.3.zip which is the zipped-up update site.

If you do 'mvn deploy' this zip file will end up on the Maven repository.
From there I can consume it as a versioned artifact.

This would solve my problem.

Thanks!
-Max

trademak
Star Contributor
Star Contributor
Hi Max,

That sounds like a decent solution. Will Tycho also keep generating an update site as well when you change it to an eclipse-repository?
If that's not the case I can still add an additional project for this of course.

Best regards,

m2spring
Champ in-the-making
Champ in-the-making
Hi Tijs,

yes, with packaging=eclipse-repository Tycho produces the typical update site hierarchy, too.
It sits under target/repository/ (with packaging=eclipse-update-site it sits under target/site/).

Can you make this change?

Thanks!
-Max