[#2] Using maven instead of ./mvnw and added package stage for docker build

2 jobs for preprod in 3 minutes and 27 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Build
passed maven-build #142673
build

00:03:13

 
  Package
failed docker-build #142674
build

00:00:14

 
Name Stage Failure
failed
docker-build Package
Downloading artifacts for maven-build (142673)...
Downloading artifacts from coordinator... ok id=142673 responseStatus=200 OK token=g_LAmDSy
$ docker logout
Removing login credentials for https://index.docker.io/v1/
$ echo "$CI_JOB_TOKEN $CI_REGISTRY"
xxxxxxxxxxxxxxxxxxxx
$ echo "$CI_JOB_TOKEN" | docker login $CI_REGISTRY -u gitlab-ci-token --password-stdin
Error response from daemon: Get "https://registry-1.docker.io/v2/": unauthorized: incorrect username or password
ERROR: Job failed: exit status 1