[Bamboo Knowledge Base]
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.
javax.mail
jar into your local Maven2 repository:javax.mail
jar from the Oracle website.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
javax.transaction:jta:jar
into your local Maven2 repository: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