On Wed, Sep 16, 2009 at 8:05 AM, measwel <marek_karczew...@yahoo.com.au>wrote:
> > Yes, good call, this seems to be a problem with Netbeans 6.7. I am > reluctant > to upgrade as it once broke my other projects. I will return to it later. > > right now I want to fix pom execution. Lately I incidentally typed mvn at > command line and he started to install. Thankfully I have removed DROP > priviledges from my db user, so no harm was done to the DB. > > I am trying to understand what happens: > 1) When executing 'mvn' the default goal (install) gets executed? > Yes. Look at your pom and find <defaultGoal> if you'd like to change it. > 2) What profile is being used per default? > You can use "mvn help:active-profiles" to see the activated profiles. > 3) Where in pom is specified what db actions the systems takes when the > default goal gets executed? > Look at the hibernate3 and dbunit plugins - the first creates the database, the 2nd loads it with sample data. If you'd like more information on these plugins, I'd suggest googling and reading their documentation. Matt > > Much obliged, > M > -- > View this message in context: > http://www.nabble.com/1-db-for-testing-1-for-development-tp25418927s2369p25471002.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > >