4.0.0
fr.ifremer.allegro
allegro-local
1.0-SNAPSHOT
allegro-local-db
rar
Allegro local Database
${pom.groupId}
allegro-local-core
${pom.version}
org.hibernate
hibernate
${project.basedir}/target/rar
org.apache.maven.plugins
maven-rar-plugin
false
${project.build.sourceDirectory}
org.andromda.maven.plugins
andromda-multi-source-plugin
org.andromda.maven.plugins
andromdapp-maven-plugin
generate-sources
schema
create,drop
${jdbc.driver}
${jdbc.driver.jar}
${jdbc.url}
${jdbc.username}
${jdbc.password}
false
mappingsLocation
${project.basedir}/../core/target/src
mappingFileExtension
hbm.xml
createOutputPath
${project.basedir}/target/rar/sql/schema-create.sql
dropOutputPath
${project.basedir}/target/rar/sql/schema-drop.sql
org.codehaus.mojo
sql-maven-plugin
${jdbc.driver}
${jdbc.url}
${jdbc.username}
${jdbc.password}
Execute schema-create.sql
compile
execute
${project.basedir}/target/rar/sql/schema-create.sql
continue
maven-antrun-plugin
Append 'shutdown' sql command to 'schema-create.sql'
process-sources
run
SHUTDOWN;
]]>
]]>
org.codehaus.mojo
dbunit-maven-plugin
hsqldb
hsqldb
1.8.0.7
${jdbc.driver}
${jdbc.url}
${jdbc.username}
${jdbc.password}
org.dbunit.ext.hsqldb.HsqldbDataTypeFactory
false
false
flat
true
${maven.test.skip}
true
create-dtd
test
export
dtd
${project.basedir}/target/rar/dbunit/datas.dtd
SHUTDOWN
load-datas
test
operation
CLEAN_INSERT
SET REFERENTIAL_INTEGRITY FALSE
${project.basedir}/target/rar/dbunit/datas-all.xml
SET REFERENTIAL_INTEGRITY TRUE;
SHUTDOWN;
jdbc:hsqldb:file:${project.build.directory}/rar/db/allegro