From 77f8021b8a8aeef7b1256958fb8624cce98898bd Mon Sep 17 00:00:00 2001
From: vharseko <vharseko@3a-systems.ru>
Date: Tue, 21 Mar 2023 13:38:17 +0000
Subject: [PATCH] FIX add-source for generate-sources (#275)

---
 opendj-grizzly/pom.xml |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/opendj-grizzly/pom.xml b/opendj-grizzly/pom.xml
index c40bb89..e69455f 100644
--- a/opendj-grizzly/pom.xml
+++ b/opendj-grizzly/pom.xml
@@ -102,7 +102,23 @@
                     </execution>
                 </executions>
             </plugin>
-
+			<plugin>
+	            <groupId>org.codehaus.mojo</groupId>
+	            <artifactId>build-helper-maven-plugin</artifactId>
+	            <executions>
+	              <execution>
+	                <phase>process-sources</phase>
+	                <goals>
+	                  <goal>add-source</goal>
+	                </goals>
+	                <configuration>
+	                  <sources>
+	                    <source>target/generated-sources/messages</source>
+	                  </sources>
+	                </configuration>
+	              </execution>
+	            </executions>
+            </plugin>
             <plugin>
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>

--
Gitblit v1.10.0