This page last changed on Nov 28, 2007 by rosie@atlassian.com.

Due to licensing restrictions, we are not allowed to re-distribute native SUN 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 Sun 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 Sun's 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 JAR into your local Maven2 repository:
  1. Download the javax.transaction:jta:jar Jar from Sun's 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
    
Document generated by Confluence on Mar 09, 2009 17:07