This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Looking For A 'Hello World" Plugin For Taverna.

Hi all,

I'd like to create a very simple plugin for Taverna 2.0, something very simple like like implementing a 'convertDnaToRna'. There is already some source code that can be found on the net e.g. Egon Willighagen's code at http://github.com/egonw/cdk-taverna but it requires to know Maven and.... I'm too lazy :-)

How can I implement this kind of simple plugin without maven ? ( I just want to compile, package & create the right XML config files)

Thanks!

workflow

2 answers

Pierre, I feel your pain; Maven is not quite my friend either... Taverna is a really modular, and comes with very many dependencies... these are recursively defined and resolved using Maven... I'd love to build a plugin without it too, but never dared setting up such a system myself :)

However, the Taverna developers have written up a tutorial for creating new plugins all from within an Eclipse (with Maven plugin) environment, which I used on Friday to set up a functional plugin from scratch in a few hours. I first thought it was typical for calling SOAP services, but in fact is pretty general. You may find yourself removing a lot of template code, as the template you install (a Maven archetype) is a full 'activity', and not a simple one port in, one port out one.

Stop being silly and just learn Maven.

It's not that hard and once you get to know it you'll never want to go back to finding and downloading jars, settings up the classpath, etc..

I guess I should flag this anwser as correct :-) However, if someone has a method to build a simple plugin without maven, feel free to write it here. Thanks :-)

Log in to answer this question.