Working with Java libraries

Due to licensing restrictions, we are not allowed to re-distribute native Java libraries through our maven2 public repositories.

If you are developing plugins for Bamboo or building Bamboo from source, you might need javax.mail and javax.transaction:jta:jar for Bamboo to build successfully. The relevant POMs for this look something like this:

.......
<dependency>
  <groupId>javax.mail</groupId>
   <artifactId>mail</artifactId>
   <version>1.3.2</version>
   <scope>compile</scope>
 </dependency>
<dependency>
  <groupId>jta</groupId>
   <artifactId>jta</artifactId>
   <version>1.0.1</version>
   <scope>compile</scope>
</dependency>
.......

Before building, please install the Oracle JAR's into your local Maven2 repositories by following the instructions below.

To install the javax.mail jar into your local Maven2 repository:
  1. Download the javax.mail jar from the Oracle website.
  2. Install it on our your local machine by entering the following command in a terminal:

    mvn install:install-file -DgroupId=javax.mail -DartifactId=mail -Dversion=1.3.3 -Dpackaging=jar -Dfile=YOUR/PATH/TO/FILE
    
To install javax.transaction:jta:jar  into your local Maven2 repository:
  1. Download the javax.transaction:jta:jar from the Oracle website.
  2. Install it on your local machine by entering the following command in a terminal:

    mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta  -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file
    
Last modified on Dec 15, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.