Shipping third-party JARs with plugin

Hey everyone,

The Intellij IDEA plugin I'm developing relies on some third-party JAR files that, due to licensing issues, I cannot ship with the plugin package itself. In other words, the user would need to obtain those JARs themselves, and make them available to the plugin. Does IDEA have some mechanism whereby the user could "drop in" said JAR files so they get picked up by the IDE when it starts, and therefore they would be usable by my plugin code? I've been reviewing the plugin dev documentation, but I haven't found anything relevant.


Thanks!

0
2 comments

The user can manually copy the jars into the plugin directory, or you can write your own auxiliary plugin that will prompt the user for the location of the jars and copy them to the directory of your main plugin. There is no mechanism provided by the platform to take care of this automatically.

0
Avatar
Permanently deleted user

Hi Dmitry, this is the exact situation I am in, and the approach you suggested should work for me. Just wanted to check if between the time you answered the question to now, if there is any better way of doing the same?

Thank you!

0

Please sign in to leave a comment.