web maven version
来源:互联网 发布:字体管家软件下载 编辑:程序博客网 时间:2024/06/04 19:52
第一步:
在web /src/main/webapp 下放一个 version.txt (内容:${project.version})
第二步: 在 web的 pom 里面加以下配置
<build>
<finalName>emoney-web</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<webResources>
<resource>
<directory>
${basedir}/src/main/webapp
</directory>
<filtering>true</filtering>
<includes>
<include>version.txt</include>
</includes>
</resource>
</webResources>
</configuration>
</plugin>
</plugins>
</build>
阅读全文
0 0
- web maven version
- maven系列-maven报错Cannot detect Web Project version
- maven web工程提示Cannot detect Web Project version. Please specify version of Web Project through Maven
- Cannot detect Web Project version. Please specify version of Web Project through Maven project prope
- Eclipse 自动生成maven project 修改web project version
- maven---Cannot change version of project facet Dynamic web
- Maven项目导入问题:Cannot detect Web Project version 解决方法
- Myeclipse 创建Maven项目:Cannot detect Web Project version
- 创建maven-web项目eclipse 版本 Version: Oxygen Release
- maven项目遇到cannot change version web module 3.0
- 在Eclipse中创建 Maven SpringMVC 项目 出现 cannot change version version web module 3.0
- 解决maven web项目Cannot detect Web Project version. Please specify version of Web Project through...的错误
- 解决maven web项目Cannot detect Web Project version. Please specify version of Web Project through...的错误
- 解决maven web项目Cannot detect Web Project version. Please specify version of Web Project through...的错误
- Maven web项目报异常:Cannot change version of project facet Dynamic Web Module to 3.0.
- eclipse 创建maven web错误Cannot change version of project facet Dynamic Web Module to 3.1.
- 解决maven web项目Cannot change version of project facet Dynamic Web Module错误
- maven groupId,groupId,version
- spring注解配置相对于传统xml配置的优势
- Tensorflow学习--tensorboard
- python实现飞秋消息轰炸 udp协议运用
- aide按钮单击的几种写法
- centos7 vim/vi的使用方法
- web maven version
- JS小技巧总结
- SVM学习
- 字典
- DOM元素中映射、重绘和回流
- Java自定义实现链队列
- java 中的this关键字的几种用法
- NOIP2004提高组
- 201312-4 有趣的数