Xinyu Tan created RATIS-2429:
--------------------------------

             Summary: ratis-bom module fails to deploy due to missing 
distributionManagement configuration
                 Key: RATIS-2429
                 URL: https://issues.apache.org/jira/browse/RATIS-2429
             Project: Ratis
          Issue Type: Improvement
            Reporter: Xinyu Tan
            Assignee: Xinyu Tan


*Description:*
The ratis-bom module does not inherit from the parent pom and lacks its own 
distributionManagement configuration. This causes the maven-deploy-plugin to 
fail during the release process (3-publish-mvn
step) with the following error:
{code:java}
  [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-deploy-plugin:3.1.2:deploy (default-cli) on
   project ratis-bom: Deployment failed: repository element was not specified 
in the POM inside
  distributionManagement element or in -DaltDeploymentRepository=id::url 
parameter
  {code}
Unlike other ratis modules (ratis-client, ratis-server, etc.) which have a 
<parent> reference to the root pom, ratis-bom is a standalone pom without 
parent inheritance. Therefore, it does not inherit the distributionManagement 
settings defined in the root pom.xml.

{*}Solution{*}:
Add distributionManagement configuration directly to ratis-bom/pom.xml to 
specify the Apache staging and snapshot repositories



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

Reply via email to