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