Home | History | Annotate | Download | only in 4.1.3.Final
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <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">
      3   <parent>
      4     <artifactId>netty-parent</artifactId>
      5     <groupId>io.netty</groupId>
      6     <version>4.1.3.Final</version>
      7   </parent>
      8   <modelVersion>4.0.0</modelVersion>
      9   <artifactId>netty-common</artifactId>
     10   <name>Netty/Common</name>
     11   <build>
     12     <plugins>
     13       <plugin>
     14         <artifactId>maven-shade-plugin</artifactId>
     15         <executions>
     16           <execution>
     17             <phase>package</phase>
     18             <goals>
     19               <goal>shade</goal>
     20             </goals>
     21             <configuration>
     22               <artifactSet>
     23                 <includes>
     24                   <include>org.jctools</include>
     25                 </includes>
     26               </artifactSet>
     27               <relocations>
     28                 <relocation>
     29                   <pattern>org.jctools.</pattern>
     30                   <shadedPattern>io.netty.util.internal.shaded.org.jctools.</shadedPattern>
     31                 </relocation>
     32               </relocations>
     33               <minimizeJar>true</minimizeJar>
     34             </configuration>
     35           </execution>
     36         </executions>
     37       </plugin>
     38       <plugin>
     39         <groupId>org.codehaus.mojo</groupId>
     40         <artifactId>build-helper-maven-plugin</artifactId>
     41         <version>1.10</version>
     42         <executions>
     43           <execution>
     44             <id>add-source</id>
     45             <phase>generate-sources</phase>
     46             <goals>
     47               <goal>add-source</goal>
     48             </goals>
     49             <configuration>
     50               <sources>
     51                 <source>${collection.src.dir}</source>
     52               </sources>
     53             </configuration>
     54           </execution>
     55           <execution>
     56             <id>add-test-source</id>
     57             <phase>generate-test-sources</phase>
     58             <goals>
     59               <goal>add-test-source</goal>
     60             </goals>
     61             <configuration>
     62               <sources>
     63                 <source>${collection.testsrc.dir}</source>
     64               </sources>
     65             </configuration>
     66           </execution>
     67         </executions>
     68       </plugin>
     69       <plugin>
     70         <groupId>org.codehaus.gmaven</groupId>
     71         <artifactId>groovy-maven-plugin</artifactId>
     72         <version>2.0</version>
     73         <executions>
     74           <execution>
     75             <id>generate-collections</id>
     76             <phase>generate-sources</phase>
     77             <goals>
     78               <goal>execute</goal>
     79             </goals>
     80             <configuration>
     81               <source>${project.basedir}/src/main/script/codegen.groovy</source>
     82             </configuration>
     83           </execution>
     84         </executions>
     85         <dependencies>
     86           <dependency>
     87             <groupId>org.codehaus.groovy</groupId>
     88             <artifactId>groovy-all</artifactId>
     89             <version>2.4.7</version>
     90           </dependency>
     91           <dependency>
     92             <groupId>ant</groupId>
     93             <artifactId>ant-optional</artifactId>
     94             <version>1.5.3-1</version>
     95           </dependency>
     96         </dependencies>
     97       </plugin>
     98       <plugin>
     99         <groupId>org.apache.felix</groupId>
    100         <artifactId>maven-bundle-plugin</artifactId>
    101         <version>2.5.4</version>
    102         <executions>
    103           <execution>
    104             <id>generate-manifest</id>
    105             <phase>process-classes</phase>
    106             <goals>
    107               <goal>manifest</goal>
    108             </goals>
    109             <configuration>
    110               <instructions>
    111                 <DynamicImport-Package>*</DynamicImport-Package>
    112               </instructions>
    113             </configuration>
    114           </execution>
    115         </executions>
    116       </plugin>
    117     </plugins>
    118   </build>
    119   <dependencies>
    120     <dependency>
    121       <groupId>org.javassist</groupId>
    122       <artifactId>javassist</artifactId>
    123       <version>3.20.0-GA</version>
    124       <scope>compile</scope>
    125       <optional>true</optional>
    126     </dependency>
    127     <dependency>
    128       <groupId>org.slf4j</groupId>
    129       <artifactId>slf4j-api</artifactId>
    130       <version>1.7.21</version>
    131       <scope>compile</scope>
    132       <optional>true</optional>
    133     </dependency>
    134     <dependency>
    135       <groupId>commons-logging</groupId>
    136       <artifactId>commons-logging</artifactId>
    137       <version>1.2</version>
    138       <scope>compile</scope>
    139       <optional>true</optional>
    140     </dependency>
    141     <dependency>
    142       <groupId>log4j</groupId>
    143       <artifactId>log4j</artifactId>
    144       <version>1.2.17</version>
    145       <scope>compile</scope>
    146       <exclusions>
    147         <exclusion>
    148           <artifactId>mail</artifactId>
    149           <groupId>javax.mail</groupId>
    150         </exclusion>
    151         <exclusion>
    152           <artifactId>jms</artifactId>
    153           <groupId>javax.jms</groupId>
    154         </exclusion>
    155         <exclusion>
    156           <artifactId>jmxtools</artifactId>
    157           <groupId>com.sun.jdmk</groupId>
    158         </exclusion>
    159         <exclusion>
    160           <artifactId>jmxri</artifactId>
    161           <groupId>com.sun.jmx</groupId>
    162         </exclusion>
    163       </exclusions>
    164       <optional>true</optional>
    165     </dependency>
    166     <dependency>
    167       <groupId>org.apache.logging.log4j</groupId>
    168       <artifactId>log4j-api</artifactId>
    169       <version>2.6.1</version>
    170       <scope>compile</scope>
    171       <optional>true</optional>
    172     </dependency>
    173     <dependency>
    174       <groupId>org.apache.logging.log4j</groupId>
    175       <artifactId>log4j-core</artifactId>
    176       <version>2.6.1</version>
    177       <scope>test</scope>
    178     </dependency>
    179     <dependency>
    180       <groupId>junit</groupId>
    181       <artifactId>junit</artifactId>
    182       <version>4.12</version>
    183       <scope>test</scope>
    184       <exclusions>
    185         <exclusion>
    186           <artifactId>hamcrest-core</artifactId>
    187           <groupId>org.hamcrest</groupId>
    188         </exclusion>
    189       </exclusions>
    190     </dependency>
    191     <dependency>
    192       <groupId>io.netty</groupId>
    193       <artifactId>netty-build</artifactId>
    194       <version>22</version>
    195       <scope>test</scope>
    196       <exclusions>
    197         <exclusion>
    198           <artifactId>checkstyle</artifactId>
    199           <groupId>com.puppycrawl.tools</groupId>
    200         </exclusion>
    201       </exclusions>
    202     </dependency>
    203     <dependency>
    204       <groupId>org.hamcrest</groupId>
    205       <artifactId>hamcrest-library</artifactId>
    206       <version>1.3</version>
    207       <scope>test</scope>
    208       <exclusions>
    209         <exclusion>
    210           <artifactId>hamcrest-core</artifactId>
    211           <groupId>org.hamcrest</groupId>
    212         </exclusion>
    213       </exclusions>
    214     </dependency>
    215     <dependency>
    216       <groupId>org.easymock</groupId>
    217       <artifactId>easymock</artifactId>
    218       <version>3.4</version>
    219       <scope>test</scope>
    220       <exclusions>
    221         <exclusion>
    222           <artifactId>objenesis</artifactId>
    223           <groupId>org.objenesis</groupId>
    224         </exclusion>
    225       </exclusions>
    226     </dependency>
    227     <dependency>
    228       <groupId>org.easymock</groupId>
    229       <artifactId>easymockclassextension</artifactId>
    230       <version>3.2</version>
    231       <scope>test</scope>
    232     </dependency>
    233     <dependency>
    234       <groupId>org.jmock</groupId>
    235       <artifactId>jmock-junit4</artifactId>
    236       <version>2.8.2</version>
    237       <scope>test</scope>
    238       <exclusions>
    239         <exclusion>
    240           <artifactId>junit-dep</artifactId>
    241           <groupId>junit</groupId>
    242         </exclusion>
    243         <exclusion>
    244           <artifactId>jmock</artifactId>
    245           <groupId>org.jmock</groupId>
    246         </exclusion>
    247       </exclusions>
    248     </dependency>
    249     <dependency>
    250       <groupId>org.mockito</groupId>
    251       <artifactId>mockito-core</artifactId>
    252       <version>1.10.19</version>
    253       <scope>test</scope>
    254       <exclusions>
    255         <exclusion>
    256           <artifactId>objenesis</artifactId>
    257           <groupId>org.objenesis</groupId>
    258         </exclusion>
    259         <exclusion>
    260           <artifactId>hamcrest-core</artifactId>
    261           <groupId>org.hamcrest</groupId>
    262         </exclusion>
    263       </exclusions>
    264     </dependency>
    265     <dependency>
    266       <groupId>ch.qos.logback</groupId>
    267       <artifactId>logback-classic</artifactId>
    268       <version>1.1.7</version>
    269       <scope>test</scope>
    270       <exclusions>
    271         <exclusion>
    272           <artifactId>logback-core</artifactId>
    273           <groupId>ch.qos.logback</groupId>
    274         </exclusion>
    275       </exclusions>
    276     </dependency>
    277   </dependencies>
    278   <properties>
    279     <collection.template.test.dir>${project.basedir}/src/test/templates</collection.template.test.dir>
    280     <collection.testsrc.dir>${project.build.directory}/generated-test-sources/collections/java</collection.testsrc.dir>
    281     <collection.template.dir>${project.basedir}/src/main/templates</collection.template.dir>
    282     <collection.src.dir>${project.build.directory}/generated-sources/collections/java</collection.src.dir>
    283   </properties>
    284 </project>
    285 
    286