SQL Maven构建 [英] SQL Maven Build

查看:107
本文介绍了SQL Maven构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,

我正在使用Maven来构建项目.在项目中,我有一个MYSQL数据库.我已经有了SQL-maven插件,但是对于每个测试,它都会删除db,创建db并使用数据填充db.
这不是我想要的,它应该只执行一次.在构建开始时就这样.并非每次都运行测试...

请帮助...

Hey,

I''m using maven to build project. Within the project, I have a MYSQL database. I''ve already got the SQL-maven plug-in,but for each test, it drops the db, creates the db and populates the db with data.
This is not what I''m looking for, it should do it only once. At the start of the build and that''s it. Not every time a test run...

HELP please...

推荐答案

SQL-Maven插件页面邮件列表中提出这个问题,效果更好href ="http://mojo.codehaus.org/sql-maven-plugin/mail-lists.html" target ="_ blank" title ="New Window"> ^ ].
The SQL-Maven plugin page has an example config that does just this[^].

You may also be better off asking this question on the SQL_Maven plugin mailing lists[^].


这篇关于SQL Maven构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆