maven
文章平均质量分 62
blueskypan
这个作者很懒,什么都没留下…
展开
-
maven profile: Step by Step
During the lifecircle of development, we need some different config profiles for different enviroments. Such as the dev, bts, prod enviroments. Here we will see how to create maven profile forvariet原创 2017-08-23 09:13:38 · 240 阅读 · 0 评论 -
[Maven]project pom文件的顶级元素
project pom文件的顶级元素modelVersion 所使用的object model版本,为了确保稳定的使用,这个元素是强制性的。除非maven开发者升级模板,否则不需要修改groupId 是项目创建团体或组织的唯一标志符,通常是域名倒写,如groupId org.apache.maven.plugins就是为所有maven插件预留的artifactId 是项目artifact唯一的基...原创 2018-04-18 16:49:47 · 519 阅读 · 0 评论 -
[Maven]Scope
1. Maven have 6 Scope :其中Compile是Default2. 官方介绍compile This is the default scope, used if none is specified. Compile dependencies are available in all classpaths of a project. Furthermore, thos...原创 2018-07-24 16:20:59 · 147 阅读 · 0 评论 -
Maven 相关知识点
1. Maven的Lifecycle和Scope (1)Dependency Scope: a. compile时,在编译、测试、运行时,都需要jar在classpath中 b. provided时,在编译、测试时,需要jar在classpath中,而运行时则认为在容器如【tomcat或JDK】会默认提供,所以不需要jar在classpat...原创 2018-10-19 16:45:21 · 143 阅读 · 0 评论