|
| 1 | +<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"> |
| 2 | + <modelVersion>4.0.0</modelVersion> |
| 3 | + <groupId>com.aliyun</groupId> |
| 4 | + <artifactId>aliyun-java-sdk-imm</artifactId> |
| 5 | + <packaging>jar</packaging> |
| 6 | + <version>1.2.0</version> |
| 7 | + <name>aliyun-java-sdk-imm</name> |
| 8 | + <url>http://www.aliyun.com</url> |
| 9 | + <description>Aliyun Open API SDK for Java |
| 10 | + |
| 11 | +Copyright (C) Alibaba Cloud Computing |
| 12 | +All rights reserved. |
| 13 | + |
| 14 | +版权所有 (C)阿里云计算有限公司 |
| 15 | + |
| 16 | +http://www.aliyun.com</description> |
| 17 | + |
| 18 | +<distributionManagement> |
| 19 | + <snapshotRepository> |
| 20 | + <id>sonatype-nexus-snapshots</id> |
| 21 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 22 | + </snapshotRepository> |
| 23 | + <repository> |
| 24 | + <id>sonatype-nexus-staging</id> |
| 25 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 26 | + </repository> |
| 27 | +</distributionManagement> |
| 28 | + |
| 29 | + <dependencies> |
| 30 | + <dependency> |
| 31 | + <groupId>com.aliyun</groupId> |
| 32 | + <artifactId>aliyun-java-sdk-core</artifactId> |
| 33 | + <optional>true</optional> |
| 34 | + <version>3.5.1</version> |
| 35 | + </dependency> |
| 36 | + |
| 37 | + <dependency> |
| 38 | + <groupId>junit</groupId> |
| 39 | + <artifactId>junit</artifactId> |
| 40 | + <version>4.10</version> |
| 41 | + <scope>test</scope> |
| 42 | + </dependency> |
| 43 | + </dependencies> |
| 44 | + <licenses> |
| 45 | + <license> |
| 46 | + <name></name> |
| 47 | + <url></url> |
| 48 | + <distribution></distribution> |
| 49 | + </license> |
| 50 | + </licenses> |
| 51 | + <scm> |
| 52 | + <url></url> |
| 53 | + <connection></connection> |
| 54 | + </scm> |
| 55 | + <developers> |
| 56 | + <developer> |
| 57 | + <id>aliyunproducts</id> |
| 58 | + <name>Aliyun SDK</name> |
| 59 | + <email>aliyunsdk@aliyun.com</email> |
| 60 | + </developer> |
| 61 | + </developers> |
| 62 | + <build> |
| 63 | + <testResources> |
| 64 | + <testResource> |
| 65 | + <directory>src/test/resources</directory> |
| 66 | + <targetPath>resources</targetPath> |
| 67 | + <filtering>true</filtering> |
| 68 | + </testResource> |
| 69 | + </testResources> |
| 70 | + |
| 71 | + <plugins> |
| 72 | + |
| 73 | + <plugin> |
| 74 | + <groupId>org.apache.maven.plugins</groupId> |
| 75 | + <artifactId>maven-surefire-plugin</artifactId> |
| 76 | + <version>2.10</version> |
| 77 | + <configuration> |
| 78 | + <additionalClasspathElements> |
| 79 | + <additionalClasspathElement> |
| 80 | + ${basedir}/target/test-classes |
| 81 | + </additionalClasspathElement> |
| 82 | + </additionalClasspathElements> |
| 83 | + <includes> |
| 84 | + <include>**/imm/test/v20170906/ft/**/*.java</include> |
| 85 | + |
| 86 | + </includes> |
| 87 | + <!--<excludes>--> |
| 88 | + <!--<exclude>**/imm/test/v20170906/ft/ClusterInstanceTest.java</exclude>--> |
| 89 | + <!--</excludes>--> |
| 90 | + </configuration> |
| 91 | + </plugin> |
| 92 | + |
| 93 | + <!--代码覆盖率--> |
| 94 | + <plugin> |
| 95 | + <groupId>org.codehaus.mojo</groupId> |
| 96 | + <artifactId>cobertura-maven-plugin</artifactId> |
| 97 | + <version>2.7</version> |
| 98 | + <configuration> |
| 99 | + <check> |
| 100 | + <branchRate>0</branchRate> |
| 101 | + <lineRate>0</lineRate> |
| 102 | + <haltOnFailure>true</haltOnFailure> |
| 103 | + <totalBranchRate>0</totalBranchRate> |
| 104 | + <totalLineRate>0</totalLineRate> |
| 105 | + <packageLineRate>0</packageLineRate> |
| 106 | + <packageBranchRate>0</packageBranchRate> |
| 107 | + <regexes> |
| 108 | + <regex> |
| 109 | + <pattern>com.aliyuncs.imm.*</pattern> |
| 110 | + <branchRate>0</branchRate> |
| 111 | + <lineRate>0</lineRate> |
| 112 | + </regex> |
| 113 | + </regexes> |
| 114 | + </check> |
| 115 | + </configuration> |
| 116 | + <executions> |
| 117 | + <execution> |
| 118 | + <goals> |
| 119 | + <goal>clean</goal> |
| 120 | + <goal>check</goal> |
| 121 | + </goals> |
| 122 | + </execution> |
| 123 | + </executions> |
| 124 | + </plugin> |
| 125 | + |
| 126 | + |
| 127 | + <plugin> |
| 128 | + <artifactId>maven-compiler-plugin</artifactId> |
| 129 | + <version>2.3.2</version> |
| 130 | + <configuration> |
| 131 | + <source>1.6</source> |
| 132 | + <target>1.6</target> |
| 133 | + <encoding>UTF-8</encoding> |
| 134 | + </configuration> |
| 135 | + </plugin> |
| 136 | + <plugin> |
| 137 | + <groupId>org.apache.maven.plugins</groupId> |
| 138 | + <artifactId>maven-jar-plugin</artifactId> |
| 139 | + <version>2.3.2</version> |
| 140 | + <configuration> |
| 141 | + <excludes> |
| 142 | + </excludes> |
| 143 | + </configuration> |
| 144 | + </plugin> |
| 145 | + <plugin> |
| 146 | + <groupId>org.apache.maven.plugins</groupId> |
| 147 | + <artifactId>maven-surefire-plugin</artifactId> |
| 148 | + <version>2.10</version> |
| 149 | + <configuration> |
| 150 | + <argLine>-Dfile.encoding=UTF-8</argLine> |
| 151 | + </configuration> |
| 152 | + </plugin> |
| 153 | + <plugin> |
| 154 | + <groupId>org.apache.maven.plugins</groupId> |
| 155 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 156 | + <version>2.8</version> |
| 157 | + <configuration> |
| 158 | + <encoding>UTF-8</encoding> |
| 159 | + </configuration> |
| 160 | + </plugin> |
| 161 | + <plugin> |
| 162 | + <groupId>org.apache.maven.plugins</groupId> |
| 163 | + <artifactId>maven-gpg-plugin</artifactId> |
| 164 | + <version>1.5</version> |
| 165 | + <executions> |
| 166 | + <execution> |
| 167 | + <id>sign-artifacts</id> |
| 168 | + <phase>verify</phase> |
| 169 | + <goals> |
| 170 | + <goal>sign</goal> |
| 171 | + </goals> |
| 172 | + </execution> |
| 173 | + </executions> |
| 174 | + </plugin> |
| 175 | + <plugin> |
| 176 | + <groupId>org.sonatype.plugins</groupId> |
| 177 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 178 | + <version>1.6.3</version> |
| 179 | + <extensions>true</extensions> |
| 180 | + <configuration> |
| 181 | + <serverId>sonatype-nexus-staging</serverId> |
| 182 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 183 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 184 | + </configuration> |
| 185 | + </plugin> |
| 186 | + </plugins> |
| 187 | + </build> |
| 188 | +</project> |
0 commit comments