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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.