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

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
TAGS

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