1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3  ~ Copyright 2012 The Netty Project
4  ~
5  ~ The Netty Project licenses this file to you under the Apache License,
6  ~ version 2.0 (the "License"); you may not use this file except in compliance
7  ~ with the License. You may obtain a copy of the License at:
8  ~
9  ~   http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13  ~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14  ~ License for the specific language governing permissions and limitations
15  ~ under the License.
16  -->
17<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
18
19  <modelVersion>4.0.0</modelVersion>
20  <parent>
21    <groupId>org.sonatype.oss</groupId>
22    <artifactId>oss-parent</artifactId>
23    <version>7</version>
24  </parent>
25
26  <groupId>io.netty</groupId>
27  <artifactId>netty</artifactId>
28  <packaging>bundle</packaging>
29  <version>3.6.2.Final</version>
30
31  <name>The Netty Project</name>
32  <url>http://netty.io/</url>
33  <description>
34    The Netty project is an effort to provide an asynchronous event-driven
35    network application framework and tools for rapid development of
36    maintainable high performance and high scalability protocol servers and
37    clients.  In other words, Netty is a NIO client server framework which
38    enables quick and easy development of network applications such as protocol
39    servers and clients. It greatly simplifies and streamlines network
40    programming such as TCP and UDP socket server.
41  </description>
42
43  <organization>
44    <name>The Netty Project</name>
45    <url>http://netty.io/</url>
46  </organization>
47
48  <licenses>
49    <license>
50      <name>Apache License, Version 2.0</name>
51      <url>http://www.apache.org/licenses/LICENSE-2.0</url>
52    </license>
53  </licenses>
54  <inceptionYear>2008</inceptionYear>
55
56  <scm>
57    <url>https://github.com/netty/netty</url>
58    <connection>scm:git:git://github.com/netty/netty.git</connection>
59    <developerConnection>scm:git:ssh://git@github.com/netty/netty.git</developerConnection>
60  </scm>
61
62  <developers>
63    <developer>
64      <id>netty.io</id>
65      <name>The Netty Project Contributors</name>
66      <email>netty@googlegroups.com</email>
67      <url>http://netty.io/</url>
68      <organization>The Netty Project</organization>
69      <organizationUrl>http://netty.io/</organizationUrl>
70    </developer>
71  </developers>
72
73  <dependencies>
74    <!-- JBoss Marshalling - completely optional -->
75    <dependency>
76      <groupId>org.jboss.marshalling</groupId>
77      <artifactId>jboss-marshalling</artifactId>
78      <version>${jboss.marshalling.version}</version>
79      <scope>compile</scope>
80      <optional>true</optional>
81    </dependency>
82
83    <!-- Google Protocol Buffers - completely optional -->
84    <dependency>
85      <groupId>com.google.protobuf</groupId>
86      <artifactId>protobuf-java</artifactId>
87      <version>2.4.1</version>
88      <scope>compile</scope>
89      <optional>true</optional>
90    </dependency>
91
92    <!-- Servlet API - completely optional -->
93    <!-- Used for HTTP tunneling transport -->
94    <dependency>
95      <groupId>javax.servlet</groupId>
96      <artifactId>servlet-api</artifactId>
97      <version>2.5</version>
98      <scope>compile</scope>
99      <optional>true</optional>
100    </dependency>
101
102    <!-- Example dependencies - completely optional -->
103    <dependency>
104      <groupId>javax.activation</groupId>
105      <artifactId>activation</artifactId>
106      <version>1.1.1</version>
107      <scope>compile</scope>
108      <optional>true</optional>
109    </dependency>
110
111    <!-- IoC/DI containers - completely optional -->
112    <dependency>
113      <groupId>org.apache.felix</groupId>
114      <artifactId>org.osgi.core</artifactId>
115      <version>1.4.0</version>
116      <scope>compile</scope>
117      <optional>true</optional>
118    </dependency>
119    <dependency>
120      <groupId>org.apache.felix</groupId>
121      <artifactId>org.osgi.compendium</artifactId>
122      <version>1.4.0</version>
123      <scope>compile</scope>
124      <optional>true</optional>
125      <exclusions>
126        <exclusion>
127          <groupId>org.apache.felix</groupId>
128          <artifactId>javax.servlet</artifactId>
129        </exclusion>
130        <exclusion>
131          <groupId>org.apache.felix</groupId>
132          <artifactId>org.osgi.foundation</artifactId>
133        </exclusion>
134      </exclusions>
135    </dependency>
136
137    <!-- Logging frameworks - completely optional -->
138    <dependency>
139      <groupId>org.slf4j</groupId>
140      <artifactId>slf4j-api</artifactId>
141      <version>1.6.4</version>
142      <scope>compile</scope>
143      <optional>true</optional>
144    </dependency>
145    <dependency>
146      <groupId>commons-logging</groupId>
147      <artifactId>commons-logging</artifactId>
148      <version>1.1.1</version>
149      <scope>compile</scope>
150      <optional>true</optional>
151    </dependency>
152    <dependency>
153      <groupId>org.jboss.logging</groupId>
154      <artifactId>jboss-logging-spi</artifactId>
155      <version>2.1.2.GA</version>
156      <scope>compile</scope>
157      <optional>true</optional>
158    </dependency>
159    <dependency>
160      <groupId>log4j</groupId>
161      <artifactId>log4j</artifactId>
162      <version>1.2.16</version>
163      <scope>compile</scope>
164      <exclusions>
165        <exclusion>
166          <artifactId>mail</artifactId>
167          <groupId>javax.mail</groupId>
168        </exclusion>
169        <exclusion>
170          <artifactId>jms</artifactId>
171          <groupId>javax.jms</groupId>
172        </exclusion>
173        <exclusion>
174          <artifactId>jmxtools</artifactId>
175          <groupId>com.sun.jdmk</groupId>
176        </exclusion>
177        <exclusion>
178          <artifactId>jmxri</artifactId>
179          <groupId>com.sun.jmx</groupId>
180        </exclusion>
181      </exclusions>
182      <optional>true</optional>
183    </dependency>
184
185    <!-- Testing frameworks and related dependencies -->
186    <dependency>
187      <groupId>junit</groupId>
188      <artifactId>junit</artifactId>
189      <version>4.10</version>
190      <scope>test</scope>
191    </dependency>
192    <dependency>
193      <groupId>org.easymock</groupId>
194      <artifactId>easymock</artifactId>
195      <version>3.1</version>
196      <scope>test</scope>
197    </dependency>
198    <dependency>
199      <groupId>org.easymock</groupId>
200      <artifactId>easymockclassextension</artifactId>
201      <version>3.1</version>
202      <scope>test</scope>
203    </dependency>
204    <dependency>
205      <groupId>org.slf4j</groupId>
206      <artifactId>slf4j-simple</artifactId>
207      <version>1.6.4</version>
208      <scope>test</scope>
209    </dependency>
210    <!-- Test dependencies for jboss marshalling encoder/decoder -->
211    <dependency>
212      <groupId>org.jboss.marshalling</groupId>
213      <artifactId>jboss-marshalling-serial</artifactId>
214      <version>${jboss.marshalling.version}</version>
215      <scope>test</scope>
216    </dependency>
217    <dependency>
218      <groupId>org.jboss.marshalling</groupId>
219      <artifactId>jboss-marshalling-river</artifactId>
220      <version>${jboss.marshalling.version}</version>
221      <scope>test</scope>
222    </dependency>
223  </dependencies>
224
225  <properties>
226    <attach-distribution>false</attach-distribution>
227    <jboss.marshalling.version>1.3.14.GA</jboss.marshalling.version>
228  </properties>
229
230  <build>
231    <resources>
232      <resource>
233        <directory>${basedir}/src/main/resources</directory>
234      </resource>
235      <resource>
236        <directory>${basedir}/target/license</directory>
237      </resource>
238    </resources>
239
240    <pluginManagement>
241      <plugins>
242        <!--This plugin's configuration is used to store Eclipse m2e settings only.
243            It has no influence on the Maven build itself. -->
244        <plugin>
245          <groupId>org.eclipse.m2e</groupId>
246          <artifactId>lifecycle-mapping</artifactId>
247          <version>1.0.0</version>
248          <configuration>
249            <lifecycleMappingMetadata>
250              <pluginExecutions>
251                <pluginExecution>
252                  <pluginExecutionFilter>
253                    <groupId>org.apache.maven.plugins</groupId>
254                    <artifactId>maven-antrun-plugin</artifactId>
255                    <versionRange>[1.7,)</versionRange>
256                    <goals>
257                      <goal>run</goal>
258                    </goals>
259                  </pluginExecutionFilter>
260                  <action>
261                    <ignore />
262                  </action>
263                </pluginExecution>
264                <pluginExecution>
265                  <pluginExecutionFilter>
266                    <groupId>org.apache.maven.plugins</groupId>
267                    <artifactId>maven-checkstyle-plugin</artifactId>
268                    <versionRange>[2.8,)</versionRange>
269                    <goals>
270                      <goal>check</goal>
271                    </goals>
272                  </pluginExecutionFilter>
273                  <action>
274                    <ignore />
275                  </action>
276                </pluginExecution>
277              </pluginExecutions>
278            </lifecycleMappingMetadata>
279          </configuration>
280        </plugin>
281      </plugins>
282    </pluginManagement>
283
284    <plugins>
285      <plugin>
286        <artifactId>maven-enforcer-plugin</artifactId>
287        <version>1.0.1</version>
288        <executions>
289          <execution>
290            <id>enforce-tools</id>
291            <goals>
292              <goal>enforce</goal>
293            </goals>
294            <configuration>
295              <rules>
296                <requireJavaVersion>
297                  <!-- Enforce java 1.7 as minimum for compiling -->
298                  <!-- This is needed because of the Unsafe detection code
299                       and java.util.zip.Deflater.deflate(). -->
300                  <version>[1.7.0,)</version>
301                </requireJavaVersion>
302                <requireMavenVersion>
303                  <version>[3.0.2,)</version>
304                </requireMavenVersion>
305              </rules>
306            </configuration>
307          </execution>
308        </executions>
309      </plugin>
310      <plugin>
311        <artifactId>maven-compiler-plugin</artifactId>
312        <version>2.3.2</version>
313        <configuration>
314          <encoding>UTF-8</encoding>
315          <source>1.5</source>
316          <target>1.5</target>
317          <debug>true</debug>
318          <optimize>true</optimize>
319          <showDeprecation>true</showDeprecation>
320          <showWarnings>true</showWarnings>
321        </configuration>
322      </plugin>
323      <plugin>
324        <!-- ensure that only methods available in java 1.5 can
325             be used even when compiling with java 1.6+ -->
326        <groupId>org.codehaus.mojo</groupId>
327        <artifactId>animal-sniffer-maven-plugin</artifactId>
328        <version>1.7</version>
329        <configuration>
330          <signature>
331            <groupId>org.codehaus.mojo.signature</groupId>
332            <artifactId>java15</artifactId>
333            <version>1.0</version>
334          </signature>
335          <ignores>
336            <ignore>sun.misc.Unsafe</ignore>
337            <ignore>java.util.zip.Deflater</ignore>
338            <ignore>java.util.concurrent.LinkedTransferQueue</ignore>
339            <!-- Used for NIO UDP multicast -->
340            <ignore>java.nio.channels.DatagramChannel</ignore>
341            <ignore>java.nio.channels.MembershipKey</ignore>
342            <ignore>java.net.StandardSocketOptions</ignore>
343            <ignore>java.net.StandardProtocolFamily</ignore>
344            <!-- Java Object Serialization -->
345            <ignore>java.io.ObjectStreamClass</ignore>
346            <!-- Socks Codec-->
347            <ignore>java.net.IDN</ignore>
348          </ignores>
349        </configuration>
350        <executions>
351          <execution>
352            <phase>process-classes</phase>
353            <goals>
354              <goal>check</goal>
355            </goals>
356          </execution>
357        </executions>
358      </plugin>
359      <plugin>
360        <artifactId>maven-resources-plugin</artifactId>
361        <version>2.5</version>
362        <configuration>
363          <encoding>UTF-8</encoding>
364        </configuration>
365        <executions>
366          <execution>
367            <id>copy-legal-info</id>
368            <phase>validate</phase>
369            <goals>
370              <goal>copy-resources</goal>
371            </goals>
372            <configuration>
373              <outputDirectory>${basedir}/target/license/META-INF</outputDirectory>
374              <resources>
375                <resource>
376                  <directory>${basedir}</directory>
377                  <filtering>false</filtering>
378                  <includes>
379                    <include>LICENSE.txt</include>
380                    <include>NOTICE.txt</include>
381                    <include>license/*.txt</include>
382                  </includes>
383                </resource>
384              </resources>
385            </configuration>
386          </execution>
387        </executions>
388      </plugin>
389      <plugin>
390        <artifactId>maven-surefire-plugin</artifactId>
391        <version>2.10</version>
392        <configuration>
393          <forkMode>never</forkMode>
394          <excludes>
395            <exclude>**/Abstract*</exclude>
396            <exclude>**/TestUtil*</exclude>
397          </excludes>
398          <runOrder>random</runOrder>
399        </configuration>
400      </plugin>
401      <plugin>
402        <groupId>org.apache.felix</groupId>
403        <artifactId>maven-bundle-plugin</artifactId>
404        <version>2.3.4</version>
405        <extensions>true</extensions>
406        <configuration>
407          <instructions>
408            <Bundle-SymbolicName>org.jboss.netty</Bundle-SymbolicName>
409            <Bundle-DocURL>${project.url}</Bundle-DocURL>
410            <Bundle-Activator>
411              org.jboss.netty.container.osgi.NettyBundleActivator
412            </Bundle-Activator>
413            <Export-Package>
414              !org.jboss.netty.example.*,
415              !org.jboss.netty.util.internal.*,
416              org.jboss.netty.*;version=${project.version}
417            </Export-Package>
418            <Private-Package>
419              org.jboss.netty.example.*,
420              org.jboss.netty.util.internal.*,
421            </Private-Package>
422            <Import-Package>
423              *;resolution:=optional
424            </Import-Package>
425            <Eclipse-BuddyPolicy>registered</Eclipse-BuddyPolicy>
426            <Bundle-BuddyPolicy>registered</Bundle-BuddyPolicy>
427            <Main-Class>org.jboss.netty.util.Version</Main-Class>
428          </instructions>
429        </configuration>
430      </plugin>
431      <plugin>
432        <artifactId>maven-source-plugin</artifactId>
433        <version>2.1.2</version>
434        <executions>
435          <execution>
436            <id>attach-source</id>
437            <phase>package</phase>
438            <goals>
439              <goal>jar</goal>
440            </goals>
441            <configuration>
442              <attach>true</attach>
443            </configuration>
444          </execution>
445        </executions>
446      </plugin>
447      <plugin>
448        <artifactId>maven-antrun-plugin</artifactId>
449        <version>1.7</version>
450        <executions>
451          <execution>
452            <id>write-version</id>
453            <phase>validate</phase>
454            <goals>
455              <goal>run</goal>
456            </goals>
457            <configuration>
458              <tasks>
459                <taskdef resource="net/sf/antcontrib/antlib.xml" />
460                <exec executable="git" outputproperty="gitOutput" resultproperty="gitExitCode" failonerror="false" failifexecutionfails="false">
461                  <arg value="log" />
462                  <arg value="-1" />
463                  <arg value="--format=format:%h" />
464                </exec>
465                <if>
466                  <equals arg2="0" arg1="${gitExitCode}" />
467                  <then>
468                    <property name="buildNumber" value="${gitOutput}" />
469                  </then>
470                  <else>
471                    <property name="buildNumber" value="unknown" />
472                  </else>
473                </if>
474                <echo>Build number: ${buildNumber}</echo>
475                <mkdir dir="${project.build.directory}" />
476                <echo message="${project.version}" file="${project.build.directory}/version.txt" />
477                <echo message="// DO NOT MODIFY - WILL BE OVERWRITTEN DURING THE BUILD PROCESS${line.separator}package org.jboss.netty.util;${line.separator}/**${line.separator} * Provides the version information of Netty.${line.separator} * @apiviz.landmark${line.separator} */${line.separator}@SuppressWarnings(&quot;all&quot;)${line.separator}public final class Version {${line.separator} /** The version identifier. */${line.separator} public static final String ID = &quot;${project.version}-${buildNumber}&quot;;${line.separator} /** Prints out the version identifier to stdout. */${line.separator} public static void main(String[] args) { System.out.println(ID); }${line.separator} private Version() { }${line.separator}}${line.separator}" file="${basedir}/src/main/java/org/jboss/netty/util/Version.java" />
478              </tasks>
479            </configuration>
480          </execution>
481          <execution>
482            <id>remove-examples</id>
483            <phase>package</phase>
484            <goals>
485              <goal>run</goal>
486            </goals>
487            <configuration>
488              <tasks>
489                <taskdef resource="net/sf/antcontrib/antlib.xml" />
490                <if>
491                  <or>
492                    <equals arg2="jar" arg1="${project.packaging}" />
493                    <equals arg2="bundle" arg1="${project.packaging}" />
494                  </or>
495                  <then>
496                    <move file="${project.build.directory}/${project.build.finalName}.jar" tofile="${project.build.directory}/${project.build.finalName}.orig.jar" />
497                    <zip destfile="${project.build.directory}/${project.build.finalName}.jar">
498                      <zipfileset filemode="644" src="${project.build.directory}/${project.build.finalName}.orig.jar" dirmode="755">
499                        <include name="META-INF/MANIFEST.MF" />
500                      </zipfileset>
501                      <zipfileset filemode="644" src="${project.build.directory}/${project.build.finalName}.orig.jar" dirmode="755">
502                        <exclude name="META-INF/MANIFEST.MF" />
503                        <exclude name="*/*/*/example/**" />
504                      </zipfileset>
505                    </zip>
506                    <delete file="${project.build.directory}/${project.build.finalName}.orig.jar" />
507                    <checksum file="${project.build.directory}/${project.build.finalName}.jar" algorithm="md5" forceoverwrite="yes" />
508                    <checksum file="${project.build.directory}/${project.build.finalName}.jar" algorithm="sha1" forceoverwrite="yes" />
509                    <move file="${project.build.directory}/${project.build.finalName}-sources.jar" tofile="${project.build.directory}/${project.build.finalName}-sources.orig.jar" />
510                    <zip destfile="${project.build.directory}/${project.build.finalName}-sources.jar">
511                      <zipfileset filemode="644" src="${project.build.directory}/${project.build.finalName}-sources.orig.jar" dirmode="755">
512                        <include name="META-INF/MANIFEST.MF" />
513                      </zipfileset>
514                      <zipfileset filemode="644" src="${project.build.directory}/${project.build.finalName}-sources.orig.jar" dirmode="755">
515                        <exclude name="META-INF/MANIFEST.MF" />
516                        <exclude name="*/*/*/example/**" />
517                      </zipfileset>
518                    </zip>
519                    <delete file="${project.build.directory}/${project.build.finalName}-sources.orig.jar" />
520                    <checksum file="${project.build.directory}/${project.build.finalName}-sources.jar" algorithm="md5" forceoverwrite="yes" />
521                    <checksum file="${project.build.directory}/${project.build.finalName}-sources.jar" algorithm="sha1" forceoverwrite="yes" />
522                  </then>
523                </if>
524              </tasks>
525            </configuration>
526          </execution>
527        </executions>
528        <dependencies>
529          <dependency>
530            <groupId>org.apache.ant</groupId>
531            <artifactId>ant</artifactId>
532            <version>1.8.2</version>
533          </dependency>
534          <dependency>
535            <groupId>org.apache.ant</groupId>
536            <artifactId>ant-launcher</artifactId>
537            <version>1.8.2</version>
538          </dependency>
539          <dependency>
540            <groupId>ant-contrib</groupId>
541            <artifactId>ant-contrib</artifactId>
542            <version>1.0b3</version>
543            <exclusions>
544              <exclusion>
545                <groupId>ant</groupId>
546                <artifactId>ant</artifactId>
547              </exclusion>
548            </exclusions>
549          </dependency>
550        </dependencies>
551      </plugin>
552      <plugin>
553        <artifactId>maven-javadoc-plugin</artifactId>
554        <version>2.8</version>
555        <executions>
556          <execution>
557            <id>attach-javadoc</id>
558            <phase>package</phase>
559            <goals>
560              <goal>jar</goal>
561            </goals>
562          </execution>
563        </executions>
564        <configuration>
565          <doclet>org.jboss.apiviz.APIviz</doclet>
566          <docletArtifact>
567            <groupId>org.jboss.apiviz</groupId>
568            <artifactId>apiviz</artifactId>
569            <version>1.3.2.GA</version>
570          </docletArtifact>
571          <attach>true</attach>
572          <javadocDirectory>${basedir}/src/javadoc</javadocDirectory>
573          <docfilessubdirs>true</docfilessubdirs>
574          <useStandardDocletOptions>true</useStandardDocletOptions>
575          <outputDirectory>${project.build.directory}/api</outputDirectory>
576          <charset>UTF-8</charset>
577          <docencoding>UTF-8</docencoding>
578          <breakiterator>true</breakiterator>
579          <version>false</version>
580          <author>false</author>
581          <keywords>true</keywords>
582          <overview>${basedir}/src/javadoc/overview.html</overview>
583          <doctitle>${project.name} API Reference (${project.version})</doctitle>
584          <windowtitle>${project.name} API Reference (${project.version})</windowtitle>
585          <additionalparam>
586            -link http://docs.oracle.com/javase/7/docs/api/
587            -link http://code.google.com/apis/protocolbuffers/docs/reference/java/
588            -link http://docs.oracle.com/javaee/6/api/
589            -link http://www.osgi.org/javadoc/r4v43/core/
590            -link http://www.slf4j.org/apidocs/
591            -link http://commons.apache.org/logging/commons-logging-1.1.1/apidocs/
592            -link http://logging.apache.org/log4j/1.2/apidocs/
593
594            -group "Low-level data representation" org.jboss.netty.buffer*
595            -group "Central interface for all I/O operations" org.jboss.netty.channel*
596            -group "Client &amp; Server bootstrapping utilities" org.jboss.netty.bootstrap*
597            -group "Reusable I/O event interceptors" org.jboss.netty.handler*
598            -group "Miscellaneous" org.jboss.netty.logging*:org.jboss.netty.util*
599
600            -sourceclasspath ${project.build.outputDirectory}
601            -nopackagediagram
602          </additionalparam>
603          <encoding>UTF-8</encoding>
604          <locale>en_US</locale>
605          <excludePackageNames>org.jboss.netty.example*:org.jboss.netty.container*:org.jboss.netty.util.internal*</excludePackageNames>
606        </configuration>
607      </plugin>
608      <plugin>
609        <artifactId>maven-jxr-plugin</artifactId>
610        <version>2.2</version>
611        <executions>
612          <execution>
613            <id>generate-xref</id>
614            <phase>package</phase>
615            <goals>
616              <goal>jxr</goal>
617            </goals>
618          </execution>
619        </executions>
620        <configuration>
621          <inputEncoding>UTF-8</inputEncoding>
622          <outputEncoding>UTF-8</outputEncoding>
623          <linkJavadoc>true</linkJavadoc>
624          <destDir>${project.build.directory}/xref</destDir>
625          <javadocDir>${project.build.directory}/api</javadocDir>
626          <docTitle>${project.name} Source Xref (${project.version})</docTitle>
627          <windowTitle>${project.name} Source Xref (${project.version})</windowTitle>
628        </configuration>
629      </plugin>
630      <plugin>
631        <artifactId>maven-assembly-plugin</artifactId>
632        <version>2.2.1</version>
633        <executions>
634          <execution>
635            <id>generate-distribution</id>
636            <phase>package</phase>
637            <goals>
638              <goal>single</goal>
639            </goals>
640          </execution>
641        </executions>
642        <configuration>
643          <descriptors>
644            <descriptor>${basedir}/src/assembly/default.xml</descriptor>
645          </descriptors>
646          <attach>${attach-distribution}</attach>
647          <appendAssemblyId>true</appendAssemblyId>
648          <tarLongFileMode>gnu</tarLongFileMode>
649        </configuration>
650      </plugin>
651      <plugin>
652        <artifactId>maven-checkstyle-plugin</artifactId>
653        <version>2.9.1</version>
654        <executions>
655          <execution>
656            <id>check-style</id>
657            <goals>
658              <goal>check</goal>
659            </goals>
660            <phase>validate</phase>
661            <configuration>
662              <consoleOutput>true</consoleOutput>
663              <logViolationsToConsole>true</logViolationsToConsole>
664              <failsOnError>true</failsOnError>
665              <failOnViolation>true</failOnViolation>
666              <configLocation>io/netty/checkstyle.xml</configLocation>
667            </configuration>
668          </execution>
669        </executions>
670        <dependencies>
671          <dependency>
672            <groupId>${project.groupId}</groupId>
673            <artifactId>netty-build</artifactId>
674            <version>13</version>
675          </dependency>
676        </dependencies>
677      </plugin>
678    </plugins>
679  </build>
680</project>
681
682