growingio-java-sdk
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.growing.sdk.java</groupId> <artifactId>growingio-java-sdk</artifactId> <version>1.0.19-cdp</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>io.growing.sdk.java</groupId> <artifactId>growingio-java-sdk</artifactId> <packaging>jar</packaging> <version>1.0.19-cdp</version> <name>growingio-java-sdk</name> <url>https://docs.growingio.com/docs/</url> <description>growingio java client data collector</description> <licenses> <license> <name>Apache 2</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> <comments>A business-friendly OSS license</comments> </license> </licenses> <developers> <developer> <name>wangtong</name> <id>wangtong</id> <email>wangtong@growingio.com</email> <roles> <role>Developer</role> </roles> <timezone>+8</timezone> </developer> </developers> <scm> <url>https://github.com/growingio/growingio-java-sdk</url> <developerConnection>scm:git:origin</developerConnection> </scm> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <jdk.version>1.6</jdk.version> <downloadSources>true</downloadSources> <!-- 低版本 release 之后,此 version 需要升级,避免 低版本 snapshot 重复 deploy --> <gio-java-sdk-version>1.0.13</gio-java-sdk-version> </properties> <dependencies> <dependency> <groupId>com.google.protobuf</groupId> <artifactId>protobuf-java</artifactId> <version>3.21.7</version> </dependency> <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>20140107</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> <dependency> <groupId>org.openjdk.jmh</groupId> <artifactId>jmh-core</artifactId> <version>1.20</version> <scope>test</scope> </dependency> <dependency> <groupId>org.openjdk.jmh</groupId> <artifactId>jmh-generator-annprocess</artifactId> <version>1.20</version> <scope>test</scope> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.8.9</version> <scope>test</scope> </dependency> </dependencies> <distributionManagement> <snapshotRepository> <id>snapshot</id> <name>Maven Central Snapshot</name> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> <uniqueVersion>true</uniqueVersion> <layout>default</layout> </snapshotRepository> <repository> <id>release</id> <name>Maven Central Release</name> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <build> <extensions> <extension> <groupId>kr.motd.maven</groupId> <artifactId>os-maven-plugin</artifactId> <version>1.6.2</version> </extension> </extensions> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.17</version> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>8.14</version> </dependency> </dependencies> <executions> <execution> <id>validate</id> <phase>validate</phase> <goals> <goal>check</goal> </goals> </execution> </executions> <configuration> <includeTestSourceDirectory>true</includeTestSourceDirectory> <configLocation>checkstyle.xml</configLocation> <logViolationsToConsole>true</logViolationsToConsole> <failOnViolation>true</failOnViolation> <excludes> io/growing/collector/tunnel/protocol/* </excludes> </configuration> </plugin> <plugin> <groupId>net.revelc.code.formatter</groupId> <artifactId>formatter-maven-plugin</artifactId> <version>2.11.0</version> <configuration> <encoding>UTF-8</encoding> <compilerSource>${jdk.version}</compilerSource> <compilerCompliance>${jdk.version}</compilerCompliance> <compilerTargetPlatform>${jdk.version}</compilerTargetPlatform> <directories> <directory>${project.build.sourceDirectory}</directory> <directory>${project.build.directory}/generated-sources</directory> </directories> </configuration> </plugin> <plugin> <groupId>org.xolstice.maven.plugins</groupId> <artifactId>protobuf-maven-plugin</artifactId> <version>0.5.0</version> <configuration> <pluginId>grpc-java</pluginId> <protoSourceRoot>${project.basedir}/src/main/protobuf</protoSourceRoot> <protocArtifact>com.google.protobuf:protoc:3.7.1:exe:${os.detected.classifier}</protocArtifact> </configuration> <executions> <execution> <goals> <goal>compile</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.3</version> <configuration> <source>${jdk.version}</source> <target>${jdk.version}</target> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> <!-- Source --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.2.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <!-- Javadoc --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.6</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <!-- Prevent gpg from using pinentry programs --> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <runOrder>alphabetical</runOrder> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.3.1</version> <configuration> <archive> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> </manifest> </archive> <excludes> <exclude>v1/dto/**</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.2.0</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <shadedArtifactAttached>true</shadedArtifactAttached> <shadedClassifierName>standalone</shadedClassifierName> <minimizeJar>true</minimizeJar> <relocations> <relocation> <pattern>com.google.protobuf</pattern> <shadedPattern>io.growing.sdk.java.com.google.protobuf</shadedPattern> </relocation> <relocation> <pattern>google.protobuf</pattern> <shadedPattern>io.growing.sdk.java.google.protobuf</shadedPattern> </relocation> </relocations> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>default</id> <properties> <gio-java-sdk-version-profile>${gio-java-sdk-version}-SNAPSHOT</gio-java-sdk-version-profile> </properties> <activation> <activeByDefault>true</activeByDefault> </activation> </profile> <profile> <id>release</id> <properties> <gio-java-sdk-version-profile>${gio-java-sdk-version}</gio-java-sdk-version-profile> </properties> </profile> <profile> <id>cdp</id> <properties> <gio-java-sdk-version-profile>${gio-java-sdk-version}-cdp-SNAPSHOT</gio-java-sdk-version-profile> </properties> </profile> <profile> <id>cdp-release</id> <properties> <gio-java-sdk-version-profile>${gio-java-sdk-version}-cdp</gio-java-sdk-version-profile> </properties> </profile> <profile> <id>apple-silicon</id> <properties> <os.detected.classifier>osx-x86_64</os.detected.classifier> </properties> </profile> </profiles> </project>