This is an automated email from the ASF dual-hosted git repository.
rong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 78315b3fb45 Pipe: Added get-jar-with-dependencies packaging option for
pipe-opc-ua-sink-example (#12317)
78315b3fb45 is described below
commit 78315b3fb458d47b7192fd9df460837de1969aec
Author: Caideyipi <[email protected]>
AuthorDate: Wed Apr 10 21:08:15 2024 +0800
Pipe: Added get-jar-with-dependencies packaging option for
pipe-opc-ua-sink-example (#12317)
---
example/pipe-opc-ua-sink/pom.xml | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/example/pipe-opc-ua-sink/pom.xml b/example/pipe-opc-ua-sink/pom.xml
index 01e9628ddf9..afa5b6171ce 100644
--- a/example/pipe-opc-ua-sink/pom.xml
+++ b/example/pipe-opc-ua-sink/pom.xml
@@ -39,4 +39,38 @@
<artifactId>sdk-server</artifactId>
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>get-jar-with-dependencies</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+
<mainClass>org.apache.iotdb.opcua.ClientTest</mainClass>
+ </manifest>
+ </archive>
+ <descriptorRefs>
+
<descriptorRef>jar-with-dependencies</descriptorRef>
+ </descriptorRefs>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <!-- bind to the packaging phase -->
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <!-- this is used for inheritance merges -->
+ <phase>package</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>