Dominik Przybysz created ARIES-2164:
---------------------------------------

             Summary: Remove tools-maven-plugin
                 Key: ARIES-2164
                 URL: https://issues.apache.org/jira/browse/ARIES-2164
             Project: Aries
          Issue Type: Task
          Components: Parent
            Reporter: Dominik Przybysz
            Assignee: Dominik Przybysz


When moving from ianal plugin to tools plugin we discussed if we need the 
plugin to check legal files existence at all.

Apache [parent pom 
33|https://github.com/apache/maven-apache-parent/blob/apache-33/pom.xml#L361-L379]
 uses defines and make part of the lifecycle the plugin which adds legal files 
automatically. Having this plugin we does not have to:

a) have legal files copied in each submodule

b) use plugins to verify legal files existence

{{<!-- We want to package up license resources in the JARs produced -->}}
{{      <plugin>}}
{{        <groupId>org.apache.maven.plugins</groupId>}}
{{        <artifactId>maven-remote-resources-plugin</artifactId>}}
{{        <executions>}}
{{          <execution>}}
{{            <id>process-resource-bundles</id>}}
{{            <goals>}}
{{              <goal>process</goal>}}
{{            </goals>}}
{{            <configuration>}}
{{              <resourceBundles>}}
{{                
<resourceBundle>org.apache.apache.resources:apache-jar-resource-bundle:${version.apache-resource-bundles}</resourceBundle>}}
{{              </resourceBundles>}}
{{            </configuration>}}
{{          </execution>}}
{{        </executions>}}
{{      </plugin>}}



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

Reply via email to