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