Modify the output name of the agent. (#1270)

pull/1275/head
yanrongzhen 2 years ago committed by GitHub
parent 2d0040b3bf
commit ad496be50c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
.gitignore vendored

@ -7,7 +7,7 @@ target/
!**/dist/ !**/dist/
### Agent ### ### Agent ###
/hippo4j-agent/hippo4j-agent/ agent-dist/
**/dependency-reduced-pom.xml **/dependency-reduced-pom.xml
### STS ### ### STS ###

@ -29,7 +29,7 @@
</dependencies> </dependencies>
<build> <build>
<finalName>hippo4j-agent</finalName> <finalName>hippo4j-threadpool-agent</finalName>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
@ -96,7 +96,7 @@
</goals> </goals>
<configuration> <configuration>
<target> <target>
<delete dir="${project.basedir}/../hippo4j-agent" /> <delete dir="${project.basedir}/../agent-dist" />
</target> </target>
</configuration> </configuration>
</execution> </execution>
@ -108,12 +108,12 @@
</goals> </goals>
<configuration> <configuration>
<target> <target>
<mkdir dir="${project.basedir}/../hippo4j-agent" /> <mkdir dir="${project.basedir}/../agent-dist" />
<copy file="${project.build.directory}/hippo4j-agent.jar" tofile="${project.basedir}/../hippo4j-agent/hippo4j-agent.jar" overwrite="true" /> <copy file="${project.build.directory}/hippo4j-threadpool-agent.jar" tofile="${project.basedir}/../agent-dist/hippo4j-threadpool-agent.jar" overwrite="true" />
<mkdir dir="${project.basedir}/../hippo4j-agent/config" /> <mkdir dir="${project.basedir}/../agent-dist/config" />
<mkdir dir="${project.basedir}/../hippo4j-agent/logs" /> <mkdir dir="${project.basedir}/../agent-dist/logs" />
<copydir src="${project.basedir}/../config" dest="${project.basedir}/../hippo4j-agent/config" forceoverwrite="true" /> <copydir src="${project.basedir}/../config" dest="${project.basedir}/../agent-dist/config" forceoverwrite="true" />
<copydir src="${project.basedir}/../dist-material" dest="${project.basedir}/../hippo4j-agent" /> <copydir src="${project.basedir}/../dist-material" dest="${project.basedir}/../agent-dist" />
</target> </target>
</configuration> </configuration>
</execution> </execution>

@ -23,7 +23,7 @@
<shade.net.bytebuddy.source>net.bytebuddy</shade.net.bytebuddy.source> <shade.net.bytebuddy.source>net.bytebuddy</shade.net.bytebuddy.source>
<shade.net.bytebuddy.target>${shade.package}.${shade.net.bytebuddy.source}</shade.net.bytebuddy.target> <shade.net.bytebuddy.target>${shade.package}.${shade.net.bytebuddy.source}</shade.net.bytebuddy.target>
<agent.package.dest.dir>${project.build.directory}${sdk.plugin.related.dir}/../../../hippo4j-agent <agent.package.dest.dir>${project.build.directory}${sdk.plugin.related.dir}/../../../agent-dist
</agent.package.dest.dir> </agent.package.dest.dir>
<plugin.dest.dir>${agent.package.dest.dir}/plugins</plugin.dest.dir> <plugin.dest.dir>${agent.package.dest.dir}/plugins</plugin.dest.dir>

Loading…
Cancel
Save