标签:ati com final 没有 targe dir prope pac conf
<build>
<!--使用maven进行clean,install时默认版本不支持,需指定版本、编码方式 -->
<finalName>***</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
<!--编译后的项目dao目录下没有.xml文件,需要手动配置 -->
<resources>
<resource>
<directory>${basedir}/src/main/java</directory>
<includes>
<!--无法加载.properties文件也是如此-->
<!-- <include>**/*.properties</include> -->
<include>**/*.xml</include>
</includes>
</resource>
</resources>
</build>
标签:ati com final 没有 targe dir prope pac conf
原文地址:https://www.cnblogs.com/valivvali/p/12464760.html