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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

323 views 23 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