Explorar el Código

Merge branch 'master' of http://10.1.235.20:3000/ipu/android-share

leijie %!s(int64=8) %!d(string=hace) años
padre
commit
a774c94695
Se han modificado 5 ficheros con 388 adiciones y 7 borrados
  1. 2 7
      .gitignore
  2. 23 0
      ipu-mobile-ui/.project
  3. 23 0
      ipu-plugin-basic/.project
  4. 17 0
      ipu-web-libs/.project
  5. 323 0
      ipu-web-libs/pom.xml

+ 2 - 7
.gitignore

@ -1,7 +1,2 @@
1
/.DS_Store
2
wade-mobile-push-yunba
3
general-web-server/web/WEB-INF/classes
4
*.iml
5
.idea/
6
out/
7
.project
1
/.DS_Store
2
.class

+ 23 - 0
ipu-mobile-ui/.project

@ -0,0 +1,23 @@
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>ipu-mobile-ui</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
		<buildCommand>
14
			<name>org.eclipse.m2e.core.maven2Builder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
18
	</buildSpec>
19
	<natures>
20
		<nature>org.eclipse.jdt.core.javanature</nature>
21
		<nature>org.eclipse.m2e.core.maven2Nature</nature>
22
	</natures>
23
</projectDescription>

+ 23 - 0
ipu-plugin-basic/.project

@ -0,0 +1,23 @@
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>ipu-plugin-basic</name>
4
	<comment></comment>
5
		<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
		<buildCommand>
14
			<name>org.eclipse.m2e.core.maven2Builder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
18
	</buildSpec>
19
	<natures>
20
		<nature>org.eclipse.jdt.core.javanature</nature>
21
		<nature>org.eclipse.m2e.core.maven2Nature</nature>
22
	</natures>
23
</projectDescription>

+ 17 - 0
ipu-web-libs/.project

@ -0,0 +1,17 @@
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>ipu-web-libs</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.m2e.core.maven2Builder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
	</buildSpec>
14
	<natures>
15
		<nature>org.eclipse.m2e.core.maven2Nature</nature>
16
	</natures>
17
</projectDescription>

+ 323 - 0
ipu-web-libs/pom.xml

@ -0,0 +1,323 @@
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3
	<modelVersion>4.0.0</modelVersion>
4
	<!-- ipu-home等普通web项目继承使用 -->
5
6
	<groupId>com.ai.ipu</groupId>
7
	<artifactId>ipu-web-libs</artifactId>
8
	<version>3.0</version>
9
	<packaging>pom</packaging>
10
	<name>ipu-web-libs</name>
11
12
	<distributionManagement>
13
		<repository>
14
			<id>nexus-service-ipu-repository</id>
15
			<name>nexus service ipu repository</name>
16
			<url>http://114.215.100.48:9090/nexus/content/repositories/ipu/</url>
17
		</repository>
18
	</distributionManagement>
19
	
20
	<!-- 定义公共变量 -->
21
	<properties>
22
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23
		<encoding>UTF-8</encoding>
24
25
		<!-- Central jar -->
26
		<junit>3.8.1</junit>
27
		<servlet-api>2.5</servlet-api>
28
		<log4j>1.2.8</log4j>
29
		<unirest-java>1.3.8</unirest-java>
30
		<dom4j>1.6.1</dom4j>
31
		<jaxen>1.1.1</jaxen>
32
		<commons-lang3>3.4</commons-lang3>
33
		<beetl-core>2.2.3</beetl-core>
34
		<velocity>1.7</velocity>
35
		<jsoup>1.7.2</jsoup>
36
		<commons-fileupload>1.3.1</commons-fileupload>
37
		<commons-dbcp>1.4</commons-dbcp>
38
		<mysql-connector-java>5.1.39</mysql-connector-java>
39
		<commons-codec>1.3</commons-codec>
40
		<jdom>1.1.3</jdom>
41
		<commons-collections>3.2</commons-collections>
42
		<quartz-all>1.6.3</quartz-all>
43
		<jta>1.1</jta>
44
45
		<!-- 3rd party jar -->
46
		<ojdbc>14</ojdbc>
47
		<java_memcache-release>2.5.3</java_memcache-release>
48
		<amail>1.0</amail>
49
		<zxing>1.0</zxing>
50
		<!-- ipu jar -->
51
		<ipu>3.0</ipu>
52
		<wade>1.0</wade>
53
54
		<!-- 公共插件 -->
55
		<maven-clean-plugin>3.0.0</maven-clean-plugin>
56
		<maven-resources-plugin>3.0.1</maven-resources-plugin>
57
		<maven-compiler-plugin>3.1</maven-compiler-plugin>
58
		<compiler-version>1.6</compiler-version>
59
		<maven-surefire-plugin>2.5</maven-surefire-plugin>
60
		<maven-war-plugin>2.6</maven-war-plugin>
61
		<exec-maven-plugin>1.5.0</exec-maven-plugin>
62
		<maven-dependency-plugin>2.4</maven-dependency-plugin>
63
64
		<!-- 本地jar路径all -->
65
		<jar-path-all>${project.basedir}/all</jar-path-all>
66
	</properties>
67
68
	<dependencyManagement>
69
		<dependencies>
70
			<!-- Central jar -->
71
			<dependency>
72
				<groupId>commons-collections</groupId>
73
				<artifactId>commons-collections</artifactId>
74
				<version>${commons-collections}</version>
75
			</dependency>
76
			<dependency>
77
				<groupId>javax.transaction</groupId>
78
				<artifactId>jta</artifactId>
79
				<version>${jta}</version>
80
			</dependency>
81
			<dependency>
82
				<groupId>opensymphony</groupId>
83
				<artifactId>quartz-all</artifactId>
84
				<version>${quartz-all}</version>
85
			</dependency>
86
			<dependency>
87
				<groupId>junit</groupId>
88
				<artifactId>junit</artifactId>
89
				<version>${junit}</version>
90
				<scope>test</scope>
91
			</dependency>
92
			<dependency>
93
				<groupId>javax.servlet</groupId>
94
				<artifactId>servlet-api</artifactId>
95
				<version>${servlet-api}</version>
96
				<scope>provided</scope>
97
			</dependency>
98
			<dependency>
99
				<groupId>org.apache.commons</groupId>
100
				<artifactId>commons-lang3</artifactId>
101
				<version>${commons-lang3}</version>
102
			</dependency>
103
			<dependency>
104
				<groupId>log4j</groupId>
105
				<artifactId>log4j</artifactId>
106
				<version>${log4j}</version>
107
			</dependency>
108
			<dependency>
109
				<groupId>dom4j</groupId>
110
				<artifactId>dom4j</artifactId>
111
				<version>${dom4j}</version>
112
			</dependency>
113
			<dependency>
114
				<groupId>jaxen</groupId>
115
				<artifactId>jaxen</artifactId>
116
				<version>${jaxen}</version>
117
			</dependency>
118
			<dependency>
119
				<groupId>com.mashape.unirest</groupId>
120
				<artifactId>unirest-java</artifactId>
121
				<version>${unirest-java}</version>
122
			</dependency>
123
			<dependency>
124
				<groupId>org.beetl</groupId>
125
				<artifactId>beetl-core</artifactId>
126
				<version>${beetl-core}</version>
127
			</dependency>
128
			<dependency>
129
				<groupId>org.apache.velocity</groupId>
130
				<artifactId>velocity</artifactId>
131
				<version>${velocity}</version>
132
			</dependency>
133
			<dependency>
134
				<groupId>org.jsoup</groupId>
135
				<artifactId>jsoup</artifactId>
136
				<version>${jsoup}</version>
137
			</dependency>
138
			<dependency>
139
				<groupId>commons-fileupload</groupId>
140
				<artifactId>commons-fileupload</artifactId>
141
				<version>${commons-fileupload}</version>
142
			</dependency>
143
			<dependency>
144
				<groupId>commons-dbcp</groupId>
145
				<artifactId>commons-dbcp</artifactId>
146
				<version>${commons-dbcp}</version>
147
			</dependency>
148
			<dependency>
149
				<groupId>mysql</groupId>
150
				<artifactId>mysql-connector-java</artifactId>
151
				<version>${mysql-connector-java}</version>
152
			</dependency>
153
			<dependency>
154
				<groupId>commons-codec</groupId>
155
				<artifactId>commons-codec</artifactId>
156
				<version>${commons-codec}</version>
157
			</dependency>
158
			<dependency>
159
				<groupId>org.jdom</groupId>
160
				<artifactId>jdom</artifactId>
161
				<version>${jdom}</version>
162
			</dependency>
163
164
			<!-- 3rd party jar -->
165
			<dependency>
166
				<groupId>com</groupId>
167
				<artifactId>java_memcache-release</artifactId>
168
				<version>${java_memcache-release}</version>
169
			</dependency>
170
			<dependency>
171
				<groupId>com.amail</groupId>
172
				<artifactId>amail</artifactId>
173
				<version>${amail}</version>
174
			</dependency>
175
			<dependency>
176
				<groupId>com.zxing</groupId>
177
				<artifactId>zxing</artifactId>
178
				<version>${zxing}</version>
179
			</dependency>
180
			<dependency>
181
				<groupId>ojdbc</groupId>
182
				<artifactId>ojdbc</artifactId>
183
				<version>${ojdbc}</version>
184
			</dependency>
185
186
			<!-- ipu jar -->
187
			<dependency>
188
				<groupId>com.ai.ipu</groupId>
189
				<artifactId>ipu-basic</artifactId>
190
				<version>${ipu}</version>
191
			</dependency>
192
			<dependency>
193
				<groupId>com.ai.ipu</groupId>
194
				<artifactId>ipu-common</artifactId>
195
				<version>${ipu}</version>
196
			</dependency>
197
			<dependency>
198
				<groupId>com.ai.ipu</groupId>
199
				<artifactId>ipu-database</artifactId>
200
				<version>${ipu}</version>
201
			</dependency>
202
			<dependency>
203
				<groupId>com.ai.ipu</groupId>
204
				<artifactId>ipu-remote-clinet</artifactId>
205
				<version>${ipu}</version>
206
			</dependency>
207
			<dependency>
208
				<groupId>com.ai.ipu</groupId>
209
				<artifactId>ipu-server-web</artifactId>
210
				<version>${ipu}</version>
211
			</dependency>
212
213
			<dependency>
214
				<!-- 不推荐使用,推荐使用wade-mobile-data -->
215
				<groupId>com.ai.wade</groupId>
216
				<artifactId>wade-data</artifactId>
217
				<version>${wade}</version>
218
			</dependency>
219
			<dependency>
220
				<!-- 不依赖其他jar -->
221
				<groupId>com.ai.wade</groupId>
222
				<artifactId>wade-mobile-data</artifactId>
223
				<version>${wade}</version>
224
			</dependency>
225
			<dependency>
226
				<!-- commons-collections-3.2.jar,quartz-all-1.6.3.jar,jdom1.0.jar,wade-apache,wade-common,wade-mobile-data -->
227
				<groupId>com.ai.wade</groupId>
228
				<artifactId>wade-cache</artifactId>
229
				<version>${wade}</version>
230
			</dependency>
231
			<dependency>
232
				<groupId>com.ai.wade</groupId>
233
				<artifactId>wade-apache</artifactId>
234
				<version>${wade}</version>
235
			</dependency>
236
			<dependency>
237
				<groupId>com.ai.wade</groupId>
238
				<artifactId>wade-common</artifactId>
239
				<version>${wade}</version>
240
			</dependency>
241
			<dependency>
242
				<!-- commons-dbcp-1.4.jar,dom4j-1.6.1.jar,jaxen-1.1.1.jar,jta.jar,ojdbc14.jar,mysql-connector-5.1.39.jar,wade-apache,wade-cache,wade-common,wade-mobile-data -->
243
				<groupId>com.ai.wade</groupId>
244
				<artifactId>wade-database</artifactId>
245
				<version>${wade}</version>
246
			</dependency>
247
			<dependency>
248
				<groupId>com.ai.wade</groupId>
249
				<artifactId>wade-sqlite-jdbc</artifactId>
250
				<version>${wade}</version>
251
			</dependency>
252
			<dependency>
253
				<!-- ipu-basic,ipu-server-web,wade-apache,wade-cache,wade-common,wade-database,wade-mobile-data -->
254
				<groupId>com.ai.wade</groupId>
255
				<artifactId>wade-codecode</artifactId>
256
				<version>${wade}</version>
257
			</dependency>
258
259
		</dependencies>
260
	</dependencyManagement>
261
262
	<build>
263
		<pluginManagement>
264
			<plugins>
265
				<plugin>
266
					<groupId>org.apache.maven.plugins</groupId>
267
					<artifactId>maven-clean-plugin</artifactId>
268
					<version>${maven-clean-plugin}</version>
269
				</plugin>
270
				<!-- 默认jre编译版本 -->
271
				<plugin>
272
					<groupId>org.apache.maven.plugins</groupId>
273
					<artifactId>maven-compiler-plugin</artifactId>
274
					<version>${maven-compiler-plugin}</version>
275
					<configuration>
276
						<source>${compiler-version}</source>
277
						<target>${compiler-version}</target>
278
					</configuration>
279
				</plugin>
280
				<!-- 由于配置了<packaging>war</packaging>,插件maven-war-plugin默认调用 -->
281
				<!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> 
282
					<version>${maven-war-plugin}</version> </plugin> -->
283
				<plugin>
284
					<groupId>org.apache.maven.plugins</groupId>
285
					<artifactId>maven-surefire-plugin</artifactId>
286
					<version>${maven-surefire-plugin}</version>
287
					<configuration>
288
						<!-- 跳过单元测试 -->
289
						<skip>true</skip>
290
					</configuration>
291
				</plugin>
292
				<!-- 复制资源 -->
293
				<plugin>
294
					<groupId>org.apache.maven.plugins</groupId>
295
					<artifactId>maven-resources-plugin</artifactId>
296
					<version>${maven-resources-plugin}</version>
297
				</plugin>
298
				<!-- 复制lib包在这一步 -->
299
				<plugin>
300
					<groupId>org.apache.maven.plugins</groupId>
301
					<artifactId>maven-dependency-plugin</artifactId>
302
					<version>${maven-dependency-plugin}</version>
303
					<executions>
304
						<execution>
305
							<id>copy-dep</id>
306
							<phase>package</phase>
307
							<goals>
308
								<goal>copy-dependencies</goal>
309
							</goals>
310
							<configuration>
311
								<outputDirectory>${basedir}/src/main/webapp/WEB-INF/lib</outputDirectory>
312
								<excludeScope>provided</excludeScope>
313
								<excludeArtifactIds>junit</excludeArtifactIds>
314
							</configuration>
315
						</execution>
316
					</executions>
317
				</plugin>
318
			</plugins>
319
		</pluginManagement>
320
321
		<outputDirectory>${basedir}/src/main/webapp/WEB-INF/classes</outputDirectory>
322
	</build>
323
</project>