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

zerobarat1 October 1, 2019

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 B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 3, 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