Netty源码学习(一)--导入IDEA并编译

1.从github下载最新的Netty稳定版本源码git

2.解压源码文件夹github

3.导入IDEAmaven

4.跳过checkstyle和xml validatecode

<plugin>
   <artifactId>maven-checkstyle-plugin</artifactId>
   <version>2.12.1</version>
   <executions>
      <execution>
         <id>check-style</id>
         <goals>
            <goal>check</goal>
         </goals>
         <phase>validate</phase>
         <configuration>
            <skip>true</skip>
         </configuration>
      </execution>
   </executions>
</plugin>
<plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>xml-maven-plugin</artifactId>
   <version>1.0.1</version>
   <executions>
      <execution>
         <id>check-style</id>
         <goals>
            <goal>check-format</goal>
         </goals>
         <phase>validate</phase>
      </execution>
   </executions>
   <configuration>
      <skip>true</skip>
   </configuration>
</plugin>

5.clean&installorm

相关文章
相关标签/搜索