When you run the shell scripts in the Atlassian Plugin SDK, Maven may complain that it cannot find Java Mail, Java Activation or JTA.
For example, for the Java Activation, Maven will give this error:
Embedded error: Missing: javax.activation:activation:jar:1.0.2
Sun will not allow Maven to redistribute its binaries. Instead, all users must install Sun binaries manually by downloading them from Sun's website and running the atlas-mvn install
command. You'll find instructions in the Maven documentation here and here.
You will find the Sun binaries in these locations:
The Maven install command looks like this:
1 2atlas-mvn install:install-file -DgroupId=javax.XXXXX -DartifactId=XXXXX \ -Dversion=X.X.X -Dpackaging=jar -Dfile=/path/to/XXXX-X_X_X.jar
Issue with Atlassian Plugin SDK
A known issue with the Atlassian Plugin SDK is causing problems with maven parameters. You may need to run the above command directly from your maven directory. Please see AMPS-197 for more information.
Below, as an example of the detailed installation process, we give specific instructions on installing the JavaBeans Activation Framework (JAF).
Download JAF.
Unzip the downloaded file.
Go to the folder which contains the activation.jar
file that you have just unzipped.
Install JAF using the following command:
1 2atlas-mvn install:install-file -DgroupId=javax.activation -DartifactId=activation -Dversion=1.0.2 -Dpackaging=jar -Dfile=activation.jar
Issue with Atlassian Plugin SDK
A known issue with the Atlassian Plugin SDK is causing problems with maven parameters. You may need to run the above command directly from your maven directory. Please see AMPS-197 for more information.
Rate this page: