質問編集履歴

3

ソースフォルダの記述を修正しました。

2017/08/30 00:28

投稿

hirohiro0369
hirohiro0369

スコア16

test CHANGED
File without changes
test CHANGED
@@ -30,12 +30,16 @@
30
30
 
31
31
  mavenプロジェクト"eformadm"内のソースフォルダ"src"内に下記サブフォルダが複数存在します。
32
32
 
33
+ ```
34
+
33
35
  \\eformadm\src\cycommon
34
36
 
35
37
  \\eformadm\src\core
36
38
 
37
39
  \\eformadm\src\web
38
40
 
41
+ ```
42
+
39
43
 
40
44
 
41
45
  ■pom.xmlについて

2

pom\.xmlの内容が見にくかったので、修正しました。

2017/08/30 00:28

投稿

hirohiro0369
hirohiro0369

スコア16

test CHANGED
File without changes
test CHANGED
@@ -22,26 +22,26 @@
22
22
 
23
23
 
24
24
 
25
-
26
-
27
25
  【補足情報】
28
26
 
29
27
  フォルダ構造とpom.xmlについて補足しました。
30
28
 
31
29
  ■フォルダ構造について
32
30
 
33
- mavenプロジェクト"eformadm"内のソースフォルダ"src"内に下記サブフォルダが存在します。
31
+ mavenプロジェクト"eformadm"内のソースフォルダ"src"内に下記サブフォルダが複数存在します。
34
-
32
+
35
- \eformadm\src\cycommon
33
+ \\eformadm\src\cycommon
36
-
34
+
37
- \eformadm\src\core
35
+ \\eformadm\src\core
38
-
36
+
39
- \eformadm\src\web
37
+ \\eformadm\src\web
40
38
 
41
39
 
42
40
 
43
41
  ■pom.xmlについて
44
42
 
43
+ ```xml
44
+
45
45
  <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">
46
46
 
47
47
  <modelVersion>4.0.0</modelVersion>
@@ -54,9 +54,15 @@
54
54
 
55
55
  <packaging>war</packaging>
56
56
 
57
+ <properties>
58
+
59
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
60
+
61
+ </properties>
62
+
57
63
  <build>
58
64
 
59
- <finalName>form-alpha-adm</finalName>
65
+ <finalName>eformadm</finalName>
60
66
 
61
67
  <sourceDirectory>src</sourceDirectory>
62
68
 
@@ -66,12 +72,24 @@
66
72
 
67
73
  <directory>res/conf</directory>
68
74
 
75
+ <excludes>
76
+
77
+ <exclude>**/*.java</exclude>
78
+
79
+ </excludes>
80
+
69
81
  </resource>
70
82
 
71
83
  <resource>
72
84
 
73
85
  <directory>res/sql</directory>
74
86
 
87
+ <excludes>
88
+
89
+ <exclude>**/*.java</exclude>
90
+
91
+ </excludes>
92
+
75
93
  </resource>
76
94
 
77
95
  </resources>
@@ -90,14 +108,6 @@
90
108
 
91
109
  <target>1.8</target>
92
110
 
93
- <excludes>
94
-
95
- <exclude>test</exclude>
96
-
97
- <exclude>CVS</exclude>
98
-
99
- </excludes>
100
-
101
111
  </configuration>
102
112
 
103
113
  </plugin>
@@ -165,3 +175,289 @@
165
175
  </build>
166
176
 
167
177
  <dependencies>
178
+
179
+ <dependency>
180
+
181
+ <groupId>asm</groupId>
182
+
183
+ <artifactId>asm</artifactId>
184
+
185
+ <version>3.3.1</version>
186
+
187
+ </dependency>
188
+
189
+ <dependency>
190
+
191
+ <groupId>commons-collections</groupId>
192
+
193
+ <artifactId>commons-collections</artifactId>
194
+
195
+ <version>3.2.1</version>
196
+
197
+ </dependency>
198
+
199
+ <dependency>
200
+
201
+ <groupId>org.apache.commons</groupId>
202
+
203
+ <artifactId>commons-compress</artifactId>
204
+
205
+ <version>1.13</version>
206
+
207
+ </dependency>
208
+
209
+ <dependency>
210
+
211
+ <groupId>commons-fileupload</groupId>
212
+
213
+ <artifactId>commons-fileupload</artifactId>
214
+
215
+ <version>1.3.2</version>
216
+
217
+ </dependency>
218
+
219
+ <dependency>
220
+
221
+ <groupId>commons-io</groupId>
222
+
223
+ <artifactId>commons-io</artifactId>
224
+
225
+ <version>2.4</version>
226
+
227
+ </dependency>
228
+
229
+ <dependency>
230
+
231
+ <groupId>org.apache.commons</groupId>
232
+
233
+ <artifactId>commons-lang3</artifactId>
234
+
235
+ <version>3.4</version>
236
+
237
+ </dependency>
238
+
239
+ <dependency>
240
+
241
+ <groupId>commons-logging</groupId>
242
+
243
+ <artifactId>commons-logging</artifactId>
244
+
245
+ <version>1.1.3</version>
246
+
247
+ </dependency>
248
+
249
+ <dependency>
250
+
251
+ <groupId>org.freemarker</groupId>
252
+
253
+ <artifactId>freemarker</artifactId>
254
+
255
+ <version>2.3.23</version>
256
+
257
+ </dependency>
258
+
259
+ <dependency>
260
+
261
+ <groupId>org.javassist</groupId>
262
+
263
+ <artifactId>javassist</artifactId>
264
+
265
+ <version>3.20.0-GA</version>
266
+
267
+ </dependency>
268
+
269
+ <dependency>
270
+
271
+ <groupId>log4j</groupId>
272
+
273
+ <artifactId>log4j</artifactId>
274
+
275
+ <version>1.2.17</version>
276
+
277
+ </dependency>
278
+
279
+ <dependency>
280
+
281
+ <groupId>org.mybatis</groupId>
282
+
283
+ <artifactId>mybatis</artifactId>
284
+
285
+ <version>3.3.0</version>
286
+
287
+ </dependency>
288
+
289
+ <dependency>
290
+
291
+ <groupId>org.mybatis</groupId>
292
+
293
+ <artifactId>mybatis-spring</artifactId>
294
+
295
+ <version>1.2.3</version>
296
+
297
+ </dependency>
298
+
299
+ <dependency>
300
+
301
+ <groupId>ognl</groupId>
302
+
303
+ <artifactId>ognl</artifactId>
304
+
305
+ <version>3.1.12</version>
306
+
307
+ </dependency>
308
+
309
+ <dependency>
310
+
311
+ <groupId>org.springframework</groupId>
312
+
313
+ <artifactId>spring-aop</artifactId>
314
+
315
+ <version>4.1.6.RELEASE</version>
316
+
317
+ </dependency>
318
+
319
+ <dependency>
320
+
321
+ <groupId>org.springframework</groupId>
322
+
323
+ <artifactId>spring-beans</artifactId>
324
+
325
+ <version>4.1.6.RELEASE</version>
326
+
327
+ </dependency>
328
+
329
+ <dependency>
330
+
331
+ <groupId>org.springframework</groupId>
332
+
333
+ <artifactId>spring-context</artifactId>
334
+
335
+ <version>4.1.6.RELEASE</version>
336
+
337
+ </dependency>
338
+
339
+ <dependency>
340
+
341
+ <groupId>org.springframework</groupId>
342
+
343
+ <artifactId>spring-context-support</artifactId>
344
+
345
+ <version>4.1.6.RELEASE</version>
346
+
347
+ </dependency>
348
+
349
+ <dependency>
350
+
351
+ <groupId>org.springframework</groupId>
352
+
353
+ <artifactId>spring-core</artifactId>
354
+
355
+ <version>4.1.6.RELEASE</version>
356
+
357
+ </dependency>
358
+
359
+ <dependency>
360
+
361
+ <groupId>org.springframework</groupId>
362
+
363
+ <artifactId>spring-expression</artifactId>
364
+
365
+ <version>4.1.6.RELEASE</version>
366
+
367
+ </dependency>
368
+
369
+ <dependency>
370
+
371
+ <groupId>org.springframework</groupId>
372
+
373
+ <artifactId>spring-jdbc</artifactId>
374
+
375
+ <version>4.1.6.RELEASE</version>
376
+
377
+ </dependency>
378
+
379
+ <dependency>
380
+
381
+ <groupId>org.springframework</groupId>
382
+
383
+ <artifactId>spring-tx</artifactId>
384
+
385
+ <version>4.1.6.RELEASE</version>
386
+
387
+ </dependency>
388
+
389
+ <dependency>
390
+
391
+ <groupId>org.springframework</groupId>
392
+
393
+ <artifactId>spring-web</artifactId>
394
+
395
+ <version>4.1.6.RELEASE</version>
396
+
397
+ </dependency>
398
+
399
+ <dependency>
400
+
401
+ <groupId>org.postgresql</groupId>
402
+
403
+ <artifactId>postgresql</artifactId>
404
+
405
+ <version>42.1.1</version>
406
+
407
+ </dependency>
408
+
409
+ <dependency>
410
+
411
+ <groupId>org.apache.struts</groupId>
412
+
413
+ <artifactId>struts2-core</artifactId>
414
+
415
+ <version>2.5.10.1</version>
416
+
417
+ </dependency>
418
+
419
+ <dependency>
420
+
421
+ <groupId>javax.servlet</groupId>
422
+
423
+ <artifactId>javax.servlet-api</artifactId>
424
+
425
+ <version>3.1.0</version>
426
+
427
+ </dependency>
428
+
429
+ <dependency>
430
+
431
+ <groupId>org.apache.tomcat</groupId>
432
+
433
+ <artifactId>tomcat-dbcp</artifactId>
434
+
435
+ <version>7.0.78</version>
436
+
437
+ </dependency>
438
+
439
+ <dependency>
440
+
441
+ <groupId>org.apache.struts</groupId>
442
+
443
+ <artifactId>struts2-spring-plugin</artifactId>
444
+
445
+ <version>2.5.10.1</version>
446
+
447
+ </dependency>
448
+
449
+ <dependency>
450
+
451
+ <groupId>org.apache.struts</groupId>
452
+
453
+ <artifactId>struts2-json-plugin</artifactId>
454
+
455
+ <version>2.5.10.1</version>
456
+
457
+ </dependency>
458
+
459
+ </dependencies>
460
+
461
+ </project>
462
+
463
+ ```

1

フォルダ構造とpom\.xmlについて補足しました。

2017/08/29 05:07

投稿

hirohiro0369
hirohiro0369

スコア16

test CHANGED
File without changes
test CHANGED
@@ -19,3 +19,149 @@
19
19
 
20
20
 
21
21
  以上、よろしくお願いいたします。
22
+
23
+
24
+
25
+
26
+
27
+ 【補足情報】
28
+
29
+ フォルダ構造とpom.xmlについて補足しました。
30
+
31
+ ■フォルダ構造について
32
+
33
+ mavenプロジェクト"eformadm"内のソースフォルダ"src"内に下記サブフォルダが存在します。
34
+
35
+ \eformadm\src\cycommon
36
+
37
+ \eformadm\src\core
38
+
39
+ \eformadm\src\web
40
+
41
+
42
+
43
+ ■pom.xmlについて
44
+
45
+ <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">
46
+
47
+ <modelVersion>4.0.0</modelVersion>
48
+
49
+ <groupId>eformadm</groupId>
50
+
51
+ <artifactId>eformadm</artifactId>
52
+
53
+ <version>0.0.1-SNAPSHOT</version>
54
+
55
+ <packaging>war</packaging>
56
+
57
+ <build>
58
+
59
+ <finalName>form-alpha-adm</finalName>
60
+
61
+ <sourceDirectory>src</sourceDirectory>
62
+
63
+ <resources>
64
+
65
+ <resource>
66
+
67
+ <directory>res/conf</directory>
68
+
69
+ </resource>
70
+
71
+ <resource>
72
+
73
+ <directory>res/sql</directory>
74
+
75
+ </resource>
76
+
77
+ </resources>
78
+
79
+ <plugins>
80
+
81
+ <plugin>
82
+
83
+ <artifactId>maven-compiler-plugin</artifactId>
84
+
85
+ <version>3.5.1</version>
86
+
87
+ <configuration>
88
+
89
+ <source>1.8</source>
90
+
91
+ <target>1.8</target>
92
+
93
+ <excludes>
94
+
95
+ <exclude>test</exclude>
96
+
97
+ <exclude>CVS</exclude>
98
+
99
+ </excludes>
100
+
101
+ </configuration>
102
+
103
+ </plugin>
104
+
105
+ <plugin>
106
+
107
+ <artifactId>maven-war-plugin</artifactId>
108
+
109
+ <version>3.0.0</version>
110
+
111
+ <configuration>
112
+
113
+ <warSourceDirectory>WebContent</warSourceDirectory>
114
+
115
+ <webXml>WebContent/WEB-INF/web.xml</webXml>
116
+
117
+ </configuration>
118
+
119
+ </plugin>
120
+
121
+ <plugin>
122
+
123
+ <groupId>org.codehaus.mojo</groupId>
124
+
125
+ <artifactId>build-helper-maven-plugin</artifactId>
126
+
127
+ <version>3.0.0</version>
128
+
129
+ <executions>
130
+
131
+ <execution>
132
+
133
+ <id>add-source</id>
134
+
135
+ <phase>generate-sources</phase>
136
+
137
+ <goals>
138
+
139
+ <goal>add-source</goal>
140
+
141
+ </goals>
142
+
143
+ <configuration>
144
+
145
+ <sources>
146
+
147
+ <source>src/cycommon</source>
148
+
149
+ <source>src/core</source>
150
+
151
+ <source>src/web</source>
152
+
153
+ </sources>
154
+
155
+ </configuration>
156
+
157
+ </execution>
158
+
159
+ </executions>
160
+
161
+ </plugin>
162
+
163
+ </plugins>
164
+
165
+ </build>
166
+
167
+ <dependencies>