...
Expand |
---|
title | for app versions >= 3.3.15 |
---|
|
Download the following filesAdd the files to your Maven repositoryThere are two possibilities to install the library files. Either install them in a local Maven repository or deploy them to a hosted Maven repository. Install in the local Maven repository Code Block |
---|
mvn install:install-file -Dfile=user-profiles-external-api-1.1.0.jar -DgroupId=de.communardo.atlassian.plugins.userprofile.external.api -DartifactId=user-profiles-external-api -Dversion=1.1.0 -Dpackaging=jar -Djavadoc=user-profiles-external-api-1.1.0-javadoc.jar |
Deploy to a hosted Maven repository Code Block |
---|
mvn deploy:deploy-file -Dfile=user-profiles-external-api-1.1.0.jar -DgroupId=de.communardo.atlassian.plugins.userprofile.external.api -DartifactId=user-profiles-external-api -Dversion=1.1.0 -Dpackaging=jar -Djavadoc=user-profiles-external-api-1.1.0-javadoc.jar -DrepositoryId=<id-to-map-on-server-section-of-settings.xml> -Durl=<url-of-the-repository-to-deploy> |
Include the UPC Java API in your Add-On pom.xml Code Block |
---|
<dependency>
<groupId>de.communardo.atlassian.plugins.userprofile.external.api</groupId>
<artifactId>user-profiles-external-api</artifactId>
<version>1.1.0</version>
<scope>provided</scope>
</dependency> |
|
...
Usage in our own classes (e.g. your components)
To import the services provided by our API as components, using Atlassian Spring Scanner as an example:
...