|
4 | 4 | xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
5 | 5 | <modelVersion>4.0.0</modelVersion> |
6 | 6 | <groupId>me.chanjar</groupId> |
7 | | - <artifactId>weixin-java-enterprise-tools</artifactId> |
| 7 | + <artifactId>weixin-java-parent</artifactId> |
8 | 8 | <version>1.0.3-SNAPSHOT</version> |
9 | | - <name>WeiXin Java Enterprise Tools</name> |
10 | | - <description>微信企业号Java SDK</description> |
| 9 | + <packaging>pom</packaging> |
| 10 | + <name>WeiXin Java Tools - Parent</name> |
| 11 | + <description>微信公众号、企业号上级POM</description> |
11 | 12 | <url>https://github.com/chanjarster/weixin-java-tools</url> |
12 | 13 |
|
13 | 14 | <licenses> |
|
30 | 31 | <url>https://github.com/chanjarster/weixin-java-tools</url> |
31 | 32 | </scm> |
32 | 33 |
|
| 34 | + <modules> |
| 35 | + <module>weixin-java-common</module> |
| 36 | + <module>weixin-java-cp</module> |
| 37 | + <module>weixin-java-mp</module> |
| 38 | + </modules> |
| 39 | + |
33 | 40 | <properties> |
34 | 41 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
35 | 42 | <downloadJavadocs>true</downloadJavadocs> |
36 | 43 | <downloadSources>true</downloadSources> |
37 | 44 | <httpclient.version>4.3.5</httpclient.version> |
38 | 45 | </properties> |
| 46 | + |
39 | 47 | <dependencies> |
40 | | - <dependency> |
41 | | - <groupId>junit</groupId> |
42 | | - <artifactId>junit</artifactId> |
43 | | - <version>4.11</version> |
44 | | - <scope>test</scope> |
45 | | - </dependency> |
46 | 48 | <dependency> |
47 | 49 | <groupId>org.apache.httpcomponents</groupId> |
48 | 50 | <artifactId>fluent-hc</artifactId> |
|
63 | 65 | <artifactId>jaxb-impl</artifactId> |
64 | 66 | <version>2.2.7</version> |
65 | 67 | </dependency> |
66 | | - <dependency> |
67 | | - <groupId>org.apache.oltu.oauth2</groupId> |
68 | | - <artifactId>org.apache.oltu.oauth2.client</artifactId> |
69 | | - <version>1.0.0</version> |
70 | | - </dependency> |
71 | 68 | <dependency> |
72 | 69 | <groupId>com.google.code.gson</groupId> |
73 | 70 | <artifactId>gson</artifactId> |
74 | 71 | <version>2.2.2</version> |
75 | 72 | </dependency> |
76 | | - <dependency> |
77 | | - <groupId>org.testng</groupId> |
78 | | - <artifactId>testng</artifactId> |
79 | | - <version>6.8.7</version> |
80 | | - <scope>test</scope> |
81 | | - </dependency> |
82 | | - <dependency> |
83 | | - <groupId>org.mockito</groupId> |
84 | | - <artifactId>mockito-all</artifactId> |
85 | | - <version>1.9.5</version> |
86 | | - <scope>test</scope> |
87 | | - </dependency> |
88 | | - <dependency> |
89 | | - <groupId>com.google.inject</groupId> |
90 | | - <artifactId>guice</artifactId> |
91 | | - <version>3.0</version> |
92 | | - <scope>test</scope> |
93 | | - </dependency> |
94 | 73 | <dependency> |
95 | 74 | <groupId>org.apache.commons</groupId> |
96 | 75 | <artifactId>commons-lang3</artifactId> |
|
106 | 85 | <artifactId>commons-io</artifactId> |
107 | 86 | <version>2.4</version> |
108 | 87 | </dependency> |
109 | | - <dependency> |
110 | | - <groupId>org.eclipse.jetty</groupId> |
111 | | - <artifactId>jetty-server</artifactId> |
112 | | - <version>9.3.0.M0</version> |
113 | | - <scope>test</scope> |
114 | | - </dependency> |
115 | | - <dependency> |
116 | | - <groupId>org.eclipse.jetty</groupId> |
117 | | - <artifactId>jetty-servlet</artifactId> |
118 | | - <version>9.3.0.M0</version> |
119 | | - <scope>test</scope> |
120 | | - </dependency> |
121 | 88 | </dependencies> |
122 | 89 |
|
| 90 | + <dependencyManagement> |
| 91 | + <dependencies> |
| 92 | + <dependency> |
| 93 | + <groupId>junit</groupId> |
| 94 | + <artifactId>junit</artifactId> |
| 95 | + <version>4.11</version> |
| 96 | + <scope>test</scope> |
| 97 | + </dependency> |
| 98 | + <dependency> |
| 99 | + <groupId>com.google.inject</groupId> |
| 100 | + <artifactId>guice</artifactId> |
| 101 | + <version>3.0</version> |
| 102 | + <scope>test</scope> |
| 103 | + </dependency> |
| 104 | + <dependency> |
| 105 | + <groupId>org.testng</groupId> |
| 106 | + <artifactId>testng</artifactId> |
| 107 | + <version>6.8.7</version> |
| 108 | + <scope>test</scope> |
| 109 | + </dependency> |
| 110 | + <dependency> |
| 111 | + <groupId>org.mockito</groupId> |
| 112 | + <artifactId>mockito-all</artifactId> |
| 113 | + <version>1.9.5</version> |
| 114 | + <scope>test</scope> |
| 115 | + </dependency> |
| 116 | + <dependency> |
| 117 | + <groupId>org.eclipse.jetty</groupId> |
| 118 | + <artifactId>jetty-server</artifactId> |
| 119 | + <version>9.3.0.M0</version> |
| 120 | + <scope>test</scope> |
| 121 | + </dependency> |
| 122 | + <dependency> |
| 123 | + <groupId>org.eclipse.jetty</groupId> |
| 124 | + <artifactId>jetty-servlet</artifactId> |
| 125 | + <version>9.3.0.M0</version> |
| 126 | + <scope>test</scope> |
| 127 | + </dependency> |
| 128 | + </dependencies> |
| 129 | + </dependencyManagement> |
| 130 | + |
123 | 131 | <distributionManagement> |
124 | 132 | <snapshotRepository> |
125 | 133 | <id>ossrh</id> |
|
186 | 194 | </profiles> |
187 | 195 |
|
188 | 196 | <build> |
| 197 | + <pluginManagement> |
| 198 | + <plugins> |
| 199 | + <plugin> |
| 200 | + <groupId>org.apache.maven.plugins</groupId> |
| 201 | + <artifactId>maven-surefire-plugin</artifactId> |
| 202 | + <version>2.17</version> |
| 203 | + </plugin> |
| 204 | + </plugins> |
| 205 | + </pluginManagement> |
| 206 | + |
189 | 207 | <plugins> |
190 | | - <plugin> |
191 | | - <groupId>org.apache.maven.plugins</groupId> |
192 | | - <artifactId>maven-surefire-plugin</artifactId> |
193 | | - <version>2.17</version> |
194 | | - <configuration> |
195 | | - <suiteXmlFiles> |
196 | | - <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile> |
197 | | - </suiteXmlFiles> |
198 | | - </configuration> |
199 | | - </plugin> |
200 | 208 | <plugin> |
201 | 209 | <groupId>org.sonatype.plugins</groupId> |
202 | 210 | <artifactId>nexus-staging-maven-plugin</artifactId> |
|
0 commit comments