There are two typical things done - you either use two profiles or you use a
plugin which supports a skip property.
other ways are hard to understand (like adding a property to the include
pattern to make it not find the resource) and should be avoided.
i dont know if your particular
thanks very much(martin and brend) for your prompt replies .
i.e.., can I conditionally invoke a profile within the other profile?
or
create a two profiles and run a separate command for each of them?
ex: mvn -Pcreate-profile1 -e(to execute script1 and script2
You cannot conditionally trigger one profile from within the other. You
will need to have two separate ones.
On Thu, Jul 24, 2014 at 6:17 PM, hanuman hanumannallap...@gmail.com wrote:
thanks very much(martin and brend) for your prompt replies .
i.e.., can I conditionally invoke a profile
http://books.sonatype.com/mvnref-book/reference/profiles-sect-activation.html#profiles-sect-activation-config
suggests that you might be able to split your task into 2 sections.
Put the first 2 sql scripts in a profile that is always activated and
put the 3rd one into a profile that is only