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

yasith pushed a commit to branch feat/thrift-server-extraction
in repository https://gitbox.apache.org/repos/asf/airavata.git

commit 30c7f5c4b5a478741b26207ea5abf858726630bf
Author: yasithdev <[email protected]>
AuthorDate: Thu Mar 26 14:25:20 2026 -0500

    build: add MapStruct dependency to airavata-thrift-server
    
    - Add mapstruct and mapstruct-processor 1.6.3 to root dependencyManagement
    - Add mapstruct runtime dependency to airavata-thrift-server
    - Wire mapstruct-processor as annotationProcessorPath on 
maven-compiler-plugin
      so MapStruct annotation processing runs at compile time
---
 airavata-thrift-server/pom.xml | 22 ++++++++++++++++++++++
 pom.xml                        | 12 ++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/airavata-thrift-server/pom.xml b/airavata-thrift-server/pom.xml
index 31d843764e..a77569bb70 100644
--- a/airavata-thrift-server/pom.xml
+++ b/airavata-thrift-server/pom.xml
@@ -30,5 +30,27 @@
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
     </dependency>
+    <dependency>
+      <groupId>org.mapstruct</groupId>
+      <artifactId>mapstruct</artifactId>
+    </dependency>
   </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <annotationProcessorPaths>
+            <path>
+              <groupId>org.mapstruct</groupId>
+              <artifactId>mapstruct-processor</artifactId>
+              <version>1.6.3</version>
+            </path>
+          </annotationProcessorPaths>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>
diff --git a/pom.xml b/pom.xml
index 453afd0006..957f82c16a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -486,6 +486,18 @@ under the License.
                 <version>3.5.3</version>
             </dependency>
 
+            <!-- MapStruct -->
+            <dependency>
+                <groupId>org.mapstruct</groupId>
+                <artifactId>mapstruct</artifactId>
+                <version>1.6.3</version>
+            </dependency>
+            <dependency>
+                <groupId>org.mapstruct</groupId>
+                <artifactId>mapstruct-processor</artifactId>
+                <version>1.6.3</version>
+            </dependency>
+
             <!-- gRPC -->
             <dependency>
                 <groupId>io.grpc</groupId>

Reply via email to