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 <[email protected]> wrote: > 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 > .sql) > mvn -Pcreate-profile2 -e (to execute script3.sql) > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Conditionally-executing-a-script-in-profile-tp5800947p5800950.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
