Slawomir Jaranowski created MPOM-480:
----------------------------------------

             Summary: Remove maven-site-plugin:attach-descriptor from ASF parent
                 Key: MPOM-480
                 URL: https://issues.apache.org/jira/browse/MPOM-480
             Project: Maven POMs
          Issue Type: Improvement
            Reporter: Slawomir Jaranowski


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:
{code:xml}
<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>
{code}
After removing from ASF parent we can simplify next step of releasing ASF 
parent - special manually maintained documentation layout.



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

Reply via email to