It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Which POM.xml to modify to add a third party lib?

I am trying to add some third party jars to our test instance. I saw that in JIRA we have 3 pom.xml files:

/atlassian/jira/atlassian-jira/META-INF/maven/com.atlassian.jira/atlassian-jira-webapp/pom.xml
/atlassian/jira/atlassian-jira/META-INF/maven/com.atlassian.jira/jira-webapp-dist/pom.xml
/atlassian/jira/atlassian-jira/WEB-INF/classes/META-INF/maven/com.atlassian.jira/jira-core/pom.xml

 

I tried modifying the first and third one with no success. I am guessing there is another master POM.xml I need to modify.

 

I need to add the following libs:

<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId>
<version>0.9.0</version>
</dependency>

<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20171018</version>
</dependency>

 

I can also confirm that I have marked them as compile using <scope>compile</scope>.

 

Any support with this would be very appreciated.

1 answer

1 accepted

0 votes
Answer accepted
Dario Atlassian Team Oct 03, 2019

Hi @zerobarat1 ,

Even if I might not be the best person to answer this question, can you kindly let us know what you are trying to achieve (building a plugin or anything else)?

If you are building a plugin, then this topic has already been discussed in the below threads:

 

 

 

Cheers,
Dario

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

334 views 1 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you