<?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>
    <groupId>io.github.ducheng</groupId>
    <artifactId>java-agent-arthas-mcp-starter</artifactId>
    <version>0.1.0</version>
    <packaging>jar</packaging>
    <name>java-agent-arthas-mcp-starter</name>
    <description>JDK 8 compatible Java Agent with Arthas integration and MCP stdio tools.</description>
    <url>https://github.com/stockassistant/java-starters</url>
    <licenses><license><name>Apache License, Version 2.0</name><url>https://www.apache.org/licenses/LICENSE-2.0.txt</url><distribution>repo</distribution></license></licenses>
    <developers><developer><id>stockassistant</id><name>Stock Assistant</name><email>dev@stockassistant.com</email></developer></developers>
    <scm><connection>scm:git:https://github.com/stockassistant/java-starters.git</connection><developerConnection>scm:git:https://github.com/stockassistant/java-starters.git</developerConnection><url>https://github.com/stockassistant/java-starters</url><tag>HEAD</tag></scm>
    <properties><maven.compiler.source>8</maven.compiler.source><maven.compiler.target>8</maven.compiler.target><project.build.sourceEncoding>UTF-8</project.build.sourceEncoding></properties>
    <build>
        <resources><resource><directory>conf</directory><targetPath>conf</targetPath><includes><include>**/*</include></includes></resource><resource><directory>bin</directory><targetPath>bin</targetPath><includes><include>**/*</include></includes></resource></resources>
        <plugins>
            <plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId><version>3.13.0</version><configuration><release>8</release></configuration></plugin>
            <plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-jar-plugin</artifactId><version>3.4.2</version><configuration><archive><manifest><mainClass>com.ducheng.arthas.mcp.server.McpMain</mainClass></manifest><manifestEntries><Premain-Class>com.ducheng.arthas.mcp.bootstrap.AgentBootstrap</Premain-Class><Agent-Class>com.ducheng.arthas.mcp.bootstrap.AgentBootstrap</Agent-Class><Can-Redefine-Classes>true</Can-Redefine-Classes><Can-Retransform-Classes>true</Can-Retransform-Classes><Can-Set-Native-Method-Prefix>false</Can-Set-Native-Method-Prefix></manifestEntries></archive></configuration></plugin>
        </plugins>
    </build>
    <profiles><profile><id>release</id><build><plugins>
        <plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-source-plugin</artifactId><version>3.3.1</version><executions><execution><id>attach-sources</id><goals><goal>jar-no-fork</goal></goals></execution></executions></plugin>
        <plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-javadoc-plugin</artifactId><version>3.6.3</version><configuration><doclint>none</doclint><quiet>true</quiet></configuration><executions><execution><id>attach-javadocs</id><goals><goal>jar</goal></goals></execution></executions></plugin>
        <plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-gpg-plugin</artifactId><version>3.2.4</version><executions><execution><id>sign-artifacts</id><phase>verify</phase><goals><goal>sign</goal></goals></execution></executions></plugin>
        <plugin><groupId>org.sonatype.central</groupId><artifactId>central-publishing-maven-plugin</artifactId><version>0.11.0</version><extensions>true</extensions><configuration><publishingServerId>central</publishingServerId><autoPublish>false</autoPublish></configuration></plugin>
    </plugins></build></profile></profiles>
</project>
