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
    
最終更新日 2017 年 9 月 28 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.