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

machristie pushed a commit to branch executable-jar
in repository https://gitbox.apache.org/repos/asf/airavata-data-catalog.git

commit 2948b0ed9c1decb3d3402766615e1eeb2edbf56c
Author: Marcus Christie <[email protected]>
AuthorDate: Mon Jul 3 16:33:24 2023 -0400

    Build an executable data-catalog api service jar
---
 data-catalog-api/server/pom.xml         |  2 +-
 data-catalog-api/server/service/pom.xml | 10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/data-catalog-api/server/pom.xml b/data-catalog-api/server/pom.xml
index a0710fd..48737ff 100644
--- a/data-catalog-api/server/pom.xml
+++ b/data-catalog-api/server/pom.xml
@@ -35,7 +35,7 @@ under the License.
     <dependencies>
       <dependency>
         <groupId>org.springframework.boot</groupId>
-        <artifactId>spring-boot-starter-parent</artifactId>
+        <artifactId>spring-boot-dependencies</artifactId>
         <version>${spring.boot.version}</version>
         <type>pom</type>
         <scope>import</scope>
diff --git a/data-catalog-api/server/service/pom.xml 
b/data-catalog-api/server/service/pom.xml
index cb18d92..c08be08 100644
--- a/data-catalog-api/server/service/pom.xml
+++ b/data-catalog-api/server/service/pom.xml
@@ -66,6 +66,16 @@
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
                 <version>${spring.boot.version}</version>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>repackage</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <executable>true</executable>
+                </configuration>
             </plugin>
         </plugins>
     </build>

Reply via email to