|
| 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-batchcompute</artifactId> |
| 5 | + <packaging>jar</packaging> |
| 6 | + <version>2.0.2-SNAPSHOT</version> |
| 7 | + <name>aliyun-java-sdk-batchcompute</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 | + <licenses> |
| 18 | + <license> |
| 19 | + <name></name> |
| 20 | + <url></url> |
| 21 | + <distribution></distribution> |
| 22 | + </license> |
| 23 | + </licenses> |
| 24 | + <scm> |
| 25 | + <url></url> |
| 26 | + <connection></connection> |
| 27 | + </scm> |
| 28 | + <developers> |
| 29 | + <developer> |
| 30 | + <id>aliyunproducts</id> |
| 31 | + <name>Aliyun SDK</name> |
| 32 | + <email>aliyunsdk@aliyun.com</email> |
| 33 | + </developer> |
| 34 | + </developers> |
| 35 | + <dependencies> |
| 36 | + <dependency> |
| 37 | + <groupId>com.aliyun</groupId> |
| 38 | + <artifactId>aliyun-java-sdk-core</artifactId> |
| 39 | + <optional>true</optional> |
| 40 | + <version>2.1.5-SNAPSHOT</version> |
| 41 | + </dependency> |
| 42 | + <dependency> |
| 43 | + <groupId>org.codehaus.jackson</groupId> |
| 44 | + <artifactId>jackson-mapper-asl</artifactId> |
| 45 | + <version>1.9.13</version> |
| 46 | + </dependency> |
| 47 | + <dependency> |
| 48 | + <groupId>junit</groupId> |
| 49 | + <artifactId>junit</artifactId> |
| 50 | + <version>4.10</version> |
| 51 | + <scope>test</scope> |
| 52 | + </dependency> |
| 53 | + </dependencies> |
| 54 | + |
| 55 | + <build> |
| 56 | + |
| 57 | + <testResources> |
| 58 | + <testResource> |
| 59 | + <directory>src/test/resources</directory> |
| 60 | + <targetPath>resources</targetPath> |
| 61 | + <filtering>true</filtering> |
| 62 | + </testResource> |
| 63 | + </testResources> |
| 64 | + |
| 65 | + |
| 66 | + <plugins> |
| 67 | + <plugin> |
| 68 | + <groupId>org.apache.maven.plugins</groupId> |
| 69 | + <artifactId>maven-surefire-plugin</artifactId> |
| 70 | + <version>2.10</version> |
| 71 | + <configuration> |
| 72 | + <additionalClasspathElements> |
| 73 | + <additionalClasspathElement> |
| 74 | + ${basedir}/target/test-classes |
| 75 | + </additionalClasspathElement> |
| 76 | + </additionalClasspathElements> |
| 77 | + <includes> |
| 78 | + <include>**/batchcompute/functiontest/*.java</include> |
| 79 | + <include>**/batchcompute/modelunittest/*.java</include> |
| 80 | + <include>**/batchcompute/transformunittest/*.java</include> |
| 81 | + </includes> |
| 82 | + </configuration> |
| 83 | + </plugin> |
| 84 | + |
| 85 | + <!--代码覆盖率--> |
| 86 | + <plugin> |
| 87 | + <groupId>org.codehaus.mojo</groupId> |
| 88 | + <artifactId>cobertura-maven-plugin</artifactId> |
| 89 | + <version>2.7</version> |
| 90 | + <configuration> |
| 91 | + <check> |
| 92 | + <branchRate>0</branchRate> |
| 93 | + <lineRate>0</lineRate> |
| 94 | + <haltOnFailure>true</haltOnFailure> |
| 95 | + <totalBranchRate>0</totalBranchRate> |
| 96 | + <totalLineRate>0</totalLineRate> |
| 97 | + <packageLineRate>0</packageLineRate> |
| 98 | + <packageBranchRate>0</packageBranchRate> |
| 99 | + <regexes> |
| 100 | + <regex> |
| 101 | + <pattern>com.aliyuncs.batchcompute.*</pattern> |
| 102 | + <branchRate>0</branchRate> |
| 103 | + <lineRate>0</lineRate> |
| 104 | + </regex> |
| 105 | + </regexes> |
| 106 | + </check> |
| 107 | + </configuration> |
| 108 | + <executions> |
| 109 | + <execution> |
| 110 | + <goals> |
| 111 | + <goal>clean</goal> |
| 112 | + <goal>check</goal> |
| 113 | + </goals> |
| 114 | + </execution> |
| 115 | + </executions> |
| 116 | + </plugin> |
| 117 | + <plugin> |
| 118 | + <artifactId>maven-compiler-plugin</artifactId> |
| 119 | + <version>2.3.2</version> |
| 120 | + <configuration> |
| 121 | + <source>1.6</source> |
| 122 | + <target>1.6</target> |
| 123 | + <encoding>UTF-8</encoding> |
| 124 | + </configuration> |
| 125 | + </plugin> |
| 126 | + <plugin> |
| 127 | + <groupId>org.apache.maven.plugins</groupId> |
| 128 | + <artifactId>maven-jar-plugin</artifactId> |
| 129 | + <version>2.3.2</version> |
| 130 | + <configuration> |
| 131 | + <excludes> |
| 132 | + </excludes> |
| 133 | + </configuration> |
| 134 | + </plugin> |
| 135 | + <!--<plugin>--> |
| 136 | + <!--<groupId>org.apache.maven.plugins</groupId>--> |
| 137 | + <!--<artifactId>maven-surefire-plugin</artifactId>--> |
| 138 | + <!--<version>2.10</version>--> |
| 139 | + <!--<configuration>--> |
| 140 | + <!--<argLine>-Dfile.encoding=UTF-8</argLine>--> |
| 141 | + <!--</configuration>--> |
| 142 | + <!--</plugin>--> |
| 143 | + <plugin> |
| 144 | + <groupId>org.apache.maven.plugins</groupId> |
| 145 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 146 | + <version>2.8</version> |
| 147 | + <configuration> |
| 148 | + <encoding>UTF-8</encoding> |
| 149 | + </configuration> |
| 150 | + </plugin> |
| 151 | + </plugins> |
| 152 | + </build> |
| 153 | +</project> |
0 commit comments