Attribute "skip" is no initialized with value of property maven.test.skip
authorKai Moritz <kai@coolibri.de>
Sat, 20 Oct 2012 13:55:30 +0000 (15:55 +0200)
committerKai Moritz <kai@coolibri.de>
Tue, 11 Dec 2012 20:55:38 +0000 (21:55 +0100)
commitac115c7ce3e54e38cee8792addfd2b4ae38010d7
tree28ece45a40a7ce1fa00ba1c494c1d7771fd42f82
parent9292f69f434067a84acb18b3cbc789e53d42e8bb
Attribute "skip" is no initialized with value of property maven.test.skip

If one runs hibernate4:export with the switch "-Dmaven.test.skip=true", the
configured database was droped, although the execution of the tests was
skipped.

This might lead to serious data-loss, if one builds a project on the
production-machine. Hence, the excecution of hibernate4:export is aborted
now, if maven.test.skip is true.
src/main/java/de/juplo/plugins/hibernate4/Hbm2DdlMojo.java