You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by ru...@apache.org on 2021/03/17 08:38:45 UTC

[ratis] branch master updated: RATIS-793. Idea automatically mark generated source (#430)

This is an automated email from the ASF dual-hosted git repository.

runzhiwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git


The following commit(s) were added to refs/heads/master by this push:
     new cb73327  RATIS-793. Idea automatically mark generated source (#430)
cb73327 is described below

commit cb73327319ac2410fa5da27fee6b5e3ef70aafee
Author: Dawei Liu <li...@apache.org>
AuthorDate: Wed Mar 17 16:38:27 2021 +0800

    RATIS-793. Idea automatically mark generated source (#430)
---
 pom.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/pom.xml b/pom.xml
index 76d37c1..3f67849 100644
--- a/pom.xml
+++ b/pom.xml
@@ -889,6 +889,24 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>add-source</id>
+            <phase>generate-sources</phase>
+            <goals>
+              <goal>add-source</goal>
+            </goals>
+            <configuration>
+              <sources>
+                <source>${basedir}/target/generated-sources</source>
+              </sources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>