maven-plugin集合
来源:互联网 发布:usb网卡改mac 编辑:程序博客网 时间:2024/05/16 10:10
不多说,直接上pom
<plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-war-plugin</artifactId><version>2.2</version><configuration> <!-- 设置编码 --> <encoding>UTF-8</encoding> <!-- 设置名称 --> <warName>ROOT</warName> <version>3.0</version> <failOnMissingWebXml>false</failOnMissingWebXml> <warSourceExcludes>js/参考/**</warSourceExcludes></configuration></plugin><plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.0</version> <configuration> <source>1.8</source> <target>1.8</target> <showWarnings>true</showWarnings> <encoding>UTF-8</encoding> </configuration></plugin><!-- 设置资源文件的编码方式 --><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-resources-plugin</artifactId><version>3.0.2</version><executions> <execution> <id>copy-files-on-build</id> <phase>compile</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/classes/lib</outputDirectory> <resources> <resource> <directory>${basedir}/src/main/lib</directory> <include>*.jar</include> <filtering>false</filtering> </resource> </resources> </configuration> </execution></executions><configuration> <encoding>UTF-8</encoding></configuration></plugin><plugin> <groupId>org.apache.maven.plugins</groupId><artifactId>maven-clean-plugin</artifactId><version>3.0.0</version><executions> <execution> <id>auto-clean</id> <!-- clean生命周期clean阶段 --> <phase>clean</phase> <goals> <!-- 执行clean插件的clean目标 --> <goal>clean</goal> </goals> </execution></executions><configuration> <verbose>true</verbose> <filesets> <fileset> <directory>c:/a</directory> </fileset> </filesets></configuration></plugin><plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>2.5</version> <configuration> <!-- 更新元数据 --> <updateReleaseInfo>true</updateReleaseInfo> </configuration></plugin>
阅读全文
0 0
- maven-plugin集合
- Maven Plugin
- maven appassembler-maven-plugin
- maven:maven-assembly-plugin
- maven native2ascii-maven-plugin 例子
- cobertura-maven-plugin插件 maven
- maven搭配android-maven-plugin
- MAVEN ERROR maven-resources-plugin
- maven插件 buildnumber-maven-plugin
- Maven配置maven-compiler-plugin
- Maven插件:maven-javadoc-plugin
- maven配置tomcat-maven-plugin
- maven-plugins---maven-assembly-plugin
- [Maven]maven-shade-plugin使用指南
- Describing a Maven Plugin
- maven 常用命令和plugin
- Maven plugin 开发
- maven eclipse plugin
- 浅谈微服务与负载均衡LBS
- BZOJ 1799 [Ahoi2009]self 同类分布 数位DP
- easyui datagrid清空数据和去除表头
- 连接查询 子查询 SQL 查询 小记
- ldap
- maven-plugin集合
- AngularJS四大核心特性
- springmvc视图
- 1000·整数运算
- HIbernate多对多_查询
- Hibernate问题 failed to lazily initialize a collection of role
- 关于Java中的null值探究
- express实现登录注册(mysql+mongodb),简单添加session(两种)
- Git常用指令