1
+ <!DOCTYPE html>
2
+ < html >
3
+ < head >
4
+ < meta charset ="utf-8 ">
5
+
6
+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge " >
7
+ < title > maven常用命令 | 菜菜的博客</ title >
8
+ < meta name ="viewport " content ="width=device-width, initial-scale=1, maximum-scale=1 ">
9
+ < meta name ="description " content ="maven 全球中心仓库 http://mirrors.ibiblio.org/maven2/org/apache/
10
+ Sonatype Nexus 搭建Maven 私服
11
+ mvn -v 查看版本mvn compile 编译mvn test 测试mvn clean 清楚编译文件mvn package 把项目打成jar包mvn install 导入mvn archetype:generate 更换本地仓 ">
12
+ < meta property ="og:type " content ="article ">
13
+ < meta property ="og:title " content ="maven常用命令 ">
14
+ < meta property ="og:url " content ="http://yoursite.com/2016/04/28/maven常用命令/index.html ">
15
+ < meta property ="og:site_name " content ="菜菜的博客 ">
16
+ < meta property ="og:description " content ="maven 全球中心仓库 http://mirrors.ibiblio.org/maven2/org/apache/
17
+ Sonatype Nexus 搭建Maven 私服
18
+ mvn -v 查看版本mvn compile 编译mvn test 测试mvn clean 清楚编译文件mvn package 把项目打成jar包mvn install 导入mvn archetype:generate 更换本地仓 ">
19
+ < meta property ="og:updated_time " content ="2016-06-12T17:13:43.000Z ">
20
+ < meta name ="twitter:card " content ="summary ">
21
+ < meta name ="twitter:title " content ="maven常用命令 ">
22
+ < meta name ="twitter:description " content ="maven 全球中心仓库 http://mirrors.ibiblio.org/maven2/org/apache/
23
+ Sonatype Nexus 搭建Maven 私服
24
+ mvn -v 查看版本mvn compile 编译mvn test 测试mvn clean 清楚编译文件mvn package 把项目打成jar包mvn install 导入mvn archetype:generate 更换本地仓 ">
25
+
26
+ < link rel ="alternative " href ="/atom.xml " title ="菜菜的博客 " type ="application/atom+xml ">
27
+
28
+
29
+ < link rel ="icon " href ="/favicon.png ">
30
+
31
+ < link rel ="stylesheet " href ="/css/style.css ">
32
+ </ head >
33
+
34
+ < body >
35
+ < div id ="container ">
36
+ < div class ="left-col ">
37
+ < div class ="overlay "> </ div >
38
+ < div class ="intrude-less ">
39
+ < header id ="header " class ="inner ">
40
+ < a href ="/ " class ="profilepic ">
41
+
42
+ < img lazy-src ="/img/ccz.jpg " class ="js-avatar ">
43
+
44
+ </ a >
45
+
46
+ < hgroup >
47
+ < h1 class ="header-author "> < a href ="/ "> 菜菜</ a > </ h1 >
48
+ </ hgroup >
49
+
50
+
51
+ < p class ="header-subtitle "> 菜菜的博客</ p >
52
+
53
+
54
+
55
+ < div class ="switch-btn ">
56
+ < div class ="icon ">
57
+ < div class ="icon-ctn ">
58
+ < div class ="icon-wrap icon-house " data-idx ="0 ">
59
+ < div class ="birdhouse "> </ div >
60
+ < div class ="birdhouse_holes "> </ div >
61
+ </ div >
62
+ < div class ="icon-wrap icon-ribbon hide " data-idx ="1 ">
63
+ < div class ="ribbon "> </ div >
64
+ </ div >
65
+
66
+ < div class ="icon-wrap icon-link hide " data-idx ="2 ">
67
+ < div class ="loopback_l "> </ div >
68
+ < div class ="loopback_r "> </ div >
69
+ </ div >
70
+
71
+
72
+ < div class ="icon-wrap icon-me hide " data-idx ="3 ">
73
+ < div class ="user "> </ div >
74
+ < div class ="shoulder "> </ div >
75
+ </ div >
76
+
77
+ </ div >
78
+
79
+ </ div >
80
+ < div class ="tips-box hide ">
81
+ < div class ="tips-arrow "> </ div >
82
+ < ul class ="tips-inner ">
83
+ < li > Menu</ li >
84
+ < li > Tags</ li >
85
+
86
+ < li > Links</ li >
87
+
88
+
89
+ < li > Über</ li >
90
+
91
+ </ ul >
92
+ </ div >
93
+ </ div >
94
+
95
+
96
+ < div class ="switch-area ">
97
+ < div class ="switch-wrap ">
98
+ < section class ="switch-part switch-part1 ">
99
+ < nav class ="header-menu ">
100
+ < ul >
101
+
102
+ < li > < a href ="/ "> 主页</ a > </ li >
103
+
104
+ < li > < a href ="/archives "> 所有文章</ a > </ li >
105
+
106
+ < li > < a href ="/tags "> 标签</ a > </ li >
107
+
108
+ </ ul >
109
+ </ nav >
110
+ < nav class ="header-nav ">
111
+ < div class ="social ">
112
+
113
+ < a class ="github " target ="_blank " href ="# " title ="github "> github</ a >
114
+
115
+ < a class ="weibo " target ="_blank " href ="# " title ="weibo "> weibo</ a >
116
+
117
+ < a class ="rss " target ="_blank " href ="# " title ="rss "> rss</ a >
118
+
119
+ < a class ="zhihu " target ="_blank " href ="# " title ="zhihu "> zhihu</ a >
120
+
121
+ </ div >
122
+ </ nav >
123
+ </ section >
124
+
125
+
126
+ < section class ="switch-part switch-part2 ">
127
+ < div class ="widget tagcloud " id ="js-tagcloud ">
128
+ < a href ="/tags/android/ " style ="font-size: 10px; "> android</ a > < a href ="/tags/git/ " style ="font-size: 15px; "> git</ a > < a href ="/tags/html5/ " style ="font-size: 10px; "> html5</ a > < a href ="/tags/java/ " style ="font-size: 15px; "> java</ a > < a href ="/tags/javascript/ " style ="font-size: 15px; "> javascript</ a > < a href ="/tags/linux/ " style ="font-size: 10px; "> linux</ a > < a href ="/tags/maven/ " style ="font-size: 10px; "> maven</ a > < a href ="/tags/memcached/ " style ="font-size: 10px; "> memcached</ a > < a href ="/tags/mongodb/ " style ="font-size: 10px; "> mongodb</ a > < a href ="/tags/mysql/ " style ="font-size: 10px; "> mysql</ a > < a href ="/tags/nginx/ " style ="font-size: 10px; "> nginx</ a > < a href ="/tags/nodejs/ " style ="font-size: 10px; "> nodejs</ a > < a href ="/tags/oracle/ " style ="font-size: 10px; "> oracle</ a > < a href ="/tags/redis/ " style ="font-size: 10px; "> redis</ a > < a href ="/tags/soa/ " style ="font-size: 20px; "> soa</ a > < a href ="/tags/solr/ " style ="font-size: 10px; "> solr</ a > < a href ="/tags/tomcat/ " style ="font-size: 10px; "> tomcat</ a > < a href ="/tags/随笔/ " style ="font-size: 10px; "> 随笔</ a >
129
+ </ div >
130
+ </ section >
131
+
132
+
133
+
134
+ < section class ="switch-part switch-part3 ">
135
+ < div id ="js-friends ">
136
+
137
+ < a target ="_blank " class ="main-nav-link switch-friends-link " href ="http://localhost:4000/ "> 奥巴马的博客</ a >
138
+
139
+ < a target ="_blank " class ="main-nav-link switch-friends-link " href ="http://localhost:4000/ "> 卡卡的美丽传说</ a >
140
+
141
+ < a target ="_blank " class ="main-nav-link switch-friends-link " href ="http://localhost:4000/ "> 本泽马的博客</ a >
142
+
143
+ < a target ="_blank " class ="main-nav-link switch-friends-link " href ="http://localhost:4000/ "> 吉格斯的博客</ a >
144
+
145
+ < a target ="_blank " class ="main-nav-link switch-friends-link " href ="http://localhost:4000/ "> 习大大大不同</ a >
146
+
147
+ < a target ="_blank " class ="main-nav-link switch-friends-link " href ="http://localhost:4000/ "> 托蒂的博客</ a >
148
+
149
+ </ div >
150
+ </ section >
151
+
152
+
153
+
154
+
155
+ < section class ="switch-part switch-part4 ">
156
+
157
+ < div id ="js-aboutme "> 我是谁,我从哪里来,我到哪里去?我就是我,是颜色不一样的吃货…</ div >
158
+ </ section >
159
+
160
+ </ div >
161
+ </ div >
162
+ </ header >
163
+ </ div >
164
+
165
+ </ div >
166
+ < div class ="mid-col ">
167
+ < nav id ="mobile-nav ">
168
+ < div class ="overlay ">
169
+ < div class ="slider-trigger "> </ div >
170
+ < h1 class ="header-author js-mobile-header hide "> 菜菜</ h1 >
171
+ </ div >
172
+ < div class ="intrude-less ">
173
+ < header id ="header " class ="inner ">
174
+ < div class ="profilepic ">
175
+
176
+ < img lazy-src ="/img/ccz.jpg " class ="js-avatar ">
177
+
178
+ </ div >
179
+ < hgroup >
180
+ < h1 class ="header-author "> 菜菜</ h1 >
181
+ </ hgroup >
182
+
183
+ < p class ="header-subtitle "> 菜菜的博客</ p >
184
+
185
+ < nav class ="header-menu ">
186
+ < ul >
187
+
188
+ < li > < a href ="/ "> 主页</ a > </ li >
189
+
190
+ < li > < a href ="/archives "> 所有文章</ a > </ li >
191
+
192
+ < li > < a href ="/tags "> 标签</ a > </ li >
193
+
194
+ < div class ="clearfix "> </ div >
195
+ </ ul >
196
+ </ nav >
197
+ < nav class ="header-nav ">
198
+ < div class ="social ">
199
+
200
+ < a class ="github " target ="_blank " href ="# " title ="github "> github</ a >
201
+
202
+ < a class ="weibo " target ="_blank " href ="# " title ="weibo "> weibo</ a >
203
+
204
+ < a class ="rss " target ="_blank " href ="# " title ="rss "> rss</ a >
205
+
206
+ < a class ="zhihu " target ="_blank " href ="# " title ="zhihu "> zhihu</ a >
207
+
208
+ </ div >
209
+ </ nav >
210
+ </ header >
211
+ </ div >
212
+ </ nav >
213
+
214
+ < div class ="body-wrap "> < article id ="post-maven常用命令 " class ="article article-type-post " itemscope itemprop ="blogPost ">
215
+
216
+ < div class ="article-meta ">
217
+ < a href ="/2016/04/28/maven常用命令/ " class ="article-date ">
218
+ < time datetime ="2016-04-29T00:14:54.000Z " itemprop ="datePublished "> 2016-04-28</ time >
219
+ </ a >
220
+ </ div >
221
+
222
+ < div class ="article-inner ">
223
+
224
+ < input type ="hidden " class ="isFancy " />
225
+
226
+
227
+ < header class ="article-header ">
228
+
229
+
230
+ < h1 class ="article-title " itemprop ="name ">
231
+ maven常用命令
232
+ </ h1 >
233
+
234
+
235
+ </ header >
236
+
237
+ < div class ="article-info article-info-post ">
238
+
239
+ < div class ="article-tag tagcloud ">
240
+ < ul class ="article-tag-list "> < li class ="article-tag-list-item "> < a class ="article-tag-list-link " href ="/tags/maven/ "> maven</ a > </ li > </ ul >
241
+ </ div >
242
+
243
+
244
+
245
+ < div class ="clearfix "> </ div >
246
+ </ div >
247
+
248
+
249
+ < div class ="article-entry " itemprop ="articleBody ">
250
+
251
+ < p > maven 全球中心仓库 < a href ="http://mirrors.ibiblio.org/maven2/org/apache/ " target ="_blank " rel ="external "> http://mirrors.ibiblio.org/maven2/org/apache/</ a > </ p >
252
+ < p > Sonatype Nexus 搭建Maven 私服</ p >
253
+ < p > mvn -v 查看版本< br > mvn compile 编译< br > mvn test 测试< br > mvn clean 清楚编译文件< br > mvn package 把项目打成jar包< br > mvn install 导入< br > mvn archetype:generate 更换本地仓库后下载maven骨架</ p >
254
+
255
+
256
+ </ div >
257
+
258
+ </ div >
259
+
260
+
261
+ < nav id ="article-nav ">
262
+
263
+ < a href ="/2016/04/28/redis的图形化工具/ " id ="article-nav-newer " class ="article-nav-link-wrap ">
264
+ < strong class ="article-nav-caption "> < </ strong >
265
+ < div class ="article-nav-title ">
266
+
267
+ redis的图形化工具
268
+
269
+ </ div >
270
+ </ a >
271
+
272
+
273
+ < a href ="/2016/04/28/远程免密码copy文件/ " id ="article-nav-older " class ="article-nav-link-wrap ">
274
+ < div class ="article-nav-title "> 远程免密码copy文件</ div >
275
+ < strong class ="article-nav-caption "> > </ strong >
276
+ </ a >
277
+
278
+ </ nav >
279
+
280
+
281
+ </ article >
282
+
283
+
284
+ < div class ="share_jia ">
285
+ <!-- JiaThis Button BEGIN -->
286
+ < div class ="jiathis_style ">
287
+ < span class ="jiathis_txt "> Share to: </ span >
288
+ < a class ="jiathis_button_facebook "> </ a >
289
+ < a class ="jiathis_button_twitter "> </ a >
290
+ < a class ="jiathis_button_plus "> </ a >
291
+ < a class ="jiathis_button_tsina "> </ a >
292
+ < a class ="jiathis_button_cqq "> </ a >
293
+ < a class ="jiathis_button_douban "> </ a >
294
+ < a class ="jiathis_button_weixin "> </ a >
295
+ < a class ="jiathis_button_tumblr "> </ a >
296
+ < a href ="http://www.jiathis.com/share " class ="jiathis jiathis_txt jtico jtico_jiathis " target ="_blank "> </ a >
297
+ </ div >
298
+ < script type ="text/javascript " src ="http://v3.jiathis.com/code/jia.js?uid=1405949716054953 " charset ="utf-8 "> </ script >
299
+ <!-- JiaThis Button END -->
300
+ </ div >
301
+
302
+
303
+
304
+
305
+
306
+
307
+ < div class ="duoshuo ">
308
+ <!-- 多说评论框 start -->
309
+ < div class ="ds-thread " data-thread-key ="maven常用命令 " data-title ="maven常用命令 " data-url ="http://yoursite.com/2016/04/28/maven常用命令/ "> </ div >
310
+ <!-- 多说评论框 end -->
311
+ <!-- 多说公共JS代码 start (一个网页只需插入一次) -->
312
+ < script type ="text/javascript ">
313
+ var duoshuoQuery = { short_name :"true" } ;
314
+ ( function ( ) {
315
+ var ds = document . createElement ( 'script' ) ;
316
+ ds . type = 'text/javascript' ; ds . async = true ;
317
+ ds . src = ( document . location . protocol == 'https:' ? 'https:' : 'http:' ) + '//static.duoshuo.com/embed.js' ;
318
+ ds . charset = 'UTF-8' ;
319
+ ( document . getElementsByTagName ( 'head' ) [ 0 ]
320
+ || document . getElementsByTagName ( 'body' ) [ 0 ] ) . appendChild ( ds ) ;
321
+ } ) ( ) ;
322
+ </ script >
323
+ <!-- 多说公共JS代码 end -->
324
+ </ div >
325
+
326
+
327
+
328
+
329
+ </ div >
330
+ < footer id ="footer ">
331
+ < div class ="outer ">
332
+ < div id ="footer-info ">
333
+ < div class ="footer-left ">
334
+ © 2016 菜菜
335
+ </ div >
336
+ < div class ="footer-right ">
337
+ < a href ="http://hexo.io/ " target ="_blank "> Hexo</ a > Theme < a href ="https://github.com/litten/hexo-theme-yilia " target ="_blank "> Yilia</ a > by Litten
338
+ </ div >
339
+ </ div >
340
+ </ div >
341
+ </ footer >
342
+ </ div >
343
+
344
+ < link rel ="stylesheet " href ="/fancybox/jquery.fancybox.css ">
345
+
346
+
347
+ < script >
348
+ var yiliaConfig = {
349
+ fancybox : true ,
350
+ mathjax : true ,
351
+ animate : true ,
352
+ isHome : false ,
353
+ isPost : true ,
354
+ isArchive : false ,
355
+ isTag : false ,
356
+ isCategory : false ,
357
+ open_in_new : false
358
+ }
359
+ </ script >
360
+ < script src ="http://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min.js "> </ script >
361
+ < script src ="/js/main.js "> </ script >
362
+
363
+
364
+
365
+
366
+
367
+
368
+ < script type ="text/x-mathjax-config ">
369
+ MathJax . Hub . Config ( {
370
+ tex2jax : {
371
+ inlineMath : [ [ '$' , '$' ] , [ "\\(" , "\\)" ] ] ,
372
+ processEscapes : true ,
373
+ skipTags : [ 'script' , 'noscript' , 'style' , 'textarea' , 'pre' , 'code' ]
374
+ }
375
+ } ) ;
376
+
377
+ MathJax . Hub . Queue ( function ( ) {
378
+ var all = MathJax . Hub . getAllJax ( ) , i ;
379
+ for ( i = 0 ; i < all . length ; i += 1 ) {
380
+ all [ i ] . SourceElement ( ) . parentNode . className += ' has-jax' ;
381
+ }
382
+ } ) ;
383
+ </ script >
384
+
385
+ < script type ="text/javascript " src ="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML ">
386
+ </ script >
387
+
388
+
389
+ </ div >
390
+ </ body >
391
+ </ html >
0 commit comments