Daniel Qian | 48302a2 | 2014-06-10 13:07:58 +0800 | [diff] [blame^] | 1 | <?xml version="1.0"?> |
| 2 | <project |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
| 4 | xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 5 | <modelVersion>4.0.0</modelVersion> |
| 6 | <groupId>com.ekingstar.commons</groupId> |
| 7 | <artifactId>commons</artifactId> |
| 8 | <version>1.0.0</version> |
| 9 | <properties> |
| 10 | <mockito.version>1.9.5</mockito.version> |
| 11 | <testng.version>6.5.2</testng.version> |
| 12 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 13 | <downloadJavadocs>true</downloadJavadocs> |
| 14 | <logback.version>1.0.7</logback.version> |
| 15 | <slf4j.version>1.6.6</slf4j.version> |
| 16 | </properties> |
| 17 | <distributionManagement> |
| 18 | <repository> |
| 19 | <id>ekingstar-releases</id> |
| 20 | <name>internal release</name> |
| 21 | <url>http://app.supwisdom.com:81/artifactory/libs-release-local</url> |
| 22 | </repository> |
| 23 | <snapshotRepository> |
| 24 | <id>ekingstar-snapshots</id> |
| 25 | <name>internal Snapshots</name> |
| 26 | <url>http://app.supwisdom.com:81/artifactory/libs-snapshot-local</url> |
| 27 | </snapshotRepository> |
| 28 | <downloadUrl>http://app.supwisdom.com:81/artifactory</downloadUrl> |
| 29 | </distributionManagement> |
| 30 | <dependencyManagement> |
| 31 | <dependencies> |
| 32 | <dependency> |
| 33 | <groupId>org.slf4j</groupId> |
| 34 | <artifactId>slf4j-api</artifactId> |
| 35 | <version>1.6.6</version> |
| 36 | </dependency> |
| 37 | <dependency> |
| 38 | <groupId>ch.qos.logback</groupId> |
| 39 | <artifactId>logback-core</artifactId> |
| 40 | <version>1.0.7</version> |
| 41 | <scope>test</scope> |
| 42 | </dependency> |
| 43 | <dependency> |
| 44 | <groupId>ch.qos.logback</groupId> |
| 45 | <artifactId>logback-classic</artifactId> |
| 46 | <version>1.0.7</version> |
| 47 | <scope>test</scope> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>org.mockito</groupId> |
| 51 | <artifactId>mockito-all</artifactId> |
| 52 | <version>1.9.5</version> |
| 53 | <scope>test</scope> |
| 54 | </dependency> |
| 55 | <dependency> |
| 56 | <groupId>org.testng</groupId> |
| 57 | <artifactId>testng</artifactId> |
| 58 | <version>6.5.2</version> |
| 59 | <scope>test</scope> |
| 60 | </dependency> |
| 61 | </dependencies> |
| 62 | </dependencyManagement> |
| 63 | <dependencies> |
| 64 | <dependency> |
| 65 | <groupId>org.slf4j</groupId> |
| 66 | <artifactId>slf4j-api</artifactId> |
| 67 | <version>1.6.6</version> |
| 68 | <scope>compile</scope> |
| 69 | </dependency> |
| 70 | <dependency> |
| 71 | <groupId>org.testng</groupId> |
| 72 | <artifactId>testng</artifactId> |
| 73 | <version>6.5.2</version> |
| 74 | <scope>test</scope> |
| 75 | </dependency> |
| 76 | <dependency> |
| 77 | <groupId>org.mockito</groupId> |
| 78 | <artifactId>mockito-all</artifactId> |
| 79 | <version>1.9.5</version> |
| 80 | <scope>test</scope> |
| 81 | </dependency> |
| 82 | <dependency> |
| 83 | <groupId>ch.qos.logback</groupId> |
| 84 | <artifactId>logback-core</artifactId> |
| 85 | <version>1.0.7</version> |
| 86 | <scope>test</scope> |
| 87 | </dependency> |
| 88 | <dependency> |
| 89 | <groupId>ch.qos.logback</groupId> |
| 90 | <artifactId>logback-classic</artifactId> |
| 91 | <version>1.0.7</version> |
| 92 | <scope>test</scope> |
| 93 | </dependency> |
| 94 | </dependencies> |
| 95 | <build> |
| 96 | <plugins> |
| 97 | <plugin> |
| 98 | <artifactId>maven-compiler-plugin</artifactId> |
| 99 | <version>3.0</version> |
| 100 | <configuration> |
| 101 | <source>1.6</source> |
| 102 | <target>1.6</target> |
| 103 | <encoding>UTF-8</encoding> |
| 104 | </configuration> |
| 105 | </plugin> |
| 106 | <plugin> |
| 107 | <artifactId>maven-source-plugin</artifactId> |
| 108 | <executions> |
| 109 | <execution> |
| 110 | <id>attach-sources</id> |
| 111 | <phase>deploy</phase> |
| 112 | <goals> |
| 113 | <goal>jar-no-fork</goal> |
| 114 | </goals> |
| 115 | </execution> |
| 116 | </executions> |
| 117 | </plugin> |
| 118 | <plugin> |
| 119 | <artifactId>maven-javadoc-plugin</artifactId> |
| 120 | <executions> |
| 121 | <execution> |
| 122 | <id>attach-javadocs</id> |
| 123 | <phase>deploy</phase> |
| 124 | <goals> |
| 125 | <goal>jar</goal> |
| 126 | </goals> |
| 127 | </execution> |
| 128 | </executions> |
| 129 | </plugin> |
| 130 | <plugin> |
| 131 | <!-- explicitly define maven-deploy-plugin after other to force exec |
| 132 | order --> |
| 133 | <artifactId>maven-deploy-plugin</artifactId> |
| 134 | <executions> |
| 135 | <execution> |
| 136 | <id>deploy</id> |
| 137 | <phase>deploy</phase> |
| 138 | <goals> |
| 139 | <goal>deploy</goal> |
| 140 | </goals> |
| 141 | </execution> |
| 142 | </executions> |
| 143 | </plugin> |
| 144 | </plugins> |
| 145 | </build> |
| 146 | |
| 147 | |
| 148 | </project> |