Uploaded image for project: 'Maven Deploy Plugin'
  1. Maven Deploy Plugin
  2. MDEPLOY-259

maven-deploy-plugin uses wrong project in deploy-file goal for multi-module project

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.0.0-M1
    • None
    • None
    • None

    Description

      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

      
       DefaultProjectBuildingRequest buildingRequest =
                  new DefaultProjectBuildingRequest( getSession().getProjectBuildingRequest() );

       

      returns the wrong ProjectBuildingRequest and so it take a differnt project name.

      Attachments

        Activity

          People

            Unassigned Unassigned
            samene Sameer Mene
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: