You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/08/10 12:47:00 UTC
[jira] [Updated] (MDEPLOY-259) maven-deploy-plugin uses wrong project in deploy-file goal for multi-module project
[ https://issues.apache.org/jira/browse/MDEPLOY-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated MDEPLOY-259:
-----------------------------------
Fix Version/s: (was: waiting-for-feedback)
> maven-deploy-plugin uses wrong project in deploy-file goal for multi-module project
> -----------------------------------------------------------------------------------
>
> Key: MDEPLOY-259
> URL: https://issues.apache.org/jira/browse/MDEPLOY-259
> Project: Maven Deploy Plugin
> Issue Type: Bug
> Affects Versions: 3.0.0-M1
> Reporter: Sameer Mene
> Priority: Major
>
> Multi-Module project
> A
> | - B
> | | - B1
> | | - B2
> | - C
>
> There is a deploy-file goal in project B1 and C using maven-deploy-plugin. B1 is able to upload the file properly but while uploading C's file it uses the artifact name of B2 or B1 (random)
>
> In DeployFileMojo.java
> {code:java}
> DefaultProjectBuildingRequest buildingRequest =
> new DefaultProjectBuildingRequest( getSession().getProjectBuildingRequest() );{code}
>
> returns the wrong ProjectBuildingRequest and so it take a differnt project name.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)