diff --git a/.openshift/action_hooks/pre_build_jbosseap-6.0 b/.openshift/action_hooks/pre_build_jbosseap-6.0
index 1f70dc32..e59d8e70 100755
--- a/.openshift/action_hooks/pre_build_jbosseap-6.0
+++ b/.openshift/action_hooks/pre_build_jbosseap-6.0
@@ -3,3 +3,4 @@
# your application. This script can be used to modify the Maven build
# arguments for non-CI/Jenkins builds by exporting MAVEN_ARGS. The default
# is "clean package -Popenshift -DskipTests"
+export MAVEN_ARGS="clean package -Popenshift -Pprod -DskipTests"
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 7cdde2cf..9e3736a3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -402,8 +402,6 @@
openshift
java:jboss/datasources/MysqlDS
- false
- true
com.commafeed.backend.MySQL5Dialect