Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to config one 1 jar file can run multi server confluence

Deleted user February 21, 2018

I want conf pom.xml. if install confluence server A then run profiles A and if install confluence server B then run profiles B.

How to detect confluence server in pom.xml file.

1 answer

1 vote
Oliver Straesser
Contributor
February 22, 2018

profiles are not there for such behaviour, they are used for the building process mainly.

If you like to have a switch you need to do in your Javacode, for example by detecting the based url and then make your specific stuff.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events