blob: 309e092af8daea3c42d792f07003089db183c840 [file] [log] [blame]
mccullsbc7e1502010-10-21 23:36:09 +00001<?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
sberlin@gmail.com255af732010-08-01 19:49:16 +00004 <modelVersion>4.0.0</modelVersion>
mccullsbc7e1502010-10-21 23:36:09 +00005
sberlin@gmail.com255af732010-08-01 19:49:16 +00006 <parent>
7 <groupId>com.google.inject</groupId>
8 <artifactId>guice-parent</artifactId>
sberlinb0852382010-08-01 19:55:08 +00009 <version>3.0-SNAPSHOT</version>
sberlin@gmail.com255af732010-08-01 19:49:16 +000010 </parent>
mccullsbc7e1502010-10-21 23:36:09 +000011
12 <packaging>pom</packaging>
13
sberlin@gmail.com255af732010-08-01 19:49:16 +000014 <groupId>com.google.inject.extensions</groupId>
15 <artifactId>extensions-parent</artifactId>
mccullsbc7e1502010-10-21 23:36:09 +000016
sberlin@gmail.com255af732010-08-01 19:49:16 +000017 <name>Google Guice - Extensions</name>
mccullsbc7e1502010-10-21 23:36:09 +000018
19 <modules>
20 <module>assistedinject</module>
21 <module>grapher</module>
22 <module>jmx</module>
23 <module>jndi</module>
24 <module>multibindings</module>
25 <module>persist</module>
26 <module>servlet</module>
27 <module>spring</module>
sberlin@gmail.com81a0c602010-12-02 23:50:16 +000028 <module>struts2</module>
mccullsbc7e1502010-10-21 23:36:09 +000029 <module>throwingproviders</module>
30<!--
mccullsaacb4842010-11-04 22:51:25 +000031 | not yet promoted...
32- -
mccullsbc7e1502010-10-21 23:36:09 +000033 <module>mini</module>
34 <module>service</module>
35-->
36 </modules>
37
38 <dependencies>
mccullsaacb4842010-11-04 22:51:25 +000039 <!--
40 | All extensions depend on the core
41 -->
mccullsbc7e1502010-10-21 23:36:09 +000042 <dependency>
43 <groupId>com.google.inject</groupId>
44 <artifactId>guice</artifactId>
45 <version>${project.version}</version>
46 </dependency>
mccullsaacb4842010-11-04 22:51:25 +000047 <!--
48 | Some extension tests depend on the core tests
49 -->
mccullsbc7e1502010-10-21 23:36:09 +000050 <dependency>
51 <groupId>com.google.inject</groupId>
52 <artifactId>guice</artifactId>
53 <version>${project.version}</version>
54 <classifier>tests</classifier>
55 <scope>test</scope>
56 </dependency>
57 </dependencies>
58
59 <build>
60 <plugins>
mccullsaacb4842010-11-04 22:51:25 +000061 <!--
mcculls33018c32011-01-04 15:16:27 +000062 | Add standard LICENSE and NOTICE files
63 -->
64 <plugin>
65 <artifactId>maven-remote-resources-plugin</artifactId>
66 </plugin>
67 <!--
mccullsaacb4842010-11-04 22:51:25 +000068 | Enable Java5 conformance checks
69 -->
mccullsbc7e1502010-10-21 23:36:09 +000070 <plugin>
mcculls8846db32010-11-04 02:22:00 +000071 <groupId>org.codehaus.mojo</groupId>
72 <artifactId>animal-sniffer-maven-plugin</artifactId>
73 </plugin>
mccullsaacb4842010-11-04 22:51:25 +000074 <!--
75 | Add OSGi manifest: extensions are fragments that attach to the core
76 -->
mcculls8846db32010-11-04 02:22:00 +000077 <plugin>
mccullsbc7e1502010-10-21 23:36:09 +000078 <groupId>org.apache.felix</groupId>
79 <artifactId>maven-bundle-plugin</artifactId>
80 <configuration>
81 <instructions>
82 <Fragment-Host>com.google.inject</Fragment-Host>
83 </instructions>
84 </configuration>
85 </plugin>
86 </plugins>
87 </build>
88
mcculls8846db32010-11-04 02:22:00 +000089 <profiles>
90 <profile>
mccullsaacb4842010-11-04 22:51:25 +000091 <!--
92 | JarJar build profile: re-package ASM and CGLIB references under the Guice namespace
93 -->
mcculls8846db32010-11-04 02:22:00 +000094 <id>guice.with.jarjar</id>
95 <activation>
96 <property>
97 <name>guice.with.jarjar</name>
98 <value>!false</value>
99 </property>
100 </activation>
101 <dependencies>
mccullsaacb4842010-11-04 22:51:25 +0000102 <!--
103 | Extensions compile first against the non-JarJar'd core - and are then JarJar'd themselves
104 | (optional dependency so it doesn't leak to client projects that depend on Guice artifacts)
105 -->
mcculls8846db32010-11-04 02:22:00 +0000106 <dependency>
107 <groupId>com.google.inject</groupId>
108 <artifactId>guice</artifactId>
109 <version>${project.version}</version>
mcculls692ca952010-12-10 15:05:01 +0000110 <classifier>no_deps</classifier>
mcculls8846db32010-11-04 02:22:00 +0000111 <optional>true</optional>
112 </dependency>
113 </dependencies>
114 <build>
115 <plugins>
116 <plugin>
117 <groupId>org.sonatype.plugins</groupId>
118 <artifactId>jarjar-maven-plugin</artifactId>
119 <configuration>
120 <excludes>
121 <exclude>*:*</exclude>
122 </excludes>
123 </configuration>
124 </plugin>
125 </plugins>
126 </build>
127 </profile>
128 </profiles>
129
sberlin@gmail.com255af732010-08-01 19:49:16 +0000130</project>