maven build 之 basebuild element set
来源:互联网 发布:社交网络英文翻译 编辑:程序博客网 时间:2024/05/01 18:54
build 用于maven build 项目时,对项目的资源管理、对各个goal phase 执行自定义动作等。
本篇博客就讲讲basebuild:
build基础元素:
<build> <defaultGoal>install</defaultGoal> <directory>${basedir}/target</directory> <finalName>${artifactId}-${version}</finalName> <filters> <filter>filters/filter1.properties</filter> </filters> ...</build>
defaultGoal 默认的goal. 比如defaultGoal 设置为install,你想要执行mvn install , 那么直接打命令mvn,就阔以了。
directory 为build 工程之后,工程的输出目录。
filters 设置在资源文件里,过滤${property}的.properties属性列表文件,即:过滤各个资源文件的属性文件列表,如果对filters 的解释还是不太清楚,可以查看此博客:http://www.cnblogs.com/1si2/p/maven_filter.html
0 0
- maven build 之 basebuild element set
- maven 之 build lifecycle
- maven之 build lifecycle
- Maven插件之build-helper-maven-plugin
- maven插件之build-helper-maven-plugin
- Maven的pom.xml文件结构之Build配置build
- Maven的pom.xml文件结构之Build配置build
- Maven的pom.xml文件结构之Build配置build
- maven pom文件之 build设置
- maven 项目 build或clear项目后org.w3c.dom.Element 缺少 setTextContent 方法
- maven build
- Raphael.js API之Raphael.pathIntersection(),Raphael.pathToRelative(),Set.clear(),Set.exclude(element)
- run as maven build的时候报错 -Dmaven.multiModuleProjectDirectory system propery is not set
- 在myeclipse工具中执行maven build异常 -Dmaven.multiModuleProjectDirectory system property is not set. Check $
- Java Build工具Ant与Maven之比较
- maven问题之Could not calculate build plan:
- Maven的pom.xml文件结构之Build配置reporting
- Android Studio之maven Central,JCenter build.gradle gradle-wrapper
- GIT和TortoiseGit的安装与使用
- java Socket 文件传输
- 55. Jump Game
- 疯狂安卓讲义第三版安卓源码(最新版的)
- Spring25大面试题
- maven build 之 basebuild element set
- PATBasic——1022. D进制的A+B (20)
- C++气泡
- 新手入门程序必须克服的5个障碍
- linux下vi命令大全
- 如何将灰度图像中大于阈值的区域标记成红色
- Eclipse 相关操作之快捷键整理
- Xamarin中Render的使用
- Dependency Walker使用说明