The Apache Maven team is pleased to announce the release of the Apache Maven Deploy Plugin, version 3.1.3
https://maven.apache.org/plugins/maven-deploy-plugin/ You should specify the version in your project's plugin configuration: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>3.1.3</version> </plugin> You can download the appropriate sources etc. from the download page: https://maven.apache.org/plugins/maven-deploy-plugin/download.cgi Release Notes - Maven Deploy Plugin - Version 3.1.3 ** Bug * [MDEPLOY-297] - [REGRESSION] deploy-file no longer honor 'packaging' parameter * [MDEPLOY-311] - Regression in 3.0.0: deploy-file: -Dpackaging is not considered during artifact upload * [MDEPLOY-321] - -Dpackaging= is ignored when using mvn deploy:deploy-file ** Improvement * [MDEPLOY-320] - Unclear exception prompt ** Dependency upgrade * [MDEPLOY-322] - Use parent POM 43 Have fun, -The Apache Maven team