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

jackietien pushed a commit to branch ty/benchant
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit f3140d02b9eeca68b7ac836ed9c6aaee78d1dc58
Author: JackieTien97 <[email protected]>
AuthorDate: Fri Jun 2 15:47:07 2023 +0800

    add with-dependency
---
 server/pom.xml | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/server/pom.xml b/server/pom.xml
index 691cab24fc7..b2e362d3661 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -406,5 +406,37 @@
                 <iotdb.it.skip>false</iotdb.it.skip>
             </properties>
         </profile>
+        <profile>
+            <id>get-jar-with-dependencies</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <artifactId>maven-assembly-plugin</artifactId>
+                        <version>${maven.assembly.version}</version>
+                        <configuration>
+                            <descriptorRefs>
+                                
<descriptorRef>jar-with-dependencies</descriptorRef>
+                            </descriptorRefs>
+                            <archive>
+                                <manifest>
+                                    
<mainClass>org.apache.iotdb.db.service.DataNode</mainClass>
+                                </manifest>
+                            </archive>
+                        </configuration>
+                        <executions>
+                            <execution>
+                                <id>make-assembly</id>
+                                <!-- this is used for inheritance merges -->
+                                <phase>package</phase>
+                                <!-- bind to the packaging phase -->
+                                <goals>
+                                    <goal>single</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 </project>

Reply via email to