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

xiaoyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new 7807751  [type: build]agent package (#2245)
7807751 is described below

commit 78077515f2a84371ac7676d3b614a2fd23af91fa
Author: YuDong Tang <[email protected]>
AuthorDate: Wed Oct 27 11:15:46 2021 +0800

    [type: build]agent package (#2245)
    
    * add motan demo.
    
    * add agent main process.
    
    * fix
    
    * fix
    
    * fix
    
    * agent package
    
    * agent package
    
    * agent package
    
    * agent package
---
 shenyu-agent/shenyu-agent-bootstrap/pom.xml               |  2 +-
 shenyu-dist/shenyu-bootstrap-dist/pom.xml                 |  5 +++++
 .../shenyu-bootstrap-dist/src/main/assembly/binary.xml    | 15 +++++++++++++++
 3 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/shenyu-agent/shenyu-agent-bootstrap/pom.xml 
b/shenyu-agent/shenyu-agent-bootstrap/pom.xml
index 8d3661a..7b0a58a 100644
--- a/shenyu-agent/shenyu-agent-bootstrap/pom.xml
+++ b/shenyu-agent/shenyu-agent-bootstrap/pom.xml
@@ -48,7 +48,7 @@
     </dependencies>
 
     <build>
-        <finalName>shenyu-agent</finalName>
+        <finalName>shenyu-agent-bootstrap</finalName>
         <plugins>
             <plugin>
                 <artifactId>maven-shade-plugin</artifactId>
diff --git a/shenyu-dist/shenyu-bootstrap-dist/pom.xml 
b/shenyu-dist/shenyu-bootstrap-dist/pom.xml
index 3cfe1a9..7ce3944 100644
--- a/shenyu-dist/shenyu-bootstrap-dist/pom.xml
+++ b/shenyu-dist/shenyu-bootstrap-dist/pom.xml
@@ -30,6 +30,11 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.shenyu</groupId>
+            <artifactId>shenyu-agent-bootstrap</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.shenyu</groupId>
             <artifactId>shenyu-bootstrap</artifactId>
             <version>${project.version}</version>
         </dependency>
diff --git a/shenyu-dist/shenyu-bootstrap-dist/src/main/assembly/binary.xml 
b/shenyu-dist/shenyu-bootstrap-dist/src/main/assembly/binary.xml
index 9349b76..9c79998 100644
--- a/shenyu-dist/shenyu-bootstrap-dist/src/main/assembly/binary.xml
+++ b/shenyu-dist/shenyu-bootstrap-dist/src/main/assembly/binary.xml
@@ -28,6 +28,21 @@
 
     <fileSets>
         <fileSet>
+            
<directory>${project.basedir}/../../shenyu-agent/shenyu-agent-bootstrap/target</directory>
+            <includes>
+                <include>shenyu-agent-bootstrap.jar</include>
+            </includes>
+            <outputDirectory>/agent</outputDirectory>
+        </fileSet>
+        <fileSet>
+            
<directory>${project.basedir}/../../shenyu-agent/shenyu-agent-plugins/target/plugins</directory>
+            <includes>
+                <include>*.jar</include>
+            </includes>
+            <outputDirectory>/agent/plugins</outputDirectory>
+            <fileMode>0755</fileMode>
+        </fileSet>
+        <fileSet>
             <directory>src/main/resources</directory>
             <lineEnding>unix</lineEnding>
             <includes>

Reply via email to