The following page shows you how to activate profiles: http://maven.apache.org/guides/introduction/introduction-to-profiles.html
If this doesn't work, I suspect you're using a modular project. I recently discovered profiles are not inherited. Matt On Tue, Jan 20, 2009 at 4:26 AM, Ice-Man <[email protected]> wrote: > > Hi Mike, and other fellows, > > I'm confused bcoz I already setted Oracle profile as: ' > <id>oracle</id> > <activation> > <activeByDefault>true</activeByDefault> > </activation> > ' and I didn't get able to make Oracle as default in my AppFuse project.:-( > Please, any help is welcome, > > Ice-Man > > > > Mike Horwitz wrote: > > > > You need to run mvn -Poracle jetty:run-war > > > > Mike > > > > 2009/1/16 Ice-Man <[email protected]> > > > >> Hi all, I get a problem with profiles setting (in my app root pom.XML): > ' > >> oracle true ' but everytime I run *mvn jetty:run-war*, it drops and > >> recreate my DataBase in MySQL. (Obs.: I run *mvn integration-test > >> -Poracle.* I get my DataBase suitably droped and recreated in Oracle!!!) > >> In advance, thnx, Ice-Man > >> ------------------------------ > >> View this message in context: (to experts) Profiles Oracle vs > >> MySQL< > http://www.nabble.com/%28to-experts%29-Profiles-Oracle-vs-MySQL-tp21506619s2369p21506619.html > > > >> Sent from the AppFuse - User mailing list > >> archive<http://www.nabble.com/AppFuse---User-f2370.html>at Nabble.com. > >> > > > > > > -- > View this message in context: > http://www.nabble.com/%28to-experts%29-Profiles-Oracle-vs-MySQL-tp21506619s2369p21561357.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
