mirror of https://github.com/longtai-cn/hippo4j
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
117 lines
4.9 KiB
117 lines
4.9 KiB
1 year ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
<parent>
|
||
|
<groupId>cn.hippo4j</groupId>
|
||
1 year ago
|
<artifactId>hippo4j-agent</artifactId>
|
||
1 year ago
|
<version>${revision}</version>
|
||
|
</parent>
|
||
|
|
||
1 year ago
|
<artifactId>hippo4j-agent-plugin</artifactId>
|
||
1 year ago
|
<packaging>pom</packaging>
|
||
|
<modules>
|
||
|
<module>spring-plugins</module>
|
||
1 year ago
|
<module>thread-pool-plugin</module>
|
||
|
<module>apollo-plugin</module>
|
||
1 year ago
|
</modules>
|
||
1 year ago
|
|
||
|
<properties>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
1 year ago
|
<sdk.plugin.related.dir />
|
||
|
<shade.net.bytebuddy.source>net.bytebuddy</shade.net.bytebuddy.source>
|
||
|
<shade.net.bytebuddy.target>${shade.package}.${shade.net.bytebuddy.source}</shade.net.bytebuddy.target>
|
||
|
|
||
1 year ago
|
<agent.package.dest.dir>${project.build.directory}${sdk.plugin.related.dir}/../../../hippo4j-agent
|
||
1 year ago
|
</agent.package.dest.dir>
|
||
|
<plugin.dest.dir>${agent.package.dest.dir}/plugins</plugin.dest.dir>
|
||
|
|
||
|
<ant-contrib.version>1.0b3</ant-contrib.version>
|
||
|
<ant-nodeps.version>1.8.1</ant-nodeps.version>
|
||
1 year ago
|
</properties>
|
||
|
|
||
1 year ago
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>cn.hippo4j</groupId>
|
||
|
<artifactId>hippo4j-agent-core</artifactId>
|
||
|
<version>${project.version}</version>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>net.bytebuddy</groupId>
|
||
|
<artifactId>byte-buddy</artifactId>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
1 year ago
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<artifactId>maven-shade-plugin</artifactId>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<phase>package</phase>
|
||
|
<goals>
|
||
|
<goal>shade</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<shadedArtifactAttached>false</shadedArtifactAttached>
|
||
|
<createDependencyReducedPom>true</createDependencyReducedPom>
|
||
|
<createSourcesJar>true</createSourcesJar>
|
||
|
<shadeSourcesContent>true</shadeSourcesContent>
|
||
|
<relocations>
|
||
|
<relocation>
|
||
|
<pattern>${shade.net.bytebuddy.source}</pattern>
|
||
|
<shadedPattern>${shade.net.bytebuddy.target}</shadedPattern>
|
||
|
</relocation>
|
||
|
</relocations>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<phase>package</phase>
|
||
|
<goals>
|
||
|
<goal>run</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<target>
|
||
|
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.runtime.classpath" />
|
||
|
<if>
|
||
|
<equals arg1="${project.packaging}" arg2="jar" />
|
||
|
<then>
|
||
|
<mkdir dir="${plugin.dest.dir}" />
|
||
|
<copy file="${project.build.directory}/${project.artifactId}-${project.version}.jar" tofile="${plugin.dest.dir}/${project.artifactId}-${project.version}.jar" overwrite="true" />
|
||
|
</then>
|
||
|
</if>
|
||
|
|
||
|
</target>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>ant-contrib</groupId>
|
||
|
<artifactId>ant-contrib</artifactId>
|
||
|
<version>${ant-contrib.version}</version>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>ant</groupId>
|
||
|
<artifactId>ant</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.ant</groupId>
|
||
|
<artifactId>ant-nodeps</artifactId>
|
||
|
<version>${ant-nodeps.version}</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
1 year ago
|
</project>
|