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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.