Federico Simoncelli has uploaded a new change for review. Change subject: core: add the db-upgrade maven profile ......................................................................
core: add the db-upgrade maven profile Change-Id: I4a7c88cf8599226d565d5334af28b1b8bda2617e Signed-off-by: Federico Simoncelli <[email protected]> --- M backend/manager/dbscripts/pom.xml 1 file changed, 24 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/22/13522/1 diff --git a/backend/manager/dbscripts/pom.xml b/backend/manager/dbscripts/pom.xml index de75dfc..279748d 100644 --- a/backend/manager/dbscripts/pom.xml +++ b/backend/manager/dbscripts/pom.xml @@ -40,5 +40,29 @@ </plugins> </build> </profile> + <profile> + <id>db-upgrade</id> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.2</version> + <executions> + <execution> + <id>Run The Database Upgrade Scripts</id> + <phase>package</phase> + <goals> + <goal>exec</goal> + </goals> + </execution> + </executions> + <configuration> + <executable>${project.basedir}/upgrade.sh</executable> + </configuration> + </plugin> + </plugins> + </build> + </profile> </profiles> </project> -- To view, visit http://gerrit.ovirt.org/13522 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4a7c88cf8599226d565d5334af28b1b8bda2617e Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Federico Simoncelli <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
