1. I made a JIRA plugin which requires third-party jar libraries.
2. I copied the third-party jars into [JIRA Inst]/atlassian-jira/WEB-INF/lib .
3. But the plugin cannot get the classpath to the jars.
Q1. Is it right to copy third-party jars into [JIRA Inst]/atlassian-jira/WEB-INF/lib?
Q2. If it is not, how should I install third-party jars in JIRA?
I want to know JIRA plugin development rules in this perspective.
You'll probably be writing a plugins2 plugin, using maven, which is standard for the atlassian sdk. The method you should use is to deploy your dependencies into a maven repository, and mark them as a compile dependency in your plugins pom.xml. The SDK will then neatly bundle them into your plugin. Deploying JAR's into WEB-INF/lib is not guaranteed to work, and is not a recommended route.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot