The Hibernate plugin in your pom.xml is creating the tables. The dbunit plugin is inserting data every time. To skip tests when running the build, use -DskipTests=true. Another option is to use the JRebel plugin and you won't ever need to run Maven commands - you can do everything from your IDE and classes will be reloaded as they're compiled.
http://appfuse.org/display/APF/Using+JRebel+with+IntelliJ+IDEA Matt On Sat, Feb 6, 2010 at 4:28 PM, Viki2 <[email protected]> wrote: > > Hi, > > I am working with Appfuse Struts2 Basic/Modular. > > This contains functionality for User administration. I wonder what part of > code is dropping/creating tables and inserting sample data. Can anyone > tell? > I need to understand because I want to avoid inserting data and creating > tables everytime the app comes up. I also want to avoid runnings tests > everytime I build. > > Thanks, > Viki > -- > View this message in context: > http://n4.nabble.com/Understanding-Appfuse2-for-Struts2-tp1471638p1471638.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] > >
