Home | History | Annotate | Download | only in extensions
      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 
      4   <modelVersion>4.0.0</modelVersion>
      5 
      6   <parent>
      7     <groupId>com.google.inject</groupId>
      8     <artifactId>guice-parent</artifactId>
      9     <version>4.0</version>
     10   </parent>
     11 
     12   <packaging>pom</packaging>
     13 
     14   <groupId>com.google.inject.extensions</groupId>
     15   <artifactId>extensions-parent</artifactId>
     16 
     17   <name>Google Guice - Extensions</name>
     18 
     19   <modules>
     20     <module>assistedinject</module>
     21     <!-- TODO(cgruber): Comment out dagger-adapter module if guice releases before dagger 2.x -->
     22     <module>dagger-adapter</module>
     23     <module>grapher</module>
     24     <module>jmx</module>
     25     <module>jndi</module>
     26     <module>multibindings</module>
     27     <module>persist</module>
     28     <module>servlet</module>
     29     <module>spring</module>
     30     <module>struts2</module>
     31     <module>testlib</module>
     32     <module>throwingproviders</module>
     33 <!--
     34  |  not yet promoted...
     35 - -
     36     <module>mini</module>
     37     <module>service</module>
     38 -->
     39   </modules>
     40 
     41   <dependencies>
     42     <!--
     43      | All extensions depend on the core
     44     -->
     45     <dependency>
     46       <groupId>com.google.inject</groupId>
     47       <artifactId>guice</artifactId>
     48       <version>${project.version}</version>
     49     </dependency>
     50     <!--
     51      | Some extension tests depend on the core tests
     52     -->
     53     <dependency>
     54       <groupId>com.google.inject</groupId>
     55       <artifactId>guice</artifactId>
     56       <version>${project.version}</version>
     57       <classifier>tests</classifier>
     58       <scope>test</scope>
     59     </dependency>
     60     <!--
     61      | Some extension tests depend on guava test libs which are not inherited
     62      | from test scope.
     63     -->
     64     <dependency>
     65       <groupId>com.google.guava</groupId>
     66       <artifactId>guava-testlib</artifactId>
     67       <scope>test</scope>
     68     </dependency>
     69     <!--
     70      | Some extension tests depend on cglib which is not embedded
     71      | in an execution that doesn't include package.
     72     -->
     73     <dependency>
     74       <groupId>org.ow2.asm</groupId>
     75       <artifactId>asm</artifactId>
     76       <scope>test</scope>
     77     </dependency>
     78     <dependency>
     79       <groupId>cglib</groupId>
     80       <artifactId>cglib</artifactId>
     81       <scope>test</scope>
     82     </dependency>
     83   </dependencies>
     84 
     85   <build>
     86     <plugins>
     87       <!--
     88        | Add standard LICENSE and NOTICE files
     89       -->
     90       <plugin>
     91         <artifactId>maven-remote-resources-plugin</artifactId>
     92       </plugin>
     93       <!--
     94        | Enable Java6 conformance checks
     95       -->
     96       <plugin>
     97         <groupId>org.codehaus.mojo</groupId>
     98         <artifactId>animal-sniffer-maven-plugin</artifactId>
     99       </plugin>
    100       <!--
    101        | Add OSGi manifest: extensions are fragments that attach to the core
    102       -->
    103       <plugin>
    104         <groupId>org.apache.felix</groupId>
    105         <artifactId>maven-bundle-plugin</artifactId>
    106         <configuration>
    107           <instructions>
    108             <Fragment-Host>com.google.inject</Fragment-Host>
    109           </instructions>
    110         </configuration>
    111       </plugin>
    112       <!--
    113        | Generate sources jar
    114       -->
    115       <plugin>
    116         <artifactId>maven-source-plugin</artifactId>
    117       </plugin>
    118       <!--
    119        | Generate javadoc jar
    120       -->
    121       <plugin>
    122         <artifactId>maven-javadoc-plugin</artifactId>
    123       </plugin>
    124     </plugins>
    125   </build>
    126 </project>
    127