leancloud-sdk
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>cn.leancloud</groupId>
<artifactId>leancloud-sdk</artifactId>
<version>8.2.28</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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>cn.leancloud</groupId>
<artifactId>leancloud-sdk</artifactId>
<packaging>pom</packaging>
<version>8.2.28</version>
<name>leancloud sdk</name>
<url>http://maven.apache.org</url>
<description>LeanCloud Java Unified SDK</description>
<modules>
<module>core</module>
<module>realtime</module>
<module>leanengine</module>
<!-- <module>converter-gson</module>-->
<!-- <module>converter-fastjson</module>-->
</modules>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<name>LeanCloud Engineer</name>
<email>eng@leancloud.rocks</email>
<organization>LeanCloud</organization>
<organizationUrl>https://leancloud.cn</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:git@github.com:leancloud/java-unified-sdk.git</connection>
<developerConnection>scm:git:git@github.com:leancloud/java-unified-sdk.git</developerConnection>
<url>http://github.com/leancloud/java-unified-sdk/tree/master</url>
<tag>leancloud-sdk-8.2.28</tag>
</scm>
<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>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.sourceEncoding>UTF-8</project.reporting.sourceEncoding>
<!-- Compilation -->
<java.version>1.8</java.version>
<!-- <maven.test.skip>false</maven.test.skip> -->
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<failOnError>false</failOnError>
<additionalparam>-Xdoclint:none</additionalparam>
<doclint>none</doclint>
<author>eng@leancloud.rocks</author>
<bottom><![CDATA[Copyright © 2020, <a href="https://leancloud.cn">美味书签(北京)信息技术有限公司<a> All rights reserved.]]></bottom>
<sourceFileExcludes>
<exclude>cn/leancloud/ops/*.java</exclude>
<exclude>cn/leancloud/service/*.java</exclude>
<exclude>cn/leancloud/codec/*.java</exclude>
<exclude>cn/leancloud/upload/*.java</exclude>
<exclude>cn/leancloud/utils/*.java</exclude>
<exclude>cn/leancloud/annotation/*.java</exclude>
<exclude>cn/leancloud/cache/*.java</exclude>
<exclude>cn/leancloud/internal/*.java</exclude>
<exclude>cn/leancloud/logging/*.java</exclude>
<exclude>cn/leancloud/network/*.java</exclude>
<exclude>cn/leancloud/impl/*.java</exclude>
<exclude>cn/leancloud/Messages.java</exclude>
<exclude>cn/leancloud/command/*.java</exclude>
<exclude>cn/leancloud/util/*.java</exclude>
<exclude>cn/leancloud/session/*.java</exclude>
<exclude>cn/leancloud/websocket/*.java</exclude>
</sourceFileExcludes>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.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-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<gpgArguments>
<arg>--batch</arg>
</gpgArguments>
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
</configuration>
</execution>
</executions>
</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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.3</version>
</plugin>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.7.0.1746</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>generate-code-coverage-report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.7</version>
<configuration>
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
</configuration>
</plugin>
<!-- <plugin>-->
<!-- <groupId>org.codehaus.mojo</groupId>-->
<!-- <artifactId>cobertura-maven-plugin</artifactId>-->
<!-- <version>2.7</version>-->
<!-- <configuration>-->
<!-- <formats>-->
<!-- <format>html</format>-->
<!-- <format>xml</format>-->
<!-- </formats>-->
<!-- </configuration>-->
<!-- </plugin>-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.5</version>
<configuration>
<xmlOutput>true</xmlOutput>
<!-- Optional directory to put findbugs xdoc xml report -->
<xmlOutputDirectory>target/site</xmlOutputDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
<configuration>
<!-- Sets the VM argument line used when unit tests are run. -->
<argLine>${surefireArgLine}</argLine>
<!-- Skips unit tests if the value of skip.unit.tests property is true -->
<skipTests>${skip.unit.tests}</skipTests>
<skipAfterFailureCount>20</skipAfterFailureCount>
<!-- Excludes integration tests when unit tests are run. -->
<excludes>
<exclude>**/NotTest*.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
<!-- select non-aggregate reports -->
<report>report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project>