Hi,

We've an existing spring based application, which has multiple modules in it. 
We build it through Maven, and have multiple profiles for different 
environments (local, test, stage and prod).

Now, we've a requirement to create a web module in the same application. The 
thing is that it's required to be active only in local, test and stage 
environments. It should not be working in prod environment.

So, the question is that is there a way to turn off a module for a particular 
profile in maven pom (preferably) or programatically?

Thanks.

Regards,
Abhinav

Reply via email to