Refactor agent module directory structure. (#1306)

pull/1307/head
yanrongzhen 1 year ago committed by GitHub
parent 06c6c06768
commit 53e1de5eee
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 ###
agent-dist/ hippo4j-agent/
**/dependency-reduced-pom.xml **/dependency-reduced-pom.xml
### STS ### ### STS ###

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>cn.hippo4j</groupId> <groupId>cn.hippo4j</groupId>
<artifactId>hippo4j-threadpool-agent</artifactId> <artifactId>hippo4j-agent</artifactId>
<version>${revision}</version> <version>${revision}</version>
</parent> </parent>
@ -96,7 +96,7 @@
</goals> </goals>
<configuration> <configuration>
<target> <target>
<delete dir="${project.basedir}/../agent-dist" /> <delete dir="${project.basedir}/../hippo4j-agent" />
</target> </target>
</configuration> </configuration>
</execution> </execution>
@ -108,12 +108,12 @@
</goals> </goals>
<configuration> <configuration>
<target> <target>
<mkdir dir="${project.basedir}/../agent-dist" /> <mkdir dir="${project.basedir}/../hippo4j-agent" />
<copy file="${project.build.directory}/hippo4j-threadpool-agent.jar" tofile="${project.basedir}/../agent-dist/hippo4j-threadpool-agent.jar" overwrite="true" /> <copy file="${project.build.directory}/hippo4j-threadpool-agent.jar" tofile="${project.basedir}/../hippo4j-agent/hippo4j-threadpool-agent.jar" overwrite="true" />
<mkdir dir="${project.basedir}/../agent-dist/config" /> <mkdir dir="${project.basedir}/../hippo4j-agent/config" />
<mkdir dir="${project.basedir}/../agent-dist/logs" /> <mkdir dir="${project.basedir}/../hippo4j-agent/logs" />
<copydir src="${project.basedir}/../config" dest="${project.basedir}/../agent-dist/config" forceoverwrite="true" /> <copydir src="${project.basedir}/../config" dest="${project.basedir}/../hippo4j-agent/config" forceoverwrite="true" />
<copydir src="${project.basedir}/../dist-material" dest="${project.basedir}/../agent-dist" /> <copydir src="${project.basedir}/../dist-material" dest="${project.basedir}/../hippo4j-agent" />
</target> </target>
</configuration> </configuration>
</execution> </execution>

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>cn.hippo4j</groupId> <groupId>cn.hippo4j</groupId>
<artifactId>hippo4j-threadpool-agent</artifactId> <artifactId>hippo4j-agent</artifactId>
<version>${revision}</version> <version>${revision}</version>
</parent> </parent>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save