releaseApp To create the jar file do the following command: mvn package. To create a release you need to have the resources in the same folder as the jar. e.g: for datenpflege need to have the .ear file where the jar is.