[ 
https://issues.apache.org/jira/browse/MGPG-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated MGPG-129:
--------------------------------
    Docs Text:   (was: You can see from the Debug_output.txt (line 209) that 
the source files are of the form: "datasketches-memory-3.0.0.jar", 
"datasketches-memory-3.0.0-tests.jar", etc.   

But the files being deployed (line 252) are of the form: 
"datasketches-memory-root-3.0.0.jar", etc.   This extra "-root" is incorrect.

How do I fix this so that the given files are just signed and deployed without 
being renamed?

This can be replicated from the open-source site: 
https://github.com/apache/datasketches-memory/tree/3.0.X.
First run the "package-multi-release-jar.sh", which creates the source files 
under /target/. Then run the script "sign-deploy-jar.sh" with inputs "3.0.0" 
<local project directory>.  You will need an account on Nexus.

BTW, the source file names have to be different from the root project name 
because the source files are MR-Jars that have been assembled by the above 
"package-multi-release-jar.sh".   )

> sign-and-deploy-file incorrectly renames source files when deployed.
> --------------------------------------------------------------------
>
>                 Key: MGPG-129
>                 URL: https://issues.apache.org/jira/browse/MGPG-129
>             Project: Maven GPG Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.1, 3.2.3, 3.2.4
>         Environment: MacOS 14.5, using bash scripts to call maven.
>            Reporter: Lee Rhodes
>            Priority: Major
>         Attachments: Debug_output.txt, package-multi-release-jar.sh, pom.xml, 
> sign-deploy-jar.sh
>
>
> "sign-and-deploy-file" does not just sign and deploy the given source files, 
> it is also renaming them, which causes the deployed files to have incorrect 
> names.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to