It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

pom.xml setup for confluence 7.x.x

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

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.

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
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

227 views 3 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you