Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-25578

HBase filesystem pom should include nexus staging repo management

    XMLWordPrintableJSON

Details

    Description

      The current RC creation scripts rely on project poms having a plugin configured to handle nexus staging repository closing / dropping. The hbase-filesystem project is currently missing this plugin, which makes it so that a RM has to go manually close the staging repository and then copy the location into the generated vote text.

      the needed plugin config is:

          <!-- this profile should match the name of the release profile in the root asf pom -->
          <profile>
            <id>apache-release</id>
            <build>
              <plugins>
                <!-- This should insert itself in place of the normal deploy plugin and then
                     handle either closing or dropping the staging repository for us depending
                     on if the build succeeds.
                  -->
                <plugin>
                  <groupId>org.sonatype.plugins</groupId>
                  <artifactId>nexus-staging-maven-plugin</artifactId>
                  <version>1.6.8</version>
                  <extensions>true</extensions>
                  <configuration>
                    <nexusUrl>https://repository.apache.org/</nexusUrl>
                    <serverId>apache.releases.https</serverId>
                  </configuration>
                </plugin>
              </plugins>
            </build>
          </profile>
      

      Attachments

        Issue Links

          Activity

            People

              busbey Sean Busbey
              busbey Sean Busbey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: