version2 の開発を始めるにあたって、pom.xmlを整理
@@ -1,25 +1,23 @@ | ||
1 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | + <parent> | |
4 | 5 | <groupId>jp.que.ti.lessthanmore</groupId> |
6 | + <artifactId>ltm</artifactId> | |
7 | + <version>2.0.0-SNAPSHOT</version> | |
8 | + </parent> | |
9 | + | |
5 | 10 | <artifactId>ltm_c_sw</artifactId> |
6 | 11 | <packaging>jar</packaging> |
7 | 12 | <name>lessthanmore swing controller package</name> |
8 | - <version>1.0.1</version> | |
13 | + <version>${childs.version}</version> | |
9 | 14 | |
10 | 15 | <build> |
11 | 16 | <finalName>ltm_c_sw</finalName> |
17 | + | |
18 | + | |
12 | 19 | <plugins> |
13 | 20 | <plugin> |
14 | - <artifactId>maven-compiler-plugin</artifactId> | |
15 | - <configuration> | |
16 | - <encoding>UTF-8</encoding> | |
17 | - <source>1.6</source> | |
18 | - <target>1.6</target> | |
19 | - </configuration> | |
20 | - </plugin> | |
21 | - | |
22 | - <plugin> | |
23 | 21 | <groupId>org.apache.maven.plugins</groupId> |
24 | 22 | <artifactId>maven-jar-plugin</artifactId> |
25 | 23 | <configuration> |
@@ -39,41 +37,7 @@ | ||
39 | 37 | </configuration> |
40 | 38 | </plugin> |
41 | 39 | |
42 | - <!-- test,install フェーズでもsurefire-report を有効にする。--> | |
43 | - <plugin> | |
44 | - <artifactId>maven-surefire-report-plugin</artifactId> | |
45 | - <executions> | |
46 | - <execution> | |
47 | - <id>test-test-surefire-report</id> | |
48 | - <phase>test</phase> | |
49 | - <goals> | |
50 | - <goal>report-only</goal> | |
51 | - </goals> | |
52 | - </execution> | |
53 | - <execution> | |
54 | - <id>install-test-surefire-report</id> | |
55 | - <phase>install</phase> | |
56 | - <goals> | |
57 | - <goal>report-only</goal> | |
58 | - </goals> | |
59 | - </execution> | |
60 | - </executions> | |
61 | - </plugin> | |
62 | 40 | |
63 | -<plugin> | |
64 | - <groupId>org.apache.maven.plugins</groupId> | |
65 | - <artifactId>maven-javadoc-plugin</artifactId> | |
66 | - <configuration> | |
67 | - <docencoding>${dist.encoding}</docencoding> | |
68 | - <charset>${dist.encoding}</charset> | |
69 | - <encoding>${src.encoding}</encoding> | |
70 | - <bottom> | |
71 | - <![CDATA[Copyright © 2008-2009 ]]>${project.copyright}<![CDATA[ AllRights Reserved.]]> | |
72 | - </bottom> | |
73 | - </configuration> | |
74 | -</plugin> | |
75 | - | |
76 | - | |
77 | 41 | </plugins> |
78 | 42 | </build> |
79 | 43 |
@@ -93,18 +57,11 @@ | ||
93 | 57 | </dependency> |
94 | 58 | <dependency> |
95 | 59 | <groupId>jp.que.ti.lessthanmore</groupId> |
96 | - <artifactId>ltm_m</artifactId> | |
97 | - <version>[1.0.0,) </version> | |
98 | - </dependency> | |
99 | - <dependency> | |
100 | - <groupId>jp.que.ti.lessthanmore</groupId> | |
101 | 60 | <artifactId>ltm_c</artifactId> |
102 | - <version>[1.0.0,) </version> | |
103 | 61 | </dependency> |
104 | 62 | <dependency> |
105 | 63 | <groupId>jp.que.ti.lessthanmore</groupId> |
106 | 64 | <artifactId>ltm_v_swing</artifactId> |
107 | - <version>[1.0.0,) </version> | |
108 | 65 | </dependency> |
109 | 66 | </dependencies> |
110 | 67 | </project> |
@@ -1,17 +1,143 @@ | ||
1 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | - <modelVersion>4.0.0</modelVersion> | |
4 | - <groupId>com.example.myproject</groupId> | |
5 | - <artifactId>myproject</artifactId> | |
6 | - <packaging>pom</packaging> | |
7 | - <version>1.0-SNAPSHOT</version> | |
8 | - <name>Maven Quick Start Archetype</name> | |
9 | - <url>http://maven.apache.org</url> | |
3 | + <modelVersion>4.0.0</modelVersion> | |
10 | 4 | |
11 | - <modules> | |
12 | - <module>../yutils</module> | |
13 | - <module>ltm_m</module> | |
14 | - <module>ltm_c</module> | |
15 | - <module>ltm_c_sw</module> | |
16 | - </modules> | |
17 | -</project> | |
\ No newline at end of file | ||
5 | + <groupId>jp.que.ti.lessthanmore</groupId> | |
6 | + <artifactId>ltm</artifactId> | |
7 | + <packaging>pom</packaging> | |
8 | + <version>2.0.0-SNAPSHOT</version> | |
9 | + <name>lessthanmore</name> | |
10 | + <url>http://ti.que.jp/p/software/lessthanmore/</url> | |
11 | + | |
12 | + <properties> | |
13 | + <childs.version>2.0.0-SNAPSHOT</childs.version> | |
14 | + <java.target.version>1.8</java.target.version> | |
15 | + <java.source.version>1.8</java.source.version> | |
16 | + <java.source.encording>UTF-8</java.source.encording> | |
17 | + <java.javadoc.encording>UTF-8</java.javadoc.encording> | |
18 | + </properties> | |
19 | + | |
20 | + <modules> | |
21 | + <module>../yutils</module> | |
22 | + <module>ltm_m</module> | |
23 | + <module>ltm_c</module> | |
24 | + <module>ltm_c_sw</module> | |
25 | + </modules> | |
26 | + | |
27 | + | |
28 | + <build> | |
29 | + <plugins> | |
30 | + <plugin> | |
31 | + <artifactId>maven-compiler-plugin</artifactId> | |
32 | + <configuration> | |
33 | + <encoding>${java.source.encording}</encoding> | |
34 | + <source>${java.target.version}</source> | |
35 | + <target>${java.source.version}</target> | |
36 | + </configuration> | |
37 | + </plugin> | |
38 | + | |
39 | + <!-- test,install フェーズでもsurefire-report を有効にする。 --> | |
40 | + <plugin> | |
41 | + <artifactId>maven-surefire-report-plugin</artifactId> | |
42 | + <executions> | |
43 | + <execution> | |
44 | + <id>test-test-surefire-report</id> | |
45 | + <phase>test</phase> | |
46 | + <goals> | |
47 | + <goal>report-only</goal> | |
48 | + </goals> | |
49 | + </execution> | |
50 | + <execution> | |
51 | + <id>install-test-surefire-report</id> | |
52 | + <phase>install</phase> | |
53 | + <goals> | |
54 | + <goal>report-only</goal> | |
55 | + </goals> | |
56 | + </execution> | |
57 | + </executions> | |
58 | + </plugin> | |
59 | + <!-- --> | |
60 | + | |
61 | + </plugins> | |
62 | + </build> | |
63 | + | |
64 | + <reporting> | |
65 | + <plugins> | |
66 | + <plugin> | |
67 | + <groupId>org.apache.maven.plugins</groupId> | |
68 | + <artifactId>maven-javadoc-plugin</artifactId> | |
69 | + <!-- <version>2.10.1</version> --> | |
70 | + <configuration> | |
71 | + <author>true</author> | |
72 | + <source>1.7</source> | |
73 | + <show>protected</show> | |
74 | + <encoding>${java.javadoc.encording}</encoding> | |
75 | + <charset>${java.javadoc.encording}</charset> | |
76 | + <docencoding>${java.source.encording}</docencoding> | |
77 | + </configuration> | |
78 | + <reportSets> | |
79 | + <reportSet> | |
80 | + <id>non-aggregate</id> | |
81 | + <configuration> | |
82 | + <!-- Specific configuration for the non aggregate report --> | |
83 | + </configuration> | |
84 | + <reports> | |
85 | + <report>javadoc</report> | |
86 | + </reports> | |
87 | + </reportSet> | |
88 | + <reportSet> | |
89 | + <id>aggregate</id> | |
90 | + <configuration> | |
91 | + <!-- Specific configuration for the aggregate report --> | |
92 | + </configuration> | |
93 | + <reports> | |
94 | + <report>aggregate</report> | |
95 | + </reports> | |
96 | + </reportSet> | |
97 | + </reportSets> | |
98 | + </plugin> | |
99 | + </plugins> | |
100 | + </reporting> | |
101 | + | |
102 | + | |
103 | + <dependencyManagement> | |
104 | + <dependencies> | |
105 | + <dependency> | |
106 | + <groupId>com.googlecode.juniversalchardet</groupId> | |
107 | + <artifactId>juniversalchardet</artifactId> | |
108 | + <version>1.0.3</version> | |
109 | + </dependency> | |
110 | + <dependency> | |
111 | + <groupId>jp.que.ti.yhj.utils</groupId> | |
112 | + <artifactId>yutils</artifactId> | |
113 | + <version>1.0.0</version> | |
114 | + </dependency> | |
115 | + <dependency> | |
116 | + <groupId>commons-cli</groupId> | |
117 | + <artifactId>commons-cli</artifactId> | |
118 | + <version>1.2</version> | |
119 | + </dependency> | |
120 | + | |
121 | + <dependency> | |
122 | + <groupId>jp.que.ti.lessthanmore</groupId> | |
123 | + <artifactId>ltm_m</artifactId> | |
124 | + <version>${childs.version}</version> | |
125 | + </dependency> | |
126 | + <dependency> | |
127 | + <groupId>jp.que.ti.lessthanmore</groupId> | |
128 | + <artifactId>ltm_c</artifactId> | |
129 | + <version>${childs.version}</version> | |
130 | + </dependency> | |
131 | + <dependency> | |
132 | + <groupId>jp.que.ti.lessthanmore</groupId> | |
133 | + <artifactId>ltm_v_swing</artifactId> | |
134 | + <version>${childs.version}</version> | |
135 | + </dependency> | |
136 | + | |
137 | + </dependencies> | |
138 | + </dependencyManagement> | |
139 | + | |
140 | + | |
141 | +</project> | |
142 | + | |
143 | + |
@@ -1,62 +1,34 @@ | ||
1 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | - <groupId>jp.que.ti.lessthanmore</groupId> | |
4 | + | |
5 | + <parent> | |
6 | + <groupId>jp.que.ti.lessthanmore</groupId> | |
7 | + <artifactId>ltm</artifactId> | |
8 | + <version>2.0.0-SNAPSHOT</version> | |
9 | + </parent> | |
10 | + | |
5 | 11 | <artifactId>ltm_c</artifactId> |
6 | - <packaging>jar</packaging> | |
12 | + <packaging>jar</packaging> | |
7 | 13 | <name>lessthanmore controller package</name> |
8 | - <version>1.0.1</version> | |
14 | + <version>${childs.version}</version> | |
9 | 15 | |
10 | - <build> | |
11 | - <plugins> | |
12 | - <plugin> | |
13 | - <artifactId>maven-compiler-plugin</artifactId> | |
14 | - <configuration> | |
15 | - <encoding>UTF-8</encoding> | |
16 | - <source>1.6</source> | |
17 | - <target>1.6</target> | |
18 | - </configuration> | |
19 | - </plugin> | |
20 | 16 | |
21 | - <!-- test,install フェーズでもsurefire-report を有効にする。--> | |
22 | - <plugin> | |
23 | - <artifactId>maven-surefire-report-plugin</artifactId> | |
24 | - <executions> | |
25 | - <execution> | |
26 | - <id>test-test-surefire-report</id> | |
27 | - <phase>test</phase> | |
28 | - <goals> | |
29 | - <goal>report-only</goal> | |
30 | - </goals> | |
31 | - </execution> | |
32 | - <execution> | |
33 | - <id>install-test-surefire-report</id> | |
34 | - <phase>install</phase> | |
35 | - <goals> | |
36 | - <goal>report-only</goal> | |
37 | - </goals> | |
38 | - </execution> | |
39 | - </executions> | |
40 | - </plugin> | |
41 | - </plugins> | |
42 | - </build> | |
17 | + <dependencies> | |
18 | + <dependency> | |
19 | + <groupId>junit</groupId> | |
20 | + <artifactId>junit</artifactId> | |
21 | + <version>3.8.1</version> | |
22 | + <scope>test</scope> | |
23 | + </dependency> | |
43 | 24 | |
44 | - <dependencies> | |
45 | - <dependency> | |
46 | - <groupId>junit</groupId> | |
47 | - <artifactId>junit</artifactId> | |
48 | - <version>3.8.1</version> | |
49 | - <scope>test</scope> | |
50 | - </dependency> | |
51 | - <dependency> | |
25 | + <dependency> | |
52 | 26 | <groupId>commons-cli</groupId> |
53 | 27 | <artifactId>commons-cli</artifactId> |
54 | - <version>[1.2,1.3) </version> | |
55 | - </dependency> | |
56 | - <dependency> | |
28 | + </dependency> | |
29 | + <dependency> | |
57 | 30 | <groupId>jp.que.ti.lessthanmore</groupId> |
58 | 31 | <artifactId>ltm_m</artifactId> |
59 | - <version>[1.0.0,) </version> | |
60 | - </dependency> | |
32 | + </dependency> | |
61 | 33 | </dependencies> |
62 | -</project> | |
\ No newline at end of file | ||
34 | +</project> |