I would like to build a war file according to profiles in maven.
Like if i run with a profile tpa the com.jf.broker.utils
com.jf.broker.client,com.jf.broker.adapter package with its classes and the subpackage com.jf.broker.adapter.tpa should be in the war file
I am using profile , maven-compiler-plugin , <excludes> under <configuration> to achieve the above scenario by excluding com.jf.broker.adapter.tpb
If i add a new package com.jf.broker.adapter.tpd , this setup wont work.Is there a way to include the com.jf.broker.adapter.tpa subpackage if i run the tpa profile instead of excluding all the other subpackages ?