Maven学习 — <build> 中的 <plugins>元素的作用
来源:互联网 发布:制作电子文档软件 编辑:程序博客网 时间:2024/06/11 23:03
1.<plugins>元素的作用是: 给出构建过程中用到的插件.
- <groupId> : 项目或者组织的唯一标识
- <artifactId>项目的通用名称
- <artifactId>项目的通用名称
- <version> 项目的版本
- <extensions>是否加载该插件的扩展,默认为false
- <inherited> 该插件的<configuration>中的配置是否可以被继承,默认为true
- <configuration> 该插件所需要的特色配置,在父子项目项目之间可以覆盖或被合并
- <dependencies> 该插件所特有的依赖类库
- <executions> 该插件的某个goal(一个插件可能有多个goal)的执行方式.一个<executions>有如下设置
- <id> 唯一标识
- <goals> 要执行的插件的goal.这个是可以有多个的
- <phase> 插件的goal要嵌入到Maven的phase中执行
- <inherited> 该execution是否可被子项目继承
- <configuration> 该execution的其他配置参数
阅读全文
0 0
- Maven学习 — <build> 中的 <plugins>元素的作用
- maven的pom文件 Project build error: Unresolveable build extension: Plugin org.sonatype.plugins:nexus-st
- Maven错误:'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing
- eclipse中的build和clean的作用
- 在编译项目的时候出现:Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.
- 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing
- maven中的distributionManagement的作用
- maven warnning 'build.plugins.plugin.version' is missing
- maven warnning 'build.plugins.plugin.version' is missing
- maven-resources-plugin 一般配置在 build>plugins
- Maven里面mirror元素和repository元素的作用
- Maven里面mirror元素和repository元素的作用
- maven plugins
- Maven - Plugins
- Maven Plugins
- maven的pom报plugins的解决方法
- eclipse中的clean和build功能的作用是什么
- build-essential的作用
- MySql基础一
- java IO的概念和分类
- MAven学习 — <dependencies> && <dependencyManagement>
- Yolo 9000的darknet实现
- 【剑指offer】面试题3:数组中重复的数字
- Maven学习 — <build> 中的 <plugins>元素的作用
- lianxi
- 将文件内容全部倒置,并写入文件
- 链表的头插法
- 01 目录结构、基础命令的讲解、管道和重定向(讲解邮件的发送)
- 对Java中classpath、path和Java_HOME的理解
- 线程执行完,死亡后,还能再次执行start吗?
- 【树的倍增】【二分 or LCA】USACO MAR11银组 聚会地点
- 部分概念对比