Uploaded image for project: 'Maven POMs (Moved to GitHub issues) '
  1. Maven POMs (Moved to GitHub issues)
  2. MPOM-480

Remove maven-site-plugin:attach-descriptor from ASF parent

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • ASF-32
    • None
    • None

    Description

      We have defined maven-site-plugin:attach-descriptor in build/plugins

      It cause to every ASF projects have execute this goals - but it is only needed for parents pom and only in case when parent want to publish site descriptor.

      In child projects such task is not needed.

      Each ASF project should manage it and add this only in place where is needed, with inherited set to false, as example:

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <inherited>false</inherited>
        <executions>
          <execution>
            <id>attach-descriptor</id>
            <goals>
              <goal>attach-descriptor</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      

      After removing from ASF parent we can simplify next step of releasing ASF parent - special manually maintained documentation layout.

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              sjaranowski Slawomir Jaranowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: