<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>9</version> </parent> <licenses> <license> <name>Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:git:git@github.com:alibaba/arthas.git</connection> <developerConnection>scm:git:git@github.com:alibaba/arthas.git</developerConnection> <url>https://github.com/alibaba/arthas</url> <tag>HEAD</tag> </scm> <developers> <developer> <id>beiwei30</id> <name>beiwei30</name> <email>ian.luo@gmail.com</email> </developer> <developer> <id>Jerrik Zhu</id> <name>Jerrik Zhu</name> <email>diecui1202@gmail.com</email> </developer> <developer> <id>ralf0131</id> <name>ralf0131</name> <email>huxing.zhang@gmail.com</email> </developer> <developer> <id>hengyunabc</id> <name>hengyunabc</name> <email>hengyunabc@gmail.com</email> </developer> </developers> <groupId>com.taobao.arthas</groupId> <artifactId>arthas-all</artifactId> <version>${revision}</version> <packaging>pom</packaging> <name>arthas-all</name> <description>arthas</description> <url>https://github.com/alibaba/arthas</url> <modules> <module>math-game</module> <module>common</module> <module>spy</module> <module>arthas-vmtool</module> <module>tunnel-common</module> <module>tunnel-client</module> <module>core</module> <module>agent</module> <module>client</module> <module>memorycompiler</module> <module>boot</module> <module>arthas-agent-attach</module> <module>arthas-spring-boot-starter</module> <module>testcase</module> <module>site</module> <module>packaging</module> </modules> <properties> <revision>3.5.4</revision> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.target>1.6</maven.compiler.target> <maven.compiler.source>1.6</maven.compiler.source> <spring-boot.version>2.3.1.RELEASE</spring-boot.version> <maven-invoker-plugin.version>3.0.0</maven-invoker-plugin.version> <jacoco.skip>${skipTests}</jacoco.skip> <project.build.outputTimestamp>2020-09-27T15:10:43Z</project.build.outputTimestamp> <lifecycle-mapping.version>1.0.0</lifecycle-mapping.version> <netty.version>4.1.59.Final</netty.version> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>com.alibaba</groupId> <artifactId>bytekit-core</artifactId> <version>0.0.7</version> </dependency> <dependency> <groupId>org.benf</groupId> <artifactId>cfr</artifactId> <version>0.151</version> </dependency> <dependency> <groupId>com.alibaba.middleware</groupId> <artifactId>termd-core</artifactId> <version>1.1.7.12</version> </dependency> <dependency> <groupId>com.alibaba.middleware</groupId> <artifactId>cli</artifactId> <version>1.0.4</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.31</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.2.3</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-core</artifactId> <version>1.2.3</version> </dependency> <dependency> <groupId>com.alibaba.arthas</groupId> <artifactId>arthas-repackage-logger</artifactId> <version>0.0.9</version> </dependency> <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.75</version> </dependency> <dependency> <groupId>com.taobao.text</groupId> <artifactId>text-ui</artifactId> <version>0.0.2</version> </dependency> <dependency> <groupId>com.fifesoft</groupId> <artifactId>rsyntaxtextarea</artifactId> <version>2.5.8</version> </dependency> <dependency> <groupId>ognl</groupId> <artifactId>ognl</artifactId> <version>3.1.19</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>2.9.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>2.28.2</version> <scope>test</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-common</artifactId> <version>${netty.version}</version> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-buffer</artifactId> <version>${netty.version}</version> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-handler</artifactId> <version>${netty.version}</version> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-transport</artifactId> <version>${netty.version}</version> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-codec-http</artifactId> <version>${netty.version}</version> </dependency> <dependency> <groupId>jline</groupId> <artifactId>jline</artifactId> <version>2.14.6</version> </dependency> <dependency> <groupId>net.bytebuddy</groupId> <artifactId>byte-buddy</artifactId> <version>1.11.6</version> </dependency> <dependency> <groupId>net.bytebuddy</groupId> <artifactId>byte-buddy-agent</artifactId> <version>1.11.6</version> </dependency> <dependency> <groupId>org.zeroturnaround</groupId> <artifactId>zt-zip</artifactId> <version>1.14</version> </dependency> </dependencies> </dependencyManagement> <profiles> <profile> <id>jdk8</id> <activation> <jdk>[1.8,)</jdk> </activation> <modules> <module>tunnel-server</module> </modules> <build> <plugins> <!-- git commit info --> <plugin> <groupId>pl.project13.maven</groupId> <artifactId>git-commit-id-plugin</artifactId> <version>4.0.1</version> <executions> <execution> <goals> <goal>revision</goal> </goals> </execution> </executions> <configuration> <verbose>false</verbose> <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat> <generateGitPropertiesFile>true</generateGitPropertiesFile> <generateGitPropertiesFilename>${project.build.outputDirectory}/arthas-git.properties</generateGitPropertiesFilename> <excludeProperties> <excludeProperty>git.branch</excludeProperty> <excludeProperty>git.build.host</excludeProperty> <excludeProperty>git.build.time</excludeProperty> <excludeProperty>git.build.user.email</excludeProperty> <excludeProperty>git.build.user.name</excludeProperty> <excludeProperty>git.remote.origin.url</excludeProperty> <excludeProperty>git.total.commit.count</excludeProperty> <excludeProperty>git.commit.time</excludeProperty> <excludeProperty>git.local.branch.ahead</excludeProperty> <excludeProperty>git.local.branch.behind</excludeProperty> <excludeProperty>git.tags</excludeProperty> </excludeProperties> <injectAllReactorProjects>true</injectAllReactorProjects> </configuration> </plugin> </plugins> </build> </profile> <profile> <!-- ci test --> <id>jdk12</id> <activation> <jdk>[12,)</jdk> <property> <name>JAVA8_HOME</name> </property> </activation> <dependencies> <dependency> <groupId>com.sun</groupId> <artifactId>tools</artifactId> <version>1.6.0</version> <scope>system</scope> <systemPath>${JAVA8_HOME}/lib/tools.jar</systemPath> </dependency> </dependencies> </profile> <profile> <id>full</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.2.0</version> <configuration> <doclint>none</doclint> <source>1.8</source> <failOnError>false</failOnError> </configuration> <executions> <execution> <id>release</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>release</id> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>3.2.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>3.0.0-M1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.8</version> </plugin> <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. --> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>${lifecycle-mapping.version}</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId> org.apache.maven.plugins </groupId> <artifactId> maven-invoker-plugin </artifactId> <versionRange> [1.0.0,) </versionRange> <goals> <goal> install </goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId> org.codehaus.mojo </groupId> <artifactId> flatten-maven-plugin </artifactId> <versionRange> [1.0.0,) </versionRange> <goals> <goal>flatten</goal> </goals> </pluginExecutionFilter> <action> <ignore></ignore> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.2.0</version> <configuration> <archive> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> </manifest> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>flatten-maven-plugin</artifactId> <version>1.2.2</version> <configuration> <flattenMode>minimum</flattenMode> </configuration> <executions> <execution> <id>flatten</id> <phase>process-resources</phase> <goals> <goal>flatten</goal> </goals> </execution> <execution> <id>flatten-clean</id> <phase>clean</phase> <goals> <goal>clean</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.5</version> <executions> <execution> <id>jacoco-initialize</id> <goals> <goal>prepare-agent</goal> </goals> <configuration> <excludes> <exclude>com/taobao/arthas/core/view/ObjectViewTest*</exclude> </excludes> </configuration> </execution> <execution> <id>report-aggregate</id> <phase>verify</phase> <goals> <goal>report-aggregate</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>