Browse Source

maven build configuration & ignore

tobby48 6 years ago
parent
commit
dad07be2a4
2 changed files with 207 additions and 193 deletions
  1. 1
    0
      .gitignore
  2. 206
    193
      pom.xml

+ 1
- 0
.gitignore View File

@@ -2,3 +2,4 @@
2 2
 .classpath
3 3
 .project
4 4
 /opensource.log
5
+/bin/

+ 206
- 193
pom.xml View File

@@ -1,193 +1,206 @@
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
-
5
-	<groupId>kr.co.swh</groupId>
6
-	<artifactId>lecture-opensource</artifactId>
7
-	<version>1.0</version>
8
-	<packaging>jar</packaging>
9
-
10
-	<name>opensource</name>
11
-	<url>http://maven.apache.org</url>
12
-
13
-	<properties>
14
-		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15
-		
16
-		<!-- 1일차 -->
17
-		<junit.version>3.8.1</junit.version>
18
-		<mockito.version>1.10.19</mockito.version>
19
-		
20
-		<!-- 2일차 -->
21
-		<mysql.version>5.1.36</mysql.version>
22
-		<hibernate.version>5.2.12.Final</hibernate.version>
23
-		
24
-		<!-- 3일차 -->
25
-		<lombok.version>1.16.20</lombok.version>
26
-		<jsoup.version>1.11.2</jsoup.version>
27
-		<jackson.version>2.9.4</jackson.version>
28
-		<gson.version>2.8.2</gson.version>
29
-		<dom4j.version>2.1.0</dom4j.version>
30
-		<ini4j.version>0.5.4</ini4j.version>
31
-		
32
-		<!-- 4일차 -->
33
-		<log4j2.version>2.10.0</log4j2.version>
34
-		<guava.version>23.6-jre</guava.version>
35
-		<quartz.version>2.2.1</quartz.version>
36
-
37
-		<jetty.version>9.4.8.v20171121</jetty.version>
38
-		<jersey.version>1.19.4</jersey.version>
39
-		
40
-	</properties>
41
-
42
-	<!-- lombok -->
43
-	<repositories>
44
-		<repository>
45
-			<id>projectlombok.org</id>
46
-			<url>http://projectlombok.org/mavenrepo</url>
47
-		</repository>
48
-	</repositories>
49
-
50
-
51
-	<dependencies>
52
-		<dependency>
53
-			<groupId>junit</groupId>
54
-			<artifactId>junit</artifactId>
55
-			<version>3.8.1</version>
56
-			<scope>test</scope>
57
-		</dependency>
58
-
59
-		<dependency>
60
-			<groupId>org.mockito</groupId>
61
-			<artifactId>mockito-all</artifactId>
62
-			<version>1.10.19</version>
63
-			<scope>test</scope>
64
-		</dependency>
65
-
66
-
67
-		<!-- MariaDB / Mysql -->
68
-		<dependency>
69
-			<groupId>mysql</groupId>
70
-			<artifactId>mysql-connector-java</artifactId>
71
-			<version>${mysql.version}</version>
72
-		</dependency>
73
-
74
-		<!-- 하이버네이트 -->
75
-		<dependency>
76
-			<groupId>org.hibernate</groupId>
77
-			<artifactId>hibernate-core</artifactId>
78
-			<version>${hibernate.version}</version>
79
-		</dependency>
80
-
81
-
82
-		<!-- 어노테이션 기반 자동 바이너리 생성 -->
83
-		<dependency>
84
-			<groupId>org.projectlombok</groupId>
85
-			<artifactId>lombok</artifactId>
86
-			<version>${lombok.version}</version>
87
-		</dependency>
88
-
89
-		<!-- HTTP 웹 브라우저 파싱 -->
90
-		<dependency>
91
-			<groupId>org.jsoup</groupId>
92
-			<artifactId>jsoup</artifactId>
93
-			<version>${jsoup.version}</version>
94
-		</dependency>
95
-		
96
-
97
-		<!-- 파일 포맷 JSON -->
98
-		<dependency>
99
-			<groupId>com.fasterxml.jackson.core</groupId>
100
-			<artifactId>jackson-databind</artifactId>
101
-			<version>${jackson.version}</version>
102
-		</dependency>
103
-		<dependency>
104
-			<groupId>com.google.code.gson</groupId>
105
-			<artifactId>gson</artifactId>
106
-			<version>${gson.version}</version>
107
-		</dependency>
108
-
109
-		<!-- 파일 포맷 DOM4J -->
110
-		<dependency>
111
-			<groupId>org.dom4j</groupId>
112
-			<artifactId>dom4j</artifactId>
113
-			<version>${dom4j.version}</version>
114
-			<!-- 하이버네이트 에 이전 버전이 있으므로 exclusion을 사용 -->
115
-		</dependency>
116
-
117
-		<!-- 파일 포맷 INI4J -->
118
-		<dependency>
119
-			<groupId>org.ini4j</groupId>
120
-			<artifactId>ini4j</artifactId>
121
-			<version>${ini4j.version}</version>
122
-		</dependency>
123
-
124
-
125
-		<!-- Log4J 로그 -->
126
-		<dependency>
127
-			<groupId>org.apache.logging.log4j</groupId>
128
-			<artifactId>log4j-core</artifactId>
129
-			<version>${log4j2.version}</version>
130
-		</dependency>
131
-		
132
-		<!-- Lists를 주로 사용 -->
133
-		<dependency>
134
-			<groupId>com.google.guava</groupId>
135
-			<artifactId>guava</artifactId>
136
-			<version>${guava.version}</version>
137
-		</dependency>
138
-		
139
-		<!-- 스케줄링 -->
140
-		<dependency>
141
-			<groupId>org.quartz-scheduler</groupId>
142
-			<artifactId>quartz</artifactId>
143
-			<version>${quartz.version}</version>
144
-		</dependency>
145
-		
146
-		
147
-		<!-- SERVER SIDE -->
148
-		<!-- HTTP 서버 -->
149
-		<dependency>
150
-			<groupId>org.eclipse.jetty</groupId>
151
-			<artifactId>jetty-server</artifactId>
152
-			<version>${jetty.version}</version>
153
-		</dependency>
154
-		<!-- HTTP 웹 서버 -->
155
-		<dependency>
156
-			<groupId>org.eclipse.jetty</groupId>
157
-			<artifactId>jetty-webapp</artifactId>
158
-			<version>${jetty.version}</version>
159
-		</dependency>
160
-		<!-- HTTP 웹소켓 -->
161
-		<dependency>
162
-			<groupId>org.eclipse.jetty.websocket</groupId>
163
-			<artifactId>websocket-server</artifactId>
164
-			<version>${jetty.version}</version>
165
-		</dependency>
166
-		<!-- [ERROR] No JSP support.  Check that JSP jars are in lib/jsp and that the JSP option has been specified to start.jar -->
167
-		<dependency>
168
-    		<groupId>org.eclipse.jetty</groupId>
169
-    		<artifactId>jetty-jsp</artifactId>
170
-    		<version>9.2.24.v20180105</version>
171
-		</dependency>
172
-
173
-		<!-- REST 웹서비스 -->
174
-		<dependency>
175
-			<groupId>com.sun.jersey</groupId>
176
-			<artifactId>jersey-server</artifactId>
177
-			<version>${jersey.version}</version>
178
-		</dependency>
179
-		<dependency>
180
-			<groupId>com.sun.jersey</groupId>
181
-			<artifactId>jersey-bundle</artifactId>
182
-			<version>${jersey.version}</version>
183
-		</dependency>
184
-		<dependency>
185
-			<groupId>com.sun.jersey</groupId>
186
-			<artifactId>jersey-json</artifactId>
187
-			<version>${jersey.version}</version>
188
-		</dependency>
189
-		 
190
-		<!-- CLIENT SIDE -->
191
-		
192
-	</dependencies>
193
-</project>
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
+
5
+	<groupId>kr.co.swh</groupId>
6
+	<artifactId>lecture-opensource</artifactId>
7
+	<version>1.0</version>
8
+	<packaging>jar</packaging>
9
+
10
+	<name>opensource</name>
11
+	<url>http://maven.apache.org</url>
12
+
13
+	<properties>
14
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15
+		
16
+		<!-- 1일차 -->
17
+		<junit.version>3.8.1</junit.version>
18
+		<mockito.version>1.10.19</mockito.version>
19
+		
20
+		<!-- 2일차 -->
21
+		<mysql.version>5.1.36</mysql.version>
22
+		<hibernate.version>5.2.12.Final</hibernate.version>
23
+		
24
+		<!-- 3일차 -->
25
+		<lombok.version>1.16.20</lombok.version>
26
+		<jsoup.version>1.11.2</jsoup.version>
27
+		<jackson.version>2.9.4</jackson.version>
28
+		<gson.version>2.8.2</gson.version>
29
+		<dom4j.version>2.1.0</dom4j.version>
30
+		<ini4j.version>0.5.4</ini4j.version>
31
+		
32
+		<!-- 4일차 -->
33
+		<log4j2.version>2.10.0</log4j2.version>
34
+		<guava.version>23.6-jre</guava.version>
35
+		<quartz.version>2.2.1</quartz.version>
36
+
37
+		<jetty.version>9.4.8.v20171121</jetty.version>
38
+		<jersey.version>1.19.4</jersey.version>
39
+		
40
+	</properties>
41
+
42
+	<!-- lombok -->
43
+	<repositories>
44
+		<repository>
45
+			<id>projectlombok.org</id>
46
+			<url>http://projectlombok.org/mavenrepo</url>
47
+		</repository>
48
+	</repositories>
49
+
50
+
51
+	<dependencies>
52
+		<dependency>
53
+			<groupId>junit</groupId>
54
+			<artifactId>junit</artifactId>
55
+			<version>3.8.1</version>
56
+			<scope>test</scope>
57
+		</dependency>
58
+
59
+		<dependency>
60
+			<groupId>org.mockito</groupId>
61
+			<artifactId>mockito-all</artifactId>
62
+			<version>1.10.19</version>
63
+			<scope>test</scope>
64
+		</dependency>
65
+
66
+
67
+		<!-- MariaDB / Mysql -->
68
+		<dependency>
69
+			<groupId>mysql</groupId>
70
+			<artifactId>mysql-connector-java</artifactId>
71
+			<version>${mysql.version}</version>
72
+		</dependency>
73
+
74
+		<!-- 하이버네이트 -->
75
+		<dependency>
76
+			<groupId>org.hibernate</groupId>
77
+			<artifactId>hibernate-core</artifactId>
78
+			<version>${hibernate.version}</version>
79
+		</dependency>
80
+
81
+
82
+		<!-- 어노테이션 기반 자동 바이너리 생성 -->
83
+		<dependency>
84
+			<groupId>org.projectlombok</groupId>
85
+			<artifactId>lombok</artifactId>
86
+			<version>${lombok.version}</version>
87
+		</dependency>
88
+
89
+		<!-- HTTP 웹 브라우저 파싱 -->
90
+		<dependency>
91
+			<groupId>org.jsoup</groupId>
92
+			<artifactId>jsoup</artifactId>
93
+			<version>${jsoup.version}</version>
94
+		</dependency>
95
+		
96
+
97
+		<!-- 파일 포맷 JSON -->
98
+		<dependency>
99
+			<groupId>com.fasterxml.jackson.core</groupId>
100
+			<artifactId>jackson-databind</artifactId>
101
+			<version>${jackson.version}</version>
102
+		</dependency>
103
+		<dependency>
104
+			<groupId>com.google.code.gson</groupId>
105
+			<artifactId>gson</artifactId>
106
+			<version>${gson.version}</version>
107
+		</dependency>
108
+
109
+		<!-- 파일 포맷 DOM4J -->
110
+		<dependency>
111
+			<groupId>org.dom4j</groupId>
112
+			<artifactId>dom4j</artifactId>
113
+			<version>${dom4j.version}</version>
114
+			<!-- 하이버네이트 에 이전 버전이 있으므로 exclusion을 사용 -->
115
+		</dependency>
116
+
117
+		<!-- 파일 포맷 INI4J -->
118
+		<dependency>
119
+			<groupId>org.ini4j</groupId>
120
+			<artifactId>ini4j</artifactId>
121
+			<version>${ini4j.version}</version>
122
+		</dependency>
123
+
124
+
125
+		<!-- Log4J 로그 -->
126
+		<dependency>
127
+			<groupId>org.apache.logging.log4j</groupId>
128
+			<artifactId>log4j-core</artifactId>
129
+			<version>${log4j2.version}</version>
130
+		</dependency>
131
+		
132
+		<!-- Lists를 주로 사용 -->
133
+		<dependency>
134
+			<groupId>com.google.guava</groupId>
135
+			<artifactId>guava</artifactId>
136
+			<version>${guava.version}</version>
137
+		</dependency>
138
+		
139
+		<!-- 스케줄링 -->
140
+		<dependency>
141
+			<groupId>org.quartz-scheduler</groupId>
142
+			<artifactId>quartz</artifactId>
143
+			<version>${quartz.version}</version>
144
+		</dependency>
145
+		
146
+		
147
+		<!-- SERVER SIDE -->
148
+		<!-- HTTP 서버 -->
149
+		<dependency>
150
+			<groupId>org.eclipse.jetty</groupId>
151
+			<artifactId>jetty-server</artifactId>
152
+			<version>${jetty.version}</version>
153
+		</dependency>
154
+		<!-- HTTP 웹 서버 -->
155
+		<dependency>
156
+			<groupId>org.eclipse.jetty</groupId>
157
+			<artifactId>jetty-webapp</artifactId>
158
+			<version>${jetty.version}</version>
159
+		</dependency>
160
+		<!-- HTTP 웹소켓 -->
161
+		<dependency>
162
+			<groupId>org.eclipse.jetty.websocket</groupId>
163
+			<artifactId>websocket-server</artifactId>
164
+			<version>${jetty.version}</version>
165
+		</dependency>
166
+		<!-- [ERROR] No JSP support.  Check that JSP jars are in lib/jsp and that the JSP option has been specified to start.jar -->
167
+		<dependency>
168
+    		<groupId>org.eclipse.jetty</groupId>
169
+    		<artifactId>jetty-jsp</artifactId>
170
+    		<version>9.2.24.v20180105</version>
171
+		</dependency>
172
+
173
+		<!-- REST 웹서비스 -->
174
+		<dependency>
175
+			<groupId>com.sun.jersey</groupId>
176
+			<artifactId>jersey-server</artifactId>
177
+			<version>${jersey.version}</version>
178
+		</dependency>
179
+		<dependency>
180
+			<groupId>com.sun.jersey</groupId>
181
+			<artifactId>jersey-bundle</artifactId>
182
+			<version>${jersey.version}</version>
183
+		</dependency>
184
+		<dependency>
185
+			<groupId>com.sun.jersey</groupId>
186
+			<artifactId>jersey-json</artifactId>
187
+			<version>${jersey.version}</version>
188
+		</dependency>
189
+		 
190
+		<!-- CLIENT SIDE -->
191
+		
192
+	</dependencies>
193
+	
194
+	<build>
195
+    <plugins>
196
+      <plugin>
197
+        <artifactId>maven-compiler-plugin</artifactId>
198
+        <version>3.5.1</version>
199
+        <configuration>
200
+          <source>1.8</source>
201
+          <target>1.8</target>
202
+        </configuration>
203
+      </plugin>
204
+    </plugins>
205
+  </build>
206
+</project>