Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

pom.xml setup for confluence 7.x.x

Abdurashid Vakhobov October 3, 2019

Hi All,

Can someone help me with setting up pom.xml. Below is format:

<properties>
<confluence.version>7.x.x</confluence.version>
<confluence.data.version>?.?.?</confluence.data.version>
<amps.version>?.?.?</amps.version>
<ao.version>?.?.?</ao.version>
</properties>

3 answers

1 accepted

1 vote
Answer accepted
David at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
October 4, 2019

I've had this same problem today. I'll tell you how to work this out first, then I'll show you what worked for me.

As it's been a while, I did an...

atlas-update

which gave me the latest version of amps (8.0.2):

$ atlas-version

ATLAS Version:    8.0.16
ATLAS Home:       /path/to/libexec
ATLAS Scripts:    /path/to/libexec/bin
ATLAS Maven Home: /path/to/libexec/apache-maven-3.5.4
AMPS Version:     8.0.2
--------
[INFO] Project POM found
Executing: /path/to/libexec/apache-maven-3.5.4/bin/mvn --version -gs /path/to/libexec/apache-maven-3.5.4/conf/settings.xml
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T19:33:14+01:00)
Maven home: **********
Java version: 1.8.0_162, vendor: Oracle Corporation, runtime: ******
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"



✋ Initially, I used this (it didn't work):

<confluence.version>7.0.1</confluence.version>
<confluence.data.version>7.0</confluence.data.version>
<amps.version>8.0.2</amps.version>

I got the following stack trace:

 

[INFO] Starting confluence...
[INFO] Configured Artifact: com.atlassian.confluence.plugins:confluence-plugin-test-resources:7.0:zip
Downloading from atlassian-public: https://maven.atlassian.com/repository/public/com/atlassian/confluence/plugins/confluence-plugin-test-resources/7.0/confluence-plugin-test-resources-7.0.pom
...
[WARNING] The POM for com.atlassian.confluence.plugins:confluence-plugin-test-resources:zip:7.0 is missing, no dependency information available

This means that whatever versions are available will be in a subdirectory under:
https://maven.atlassian.com/repository/public/com/atlassian/confluence/plugins/confluence-plugin-test-resources/

Man, there's a lot of versions there, but I at least saw 7.0.1, 7.0.2 and newer versions too.

💚 So, I'm now using:

<confluence.version>7.0.1</confluence.version>
<confluence.data.version>7.0.1</confluence.data.version>
<amps.version>8.0.2</amps.version>

 

For the AO version, I'd grab a copy of the Confluence source code and see what version they are using.

The versions are all available here:
https://packages.atlassian.com/content/repositories/atlassian-public/com/atlassian/activeobjects/activeobjects-plugin/

Active Objects 3.1.7 seems to be the latest.

0 votes
Abdurashid Vakhobov October 3, 2019

Hi @PVS  ,

My actual question is what is compatible version for confluence version 7. 

At the moment I am not able to even package the add-on.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events