itVincent Blog - Java Working Fun!
技術(shù)引領(lǐng)時(shí)代!
posts - 117, comments - 181, trackbacks - 0, articles - 12
導(dǎo)航
BlogJava
首頁
新隨筆
聯(lián)系
聚合
管理
<
2009年5月
>
日
一
二
三
四
五
六
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
常用鏈接
我的隨筆
我的評論
我的參與
最新評論
留言簿
(5)
給我留言
查看公開留言
查看私人留言
我參與的團(tuán)隊(duì)
假啊假(JAAJ)-JavaAjax開發(fā)團(tuán)隊(duì)(0/0)
隨筆分類
(70)
Ajax(6)
database(2)
esb(1)
grails
html & css(6)
javascript(4)
Java基礎(chǔ)(9)
Java應(yīng)用(3)
jQuery(7)
JSF(8)
Linux(4)
maven(10)
python(1)
Tapestry
wow(1)
生活(8)
隨筆檔案
(117)
2012年1月 (1)
2011年12月 (1)
2011年10月 (2)
2011年9月 (6)
2011年8月 (10)
2011年7月 (11)
2010年9月 (2)
2010年8月 (2)
2010年7月 (2)
2010年6月 (5)
2010年3月 (1)
2010年2月 (2)
2010年1月 (2)
2009年12月 (3)
2009年11月 (2)
2009年9月 (5)
2009年8月 (3)
2009年7月 (1)
2009年5月 (5)
2009年4月 (1)
2009年3月 (2)
2008年12月 (1)
2008年11月 (2)
2008年10月 (1)
2008年7月 (1)
2008年4月 (1)
2008年3月 (1)
2008年1月 (1)
2007年10月 (1)
2007年8月 (4)
2007年7月 (1)
2007年4月 (3)
2007年3月 (2)
2007年2月 (3)
2007年1月 (1)
2006年12月 (8)
2006年11月 (9)
2006年10月 (8)
文章檔案
(12)
2011年9月 (1)
2010年10月 (1)
2010年9月 (7)
2010年8月 (1)
2007年8月 (2)
相冊
My Gallery
收藏夾
(1)
groovy(1)
我的BLOG
我的和訊BLOG
我的朋友BLOG
UkingLli的BLOG
他又換了家
搜索
積分與排名
積分 - 308142
排名 - 187
最新評論
1.?re: 【轉(zhuǎn)】使用Httpclient實(shí)現(xiàn)SSL雙向認(rèn)證
還有SSLSocketFacktory,其中一個(gè)(javax.net.ssl)是抽象類不能初始化對象。ps:
這段代碼和微信支付證書的示例代碼如出一轍(sysout的分隔線都一樣==)
--hadeed
2.?re: 【轉(zhuǎn)】使用Httpclient實(shí)現(xiàn)SSL雙向認(rèn)證
評論內(nèi)容較長,點(diǎn)擊標(biāo)題查看
--hadeed
3.?re: [原創(chuàng)]使用c3p0作為jpa的數(shù)據(jù)源
評論內(nèi)容較長,點(diǎn)擊標(biāo)題查看
--ri
4.?re: 完美解決鼠標(biāo)單擊變雙擊問題^_^
謝謝分享
--hacqing
5.?re: 完美解決鼠標(biāo)單擊變雙擊問題^_^
先試試你的軟件,再不行的話,只有拆開清洗了,謝謝分享
--wilhard
閱讀排行榜
1.?完美解決鼠標(biāo)單擊變雙擊問題^_^(57886)
2.?Linux修改時(shí)間的方法(52603)
3.?7168個(gè)病毒樣本下載 (14817)
4.?收集的maven 倉庫地址(maven repository)(10581)
5.?安裝Maven后提示找不到JDK的錯(cuò)誤 。The Maven Integration requires that Eclipse be running in a JDK(9284)
6.?在maven2中使用tomcat plugin的時(shí),報(bào)cannot be cast to javax.servlet.Filter的問題(7936)
7.?MySQL數(shù)據(jù)庫查詢變慢的分析及解決過程(6377)
8.?JSF html標(biāo)簽(2)(5121)
9.?sh-linux下的批處理文件(4765)
10.?用java將html轉(zhuǎn)化生成png,gif,jpg等圖片(4312)
評論排行榜
1.?完美解決鼠標(biāo)單擊變雙擊問題^_^(46)
2.?為我的老機(jī)裝個(gè)殺毒軟件(新增更新升級服務(wù)器)(12)
3.?7168個(gè)病毒樣本下載 (8)
4.?JSF技術(shù)研究——第一個(gè)JSF程序(7)
5.?試用JDK 6.0的兼容情況(6)
創(chuàng)建maven2項(xiàng)目及導(dǎo)入eclipse
Posted on 2009-05-10 19:21
itVincent
閱讀(2528)
評論(1)
編輯
收藏
所屬分類:
maven
1、首先在命令行執(zhí)行
mvn archetype:generate
2、提供輸入的生成項(xiàng)目的類型
Choose archetype:
1
: internal
->
appfuse
-
basic
-
jsf (AppFuse archetype
for
creating a web application with Hibernate, Spring and JSF)
2
: internal
->
appfuse
-
basic
-
spring (AppFuse archetype
for
creating a web application with Hibernate, Spring and Spring MVC)
3
: internal
->
appfuse
-
basic
-
struts (AppFuse archetype
for
creating a web application with Hibernate, Spring and Struts
2
)
4
: internal
->
appfuse
-
basic
-
tapestry (AppFuse archetype
for
creating a web application with Hibernate, Spring and Tapestry
4
)
5
: internal
->
appfuse
-
core (AppFuse archetype
for
creating a jar application with Hibernate and Spring and XFire)
6
: internal
->
appfuse
-
modular
-
jsf (AppFuse archetype
for
creating a modular application with Hibernate, Spring and JSF)
7
: internal
->
appfuse
-
modular
-
spring (AppFuse archetype
for
creating a modular application with Hibernate, Spring and Spring MVC)
8
: internal
->
appfuse
-
modular
-
struts (AppFuse archetype
for
creating a modular application with Hibernate, Spring and Struts
2
)
9
: internal
->
appfuse
-
modular
-
tapestry (AppFuse archetype
for
creating a modular application with Hibernate, Spring and Tapestry
4
)
10
: internal
->
maven
-
archetype
-
j2ee
-
simple (A simple J2EE Java application)
11
: internal
->
maven
-
archetype
-
marmalade
-
mojo (A Maven plugin development project using marmalade)
12
: internal
->
maven
-
archetype
-
mojo (A Maven Java plugin development project)
13
: internal
->
maven
-
archetype
-
portlet (A simple portlet application)
14
: internal
->
maven
-
archetype
-
profiles ()
15
: internal
->
maven
-
archetype
-
quickstart ()
16
: internal
->
maven
-
archetype
-
site
-
simple (A simple site generation project)
17
: internal
->
maven
-
archetype
-
site (A more complex site project)
18
: internal
->
maven
-
archetype
-
webapp (A simple Java web application)
19
: internal
->
jini
-
service
-
archetype (Archetype
for
Jini service project creation)
20
: internal
->
softeu
-
archetype
-
seam (JSF
+
Facelets
+
Seam Archetype)
21
: internal
->
softeu
-
archetype
-
seam
-
simple (JSF
+
Facelets
+
Seam (no persistence) Archetype)
22
: internal
->
softeu
-
archetype
-
jsf (JSF
+
Facelets Archetype)
23
: internal
->
jpa
-
maven
-
archetype (JPA application)
24
: internal
->
spring
-
osgi
-
bundle
-
archetype (Spring
-
OSGi archetype)
25
: internal
->
confluence
-
plugin
-
archetype (Atlassian Confluence plugin archetype)
26
: internal
->
jira
-
plugin
-
archetype (Atlassian JIRA plugin archetype)
27
: internal
->
maven
-
archetype
-
har (Hibernate Archive)
28
: internal
->
maven
-
archetype
-
sar (JBoss Service Archive)
29
: internal
->
wicket
-
archetype
-
quickstart (A simple Apache Wicket project)
30
: internal
->
scala
-
archetype
-
simple (A simple scala project)
31
: internal
->
lift
-
archetype
-
blank (A blank
/
empty liftweb project)
32
: internal
->
lift
-
archetype
-
basic (The basic (liftweb) project)
33
: internal
->
cocoon
-
22
-
archetype
-
block
-
plain ([http:
//
cocoon.apache.org/2.2/maven-plugins/])
34
: internal
->
cocoon
-
22
-
archetype
-
block ([http:
//
cocoon.apache.org/2.2/maven-plugins/])
35
: internal
->
cocoon
-
22
-
archetype
-
webapp ([http:
//
cocoon.apache.org/2.2/maven-plugins/])
36
: internal
->
myfaces
-
archetype
-
helloworld (A simple archetype using MyFaces)
37
: internal
->
myfaces
-
archetype
-
helloworld
-
facelets (A simple archetype using MyFaces and facelets)
38
: internal
->
myfaces
-
archetype
-
trinidad (A simple archetype using Myfaces and Trinidad)
39
: internal
->
myfaces
-
archetype
-
jsfcomponents (A simple archetype
for
create custom JSF components using MyFaces)
40
: internal
->
gmaven
-
archetype
-
basic (Groovy basic archetype)
41
: internal
->
gmaven
-
archetype
-
mojo (Groovy mojo archetype)
Choose a number: (
1
/
2
/
3
/
4
/
5
/
6
/
7
/
8
/
9
/
10
/
11
/
12
/
13
/
14
/
15
/
16
/
17
/
18
/
19
/
20
/
21
/
22
/
23
/
24
/
25
/
26
/
27
/
28
/
29
/
30
/
31
/
32
/
33
/
34
/
35
/
36
/
37
/
38
/
39
/
40
/
41
)
15
:
默認(rèn)為15,即常用的maven2項(xiàng)目,如果要生成webapp項(xiàng)目,則選擇18。
3、要求輸入項(xiàng)目的基本信息
Define value
for
groupId: cn.itvincent
Define value
for
artifactId: Test
Define value
for
version:
1.0
-
SNAPSHOT
Define value
for
package
: cn.itvincent.tapestry
Confirm properties configuration:
按提示輸入信息,最后確定,就會(huì)在當(dāng)前目錄下生成一個(gè)Test目錄了
4、要想在eclipse方便地導(dǎo)入項(xiàng)目,則要在命令行中進(jìn)入Test目錄,然后輸入
mvn eclipse:eclipse
生成eclipse的配置文件
版權(quán)所有:
itVincent
轉(zhuǎn)載請注明來源/作者
Add to del.icio.us
Digg This!
Share on Facebook
Google Bookmark This
Feedback
#
re: 創(chuàng)建maven2項(xiàng)目及導(dǎo)入eclipse
回復(fù)
更多評論
2009-09-25 16:18 by
yout
good.thx
新用戶注冊
刷新評論列表
只有注冊用戶
登錄
后才能發(fā)表評論。
網(wǎng)站導(dǎo)航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
相關(guān)文章:
maven deploy(部署)包到repository(倉庫)的方法
安裝Maven后提示找不到JDK的錯(cuò)誤 。The Maven Integration requires that Eclipse be running in a JDK
maven 插件的更新地址 (maven plugins update site)
Maven Dependency Scope
在maven2中使用tomcat plugin的時(shí),報(bào)cannot be cast to javax.servlet.Filter的問題
收集的maven 倉庫地址(maven repository)
Maven Dependency Plugin -- maven依賴操作插件
創(chuàng)建maven2項(xiàng)目及導(dǎo)入eclipse
為maven2添加jetty插件的支持
maven命令參數(shù)筆記一
Powered by:
BlogJava
Copyright © itVincent
主站蜘蛛池模板:
北票市
|
彭阳县
|
黎川县
|
焦作市
|
大竹县
|
富源县
|
扶风县
|
临高县
|
扶绥县
|
三门县
|
民丰县
|
集贤县
|
阿克
|
铜梁县
|
当阳市
|
特克斯县
|
巢湖市
|
新龙县
|
巨鹿县
|
龙山县
|
台南县
|
临汾市
|
武夷山市
|
贡觉县
|
广河县
|
二手房
|
黑河市
|
桓台县
|
阿城市
|
隆化县
|
康平县
|
陈巴尔虎旗
|
始兴县
|
新密市
|
海伦市
|
资中县
|
沙河市
|
南充市
|
民勤县
|
封丘县
|
广汉市
|