1 Star 0 Fork 0

xiadewang / huaweicloud-sdk-java-obs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom-java.xml 7.97 KB
一键复制 编辑 原始数据 按行查看 历史
shenqing-code 提交于 2020-05-06 19:52 . 3.20.4
<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.huawei.storage</groupId>
<artifactId>esdk-obs-java</artifactId>
<version>3.20.4</version>
<packaging>jar</packaging>
<name>OBS SDK for Java</name>
<description>The OBS SDK for Java used for accessing Object Storage Service</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>com.jamesmurty.utils</groupId>
<artifactId>java-xmlbuilder</artifactId>
<version>1.2</version>
<exclusions>
<exclusion>
<groupId>net.iharder</groupId>
<artifactId>base64</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>3.14.2</version>
</dependency>
<dependency>
<groupId>com.squareup.okio</groupId>
<artifactId>okio</artifactId>
<version>1.17.2</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.10.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.10.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.10.0</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.12.0</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.12.0</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>1.10.19</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito</artifactId>
<version>1.6.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
<version>1.6.5</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>app/src/main/java</sourceDirectory>
<!--
<resources>
<resource>
<directory>app/src/main/resource</directory>
</resource>
</resources>
-->
<testSourceDirectory>app/src/test/java/samples_java</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>logs</directory>
</fileset>
</filesets>
</configuration>
</plugin>
<!-- compile plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
<source>1.7</source>
<target>1.7</target>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.0-M1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<docencoding>UTF-8</docencoding>
<charset>UTF-8</charset>
<excludePackageNames>*.internal.*:*.log:*.proxy:okio</excludePackageNames>
<destDir>${project.build.directory}/doc</destDir>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>install</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<exclude>okio/*</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>assembly-java.xml</descriptor>
</descriptors>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<excludes>
<exclude>com.squareup.okhttp3:okhttp:jar:</exclude>
<exclude>com.squareup.okio:okio:jar:</exclude>
<exclude>com.fasterxml.jackson.core:jackson-core:jar:</exclude>
<exclude>com.fasterxml.jackson.core:jackson-databind:jar:</exclude>
<exclude>com.fasterxml.jackson.core:jackson-annotations:jar:</exclude>
<exclude>org.apache.logging.log4j:log4j-core:jar:</exclude>
<exclude>org.apache.logging.log4j:log4j-api:jar:</exclude>
</excludes>
</artifactSet>
<relocations>
<relocation>
<pattern>com.jamesmurty.utils</pattern>
<shadedPattern>com.obs.shade.jamesmurty.utils</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
1
https://gitee.com/xdw1019/huaweicloud-sdk-java-obs.git
git@gitee.com:xdw1019/huaweicloud-sdk-java-obs.git
xdw1019
huaweicloud-sdk-java-obs
huaweicloud-sdk-java-obs
master

搜索帮助