apm-agent-api
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.bonree.brjapm</groupId> <artifactId>apm-agent-api</artifactId> <version>1.1.0</version> </dependency>
<?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> <groupId>com.bonree.brjapm</groupId> <artifactId>apm-agent-api</artifactId> <version>${project.version}</version> <packaging>jar</packaging> <name>apm-agent-api</name> <description>Bonree APM Agent API</description> <url>https://gitlab.ibr.net.cn/apm/server/agents/javaagent</url> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <developers> <developer> <name>Bonree</name> <organization>Bonree</organization> <organizationUrl>https://www.bonree.com</organizationUrl> </developer> </developers> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <scm> <connection>http://gitlab.ibr.net.cn/apm/server/agents/javaagent/javaagent-code.git</connection> <developerConnection>http://gitlab.ibr.net.cn/apm/server/agents/javaagent/javaagent-code.git</developerConnection> <url>http://gitlab.ibr.net.cn/apm/server/agents/javaagent</url> </scm> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <deployment.dir>${basedir}/../deployment</deployment.dir> <gpg.keyname>0xD8B38F0B</gpg.keyname> <project.version>1.1.0</project.version> </properties> <profiles> <profile> <id>snapshot</id> <properties> <project.version>1.1.0-SNAPSHOT</project.version> </properties> </profile> <profile> <id>build</id> <activation> <activeByDefault>true</activeByDefault> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.5.1</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.8</version> <executions> <execution> <id>copy-apm-agent-api</id> <phase>package</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <copy file="${project.build.directory}/${project.build.finalName}.jar" tofile="${deployment.dir}/apm-agent-api.jar" /> </target> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>oss-release</id> <activation> <activeByDefault>false</activeByDefault> </activation> <properties> <skipTests>true</skipTests> </properties> <build> <plugins> <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-no-fork</goal> </goals> <configuration> <excludes> <exclude>com/bonree/brjapm/api/AgentBridge.java</exclude> </excludes> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.5.0</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> <!-- <configuration>--> <!-- <excludePackageNames>com.bonree.*</excludePackageNames>--> <!-- </configuration>--> </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> <configuration> <keyname>${gpg.keyname}</keyname> <!-- <passphraseServerId>${gpg.keyname}</passphraseServerId>--> </configuration> </execution> </executions> <configuration> <useAgent>false</useAgent> </configuration> </plugin> <plugin> <groupId>net.ju-n.maven.plugins</groupId> <artifactId>checksum-maven-plugin</artifactId> <version>1.3</version> <executions> <execution> <id>checksum-maven-plugin-files</id> <phase>package</phase> <goals> <goal>files</goal> </goals> </execution> </executions> <configuration> <fileSets> <fileSet> <directory>${project.build.directory}</directory> <includes> <include>*.jar</include> <include>*.pom</include> </includes> </fileSet> </fileSets> <algorithms> <algorithm>SHA-1</algorithm> <algorithm>MD5</algorithm> </algorithms> </configuration> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.7</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>