博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
一个Maven的pom模板
阅读量:5928 次
发布时间:2019-06-19

本文共 11587 字,大约阅读时间需要 38 分钟。

hot3.png

该模板适用于app及web项目

更改其中的tomcat.home=you.tomcat.home

web项目可以直接执行

mvn jetty:runmvn tomcat:run
浏览器访问:

http://localhost:8080/${project.artifactId}
pom.xml

4.0.0
net.dsolrcloud
dsolrcloud
war
1.0
SolrCloud测试项目
http://my.oschina.net/zhzhenqin
4.0.0
4.0.0
4.1.2
UTF-8
UTF-8
ZhenQin
http://my.oschina.net/zhzhenqin
/home/zhenqin/software/apache-tomcat-6.0.35
org.apache.lucene
lucene-core
${lucene.version}
org.apache.lucene
lucene-highlighter
${lucene.version}
org.apache.lucene
lucene-memory
${lucene.version}
org.apache.lucene
lucene-facet
${lucene.version}
org.apache.lucene
lucene-analyzers-common
${lucene.version}
org.apache.lucene
lucene-grouping
${lucene.version}
org.apache.lucene
lucene-queries
${lucene.version}
org.apache.lucene
lucene-join
${lucene.version}
org.apache.lucene
lucene-misc
${lucene.version}
org.apache.lucene
lucene-spatial
${lucene.version}
org.apache.solr
solr-core
${solr.version}
org.slf4j
jcl-over-slf4j
org.apache.solr
solr-solrj
${solr.version}
org.codehaus.woodstox
wstx-asl
org.apache.zookeeper
zookeeper
3.3.6
com.google.guava
guava
r05
org.apache.httpcomponents
httpclient
${httpclient.version}
org.apache.httpcomponents
httpcore
${httpclient.version}
org.apache.httpcomponents
httpclient-cache
${httpclient.version}
org.apache.httpcomponents
httpmime
${httpclient.version}
org.apache.solr
solr-velocity
${solr.version}
org.apache.solr
solr-lucene-highlighter
1.3.0
org.apache.solr
solr-lucene-queries
1.3.0
org.apache.solr
solr-lucene-analyzers
1.3.0
org.apache.velocity
velocity
1.7
net.paoding
paoding-analysis
2.0.4
commons-logging
commons-logging
1.1
logkit
logkit
avalon-framework
avalon-framework
org.slf4j
slf4j-api
1.6.4
org.slf4j
slf4j-log4j12
1.6.4
commons-lang
commons-lang
2.5
commons-io
commons-io
2.1
commons-codec
commons-codec
1.5
commons-beanutils
commons-beanutils
1.8.0
commons-collections
commons-collections
3.2
commons-fileupload
commons-fileupload
1.2.1
jstl
jstl
1.2
javax.servlet
servlet-api
2.5
compile
javax.servlet.jsp
jsp-api
2.0
compile
net.sf.json-lib
json-lib
2.1
jdk15
net.sf.ezmorph
ezmorph
1.0.6
log4j
log4j
1.2.16
junit
junit
4.8.2
test
${project.artifactId}
org.codehaus.mojo
build-helper-maven-plugin
1.1
add-source
generate-sources
add-source
${basedir}/src/main/java
org.apache.maven.plugins
maven-compiler-plugin
2.5.1
1.6
1.6
UTF-8
org.mortbay.jetty
maven-jetty-plugin
6.1.26
10
${project.artifactId}
org.apache.maven.plugins
maven-war-plugin
${project.artifactId}
true
true
false
true
true
true
${project.url}
${vendor.name}
${verdor.domain}
org.apache.maven.plugins
maven-javadoc-plugin
2.5
true
zh_CN
${project.artifactId} Javadoc
org.codehaus.mojo
tomcat-maven-plugin
1.1
${tomcat.home}
8080
ISO-8859-1
/${project.artifactId}
${project.build.outputDirectory}
${project.basedir}/src/main/webapp
${project.basedir}/src/main/webapp/WEB-INF/web.xml
org.apache.maven.plugins
maven-eclipse-plugin
org.apache.maven.plugins
maven-idea-plugin
src/main/java
**/*.xml
src/main/resources

转载于:https://my.oschina.net/zhzhenqin/blog/83840

你可能感兴趣的文章
git 删除远程分支
查看>>
bigpipe提升网站响应速度
查看>>
UML简易实践
查看>>
一个脚本实现全量增量备份,并推送到远端备份中心服务器
查看>>
Oracle精简客户端配置
查看>>
Centos7 安装gitlab 8.7.5
查看>>
flex ColorPicker
查看>>
设计模式--6大原则--单一职责原则
查看>>
centos安装kvm
查看>>
深入分析Volatile的实现原理
查看>>
0 重新学习Ubuntu -- 这一段没怎么学习
查看>>
Centos 手工创建新用户
查看>>
安装分布式文件系统MooseFS
查看>>
二进制安装mariadb-10.2.8
查看>>
UICollectionView
查看>>
Citrix私有云
查看>>
MVC中的验证规则
查看>>
【Linux学习009】脚本编程之变量、条件测试和条件判断
查看>>
简单的比较两数大小
查看>>
java获取ResultSet长度
查看>>