Using profile for docker image build

Change-Id: I858f4dc73a3d11932526d116e2f291fac08a684c
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
diff --git a/jjb/global-templates-java.yaml b/jjb/global-templates-java.yaml
index 32770f2..a5d4ab6 100644
--- a/jjb/global-templates-java.yaml
+++ b/jjb/global-templates-java.yaml
@@ -412,3 +412,5 @@
       - maven-docker-push-daily:
           mvn-settings: '{mvn-settings}'
           pom: '{docker-pom}'
+          # use default as mvn-profile if profile is not needed
+          mvn-profile: '{mvn-profile}'