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.
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.
It looks like you're new here. Sign in or register to get started.