maven编码

/ maven / 没有评论 / 1744浏览
  <properties>
        <!-- 所有工程中,对依赖的根组件(root jar)的版本维护 -->
        <java.version>1.8</java.version>
          <!-- 统一字符集 -->
	    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	  </properties>
	  
	  
	  
	  
	  
	  
	  <build>
	      <finalName>springBoot</finalName>
	      <plugins>
	      	<groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-compiler-plugin</artifactId>
             <version>3.3</version>
             <configuration>
                 <source>${java.version}</source>
                 <target>${java.version}</target>
                 <encoding>${project.build.sourceEncoding}</encoding>
             </configuration>
	      </plugins>
	  </build>