Quantcast
Channel: Node Development - KNIME Community Forum
Viewing all articles
Browse latest Browse all 101

Adding Maven dependencies to KNIME node plugin

$
0
0

I am trying to add some none-Eclipse p2 dependencies (specifically, dependencies which are available on Maven Central) to a custom node plugin. I was searching this again to see if there is a better alternative than the 2 ‘legacy’ or ‘pure Eclipse/OSGi’ approaches of:

  • Download the jar and put it in a /lib folder in the plugin using it and add to class path
  • As described in the node guidelines ‘If it might be useful, wrap it in its own plugin for reuse’

(I’ve never done the second as never been entirely sure on the precise details of doing so!)

So, I did a bit more searching and came across this useful anser from @gab1one

Continuing the discussion from Importing Maven Dependencies into KNIME Nodes:

My question is though - can I use that as part of a multi-module build to ‘just make those available to the other modules’ (and if so, how do I do that?!) or do I have to have a separate project to build and publish the update site somewhere as in the README for GitHub - reficio/p2-maven-plugin: Maven3 plugin that automates the third-party dependency management for Eclipse RCP ?

Thanks

Steve

6 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 101

Latest Images

Trending Articles



Latest Images