Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1.2
-
None
-
Archlinux
Description
We have a project where we deploy the following files:
ausweisapp-2.2.0.aar ausweisapp-2.2.0.aar.asc ausweisapp-2.2.0.pom ausweisapp-2.2.0.pom.asc ausweisapp-2.2.0-sources.jar ausweisapp-2.2.0-sources.jar.asc
We are using the following commands:
/usr/bin/mvn deploy:deploy-file -Dfile=ausweisapp-2.2.0.aar -DpomFile=ausweisapp-2.2.0.pom -Dsources=ausweisapp-2.2.0-sources.jar -DrepositoryId=nexus -Durl=https://s01.oss.sonatype.org/service/local/staging/deploy/maven2 --settings settings.xml /usr/bin/mvn deploy:deploy-file -Dfile=ausweisapp-2.2.0.aar.asc -Dpackaging=aar.asc -Dclassifier= -DpomFile=ausweisapp-2.2.0.pom -DrepositoryId=nexus -Durl=https://s01.oss.sonatype.org/service/local/staging/deploy/maven2 --settings settings.xml /usr/bin/mvn deploy:deploy-file -Dfile=ausweisapp-2.2.0.pom.asc -Dpackaging=pom.asc -Dclassifier= -DpomFile=ausweisapp-2.2.0.pom -DrepositoryId=nexus -Durl=https://s01.oss.sonatype.org/service/local/staging/deploy/maven2 --settings settings.xml /usr/bin/mvn deploy:deploy-file -Dfile=ausweisapp-2.2.0-sources.jar.asc -Dpackaging=jar.asc -Dclassifier=sources -DpomFile=ausweisapp-2.2.0.pom -DrepositoryId=nexus -Durl=https://s01.oss.sonatype.org/service/local/staging/deploy/maven2 --settings settings.xml
With 3.8.7 everythings works fine. But at least with 3.9.6 - 3.9.8 `-Dpackaging=` is ignored.
This leads to the following renames during deployment and the signature check fails:
ausweisapp-2.2.0.aar.asc -> ausweisapp-2.2.0.asc ausweisapp-2.2.0.pom.asc -> ausweisapp-2.2.0.asc ausweisapp-2.2.0-sources.jar.asc -> ausweisapp-2.2.0-sources.asc
Attachments
Issue Links
- is fixed by
-
MDEPLOY-311 Regression in 3.0.0: deploy-file: -Dpackaging is not considered during artifact upload
- Closed