[ https://issues.apache.org/jira/browse/MDEPLOY-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tamas Cservenak reassigned MDEPLOY-321: --------------------------------------- Assignee: Tamas Cservenak > -Dpackaging= is ignored when using mvn deploy:deploy-file > --------------------------------------------------------- > > Key: MDEPLOY-321 > URL: https://issues.apache.org/jira/browse/MDEPLOY-321 > Project: Maven Deploy Plugin > Issue Type: Bug > Components: deploy:deploy-file > Affects Versions: 3.1.2 > Environment: Archlinux > Reporter: Lars Schmertmann > Assignee: Tamas Cservenak > Priority: Major > Fix For: 3.1.3 > > > We have a project where we deploy the following files: > {code} > 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 > {code} > We are using the following commands: > {code} > /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 > {code} > 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: > {code} > 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 > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)