- eclipse
.settings\org.eclipse.wst.common.component
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="修改">
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<property name="java-output-path" value="/修改/target/classes"/>
<property name="context-root" value="修改"/>
</wb-module>
</project-modules>
- maven
pom.xml
<modelVersion>4.0.0</modelVersion>
<groupId>修改</groupId>
<artifactId>修改</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>修改</name>
...
<build>
<!-- war包名称 -->
<finalName>hytx_oa</finalName>
...
-
编译
右击项目--->点击Debug ----->点击 Maven install进行编译,编译成功后入图(要出现success字样编译才算成功)
- 打包
右击项目--->点击Debug as ---->点击 Maven build...
在Goals中输入clean compile package
Good Game
网友评论