ottlinger commented on code in PR #257:
URL: https://github.com/apache/creadur-rat/pull/257#discussion_r1614882698


##########
apache-rat-plugin/pom.xml:
##########
@@ -127,6 +126,45 @@
       </plugins>
     </pluginManagement>
     <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>exec-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>Create BaseRatMojo</id>
+            <goals>
+              <goal>java</goal>
+            </goals>
+            <phase>generate-sources</phase>
+          </execution>
+        </executions>
+        <configuration>
+          <mainClass>org.apache.rat.tools.MavenGenerator</mainClass>
+          <arguments>
+            <argument>org.apache.rat.plugin</argument>
+            <argument>BaseRatMojo</argument>
+            
<argument>${project.build.directory}/generated/src/main/java</argument>
+          </arguments>
+        </configuration>
+      </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>build-helper-maven-plugin</artifactId>
+          <version>3.2.0</version>

Review Comment:
   Let us put this definition into the project pom's pluginManagement part.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@creadur.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to