blob: 5fefce8188604266ffe1a397d135905345c4543f [file] [log] [blame]
mccullsbc7e1502010-10-21 23:36:09 +00001<?xml version="1.0" encoding="UTF-8"?>
sberlinb0852382010-08-01 19:55:08 +00002
mccullsbc7e1502010-10-21 23:36:09 +00003<!--
4Copyright (c) 2006 Google, Inc. All rights reserved.
5
6This program is licensed to you under the Apache License Version 2.0,
7and you may not use this file except in compliance with the Apache License Version 2.0.
8You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
9
10Unless required by applicable law or agreed to in writing,
11software distributed under the Apache License Version 2.0 is distributed on an
12"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
14-->
15
16<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">
17
18 <modelVersion>4.0.0</modelVersion>
19
20 <parent>
21 <groupId>com.google</groupId>
22 <artifactId>google</artifactId>
23 <version>5</version>
24 </parent>
25
26 <packaging>pom</packaging>
27
28 <groupId>com.google.inject</groupId>
29 <artifactId>guice-parent</artifactId>
30 <version>3.0-SNAPSHOT</version>
31
32 <name>Google Guice</name>
33
34 <description>
35 Guice is a lightweight dependency injection framework for Java 5 and above
36 </description>
37
38 <url>http://code.google.com/p/google-guice/</url>
39 <inceptionYear>2006</inceptionYear>
40
41 <organization>
42 <name>Google, Inc.</name>
43 <url>http://www.google.com</url>
44 </organization>
45
46 <mailingLists>
47 <mailingList>
48 <name>Guice Users List</name>
49 <archive>http://groups.google.com/group/google-guice/topics</archive>
50 <subscribe>http://groups.google.com/group/google-guice/subscribe</subscribe>
51 <unsubscribe>http://groups.google.com/group/google-guice/subscribe</unsubscribe>
52 <post>http://groups.google.com/group/google-guice/post</post>
53 </mailingList>
54 <mailingList>
55 <name>Guice Developers List</name>
56 <archive>http://groups.google.com/group/google-guice-dev/topics</archive>
57 <subscribe>http://groups.google.com/group/google-guice-dev/subscribe</subscribe>
58 <unsubscribe>http://groups.google.com/group/google-guice-dev/subscribe</unsubscribe>
59 <post>http://groups.google.com/group/google-guice-dev/post</post>
60 </mailingList>
61 </mailingLists>
62
63 <scm>
64 <connection>scm:svn:http://google-guice.googlecode.com/svn/trunk</connection>
65 <developerConnection>scm:svn:https://google-guice.googlecode.com/svn/trunk</developerConnection>
66 <url>http://code.google.com/p/google-guice/source/browse</url>
67 </scm>
68
69 <issueManagement>
70 <system>Google Code</system>
71 <url>http://code.google.com/p/google-guice/issues/</url>
72 </issueManagement>
73
mcculls00090052010-10-22 00:12:40 +000074 <ciManagement>
75 <system>Hudson</system>
76 <url>https://grid.sonatype.org/ci/job/Google-Guice/</url>
77 </ciManagement>
78
mccullsbc7e1502010-10-21 23:36:09 +000079 <licenses>
80 <license>
81 <name>The Apache Software License, Version 2.0</name>
82 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
83 <distribution>repo</distribution>
84 </license>
85 </licenses>
86
87 <modules>
88 <module>core</module>
89 <module>extensions</module>
90 </modules>
91
92 <properties>
mccullsbc7e1502010-10-21 23:36:09 +000093 <guice.api.version>1.3</guice.api.version>
mcculls8846db32010-11-04 02:22:00 +000094 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
95 <guice.with.jarjar>true</guice.with.jarjar>
96 <guice.with.noaop>true</guice.with.noaop>
mccullsbc7e1502010-10-21 23:36:09 +000097 </properties>
98
99 <dependencies>
sberlinb0852382010-08-01 19:55:08 +0000100 <dependency>
mcculls8846db32010-11-04 02:22:00 +0000101 <groupId>org.sonatype.sisu.inject</groupId>
102 <artifactId>cglib</artifactId>
103 <version>2.2.1</version>
104 <optional>${guice.with.jarjar}</optional>
105 </dependency>
106 <dependency>
mcculls47575202010-11-04 15:02:41 +0000107 <groupId>org.testng</groupId>
108 <artifactId>testng</artifactId>
109 <version>5.11</version>
110 <classifier>jdk15</classifier>
mccullsbc7e1502010-10-21 23:36:09 +0000111 <scope>test</scope>
sberlinb0852382010-08-01 19:55:08 +0000112 </dependency>
crazybobleeac266a22007-02-26 00:07:01 +0000113 </dependencies>
mccullsbc7e1502010-10-21 23:36:09 +0000114
mccullsbc7e1502010-10-21 23:36:09 +0000115 <build>
116 <sourceDirectory>${project.basedir}/src</sourceDirectory>
117 <resources>
118 <resource>
119 <filtering>false</filtering>
120 <directory>${project.basedir}/src</directory>
121 <excludes>
122 <exclude>**/*.java</exclude>
123 </excludes>
124 </resource>
125 </resources>
126 <testSourceDirectory>${project.basedir}/test</testSourceDirectory>
127 <testResources>
128 <testResource>
129 <filtering>false</filtering>
130 <directory>${project.basedir}/test</directory>
131 <excludes>
132 <exclude>**/*.java</exclude>
133 </excludes>
134 </testResource>
135 </testResources>
136 <pluginManagement>
137 <plugins>
138 <plugin>
139 <artifactId>maven-compiler-plugin</artifactId>
140 <version>2.3.2</version>
141 </plugin>
142 <plugin>
143 <groupId>org.codehaus.mojo</groupId>
144 <artifactId>animal-sniffer-maven-plugin</artifactId>
145 <version>1.6</version>
146 <configuration>
147 <signature>
148 <groupId>org.codehaus.mojo.signature</groupId>
149 <artifactId>java15</artifactId>
150 <version>1.0</version>
151 </signature>
152 </configuration>
153 <executions>
154 <execution>
155 <id>check-java-1.5-compat</id>
156 <phase>process-classes</phase>
157 <goals>
158 <goal>check</goal>
159 </goals>
160 </execution>
161 </executions>
162 </plugin>
163 <plugin>
mcculls8846db32010-11-04 02:22:00 +0000164 <groupId>org.sonatype.plugins</groupId>
165 <artifactId>jarjar-maven-plugin</artifactId>
mcculls2c3076b2010-11-04 02:36:40 +0000166 <version>1.3</version>
mcculls8846db32010-11-04 02:22:00 +0000167 <configuration>
168 <rules>
169 <rule>
170 <pattern>net.sf.cglib.*</pattern>
171 <result>com.google.inject.internal.cglib.$@1</result>
172 </rule>
173 <rule>
174 <pattern>net.sf.cglib.**.*</pattern>
175 <result>com.google.inject.internal.cglib.@1.$@2</result>
176 </rule>
177 <rule>
178 <pattern>org.objectweb.asm.*</pattern>
179 <result>com.google.inject.internal.asm.$@1</result>
180 </rule>
181 <rule>
182 <pattern>org.objectweb.asm.**.*</pattern>
183 <result>com.google.inject.internal.asm.@1.$@2</result>
184 </rule>
185 <rule>
186 <pattern>com.google.inject.internal.util.*</pattern>
187 <result>com.google.inject.internal.util.$@1</result>
188 </rule>
189 <rule>
190 <pattern>com.google.inject.internal.util.**.*</pattern>
191 <result>com.google.inject.internal.util.@1.$@2</result>
192 </rule>
193 <keep>
194 <pattern>com.google.inject.**</pattern>
195 </keep>
mcculls188875a2010-11-04 02:49:55 +0000196 <keep>
197 <pattern>com.googlecode.**</pattern>
198 </keep>
mcculls8846db32010-11-04 02:22:00 +0000199 </rules>
200 </configuration>
201 <executions>
202 <execution>
203 <id>jarjar-classes</id>
204 <phase>process-test-classes</phase>
205 <goals>
206 <goal>jarjar</goal>
207 </goals>
208 <configuration>
209 <input>{classes}</input>
210 </configuration>
211 </execution>
212 <execution>
213 <id>jarjar-test-classes</id>
214 <phase>process-test-classes</phase>
215 <goals>
216 <goal>jarjar</goal>
217 </goals>
218 <configuration>
219 <input>{test-classes}</input>
220 </configuration>
221 </execution>
222 </executions>
223 </plugin>
224 <plugin>
mccullsbc7e1502010-10-21 23:36:09 +0000225 <artifactId>maven-surefire-plugin</artifactId>
mcculls8846db32010-11-04 02:22:00 +0000226 <version>2.5</version>
mccullsbc7e1502010-10-21 23:36:09 +0000227 <configuration>
228 <redirectTestOutputToFile>true</redirectTestOutputToFile>
229 </configuration>
230 </plugin>
231 <plugin>
232 <groupId>org.apache.felix</groupId>
233 <artifactId>maven-bundle-plugin</artifactId>
234 <version>2.1.0</version>
235 <configuration>
236 <instructions>
mcculls8846db32010-11-04 02:22:00 +0000237 <module>com.google.inject</module>
238 <_include>-${project.basedir}/build.properties</_include>
mccullsbc7e1502010-10-21 23:36:09 +0000239 <Bundle-Copyright>Copyright (C) 2006 Google Inc.</Bundle-Copyright>
240 <Bundle-DocURL>http://code.google.com/p/google-guice/</Bundle-DocURL>
mcculls8846db32010-11-04 02:22:00 +0000241 <Bundle-Name>${project.artifactId}</Bundle-Name>
242 <Bundle-SymbolicName>$(module)</Bundle-SymbolicName>
mccullsbc7e1502010-10-21 23:36:09 +0000243 <Bundle-RequiredExecutionEnvironment>
244 J2SE-1.5,JavaSE-1.6
245 </Bundle-RequiredExecutionEnvironment>
246 <Import-Package>!com.google.inject.*,*</Import-Package>
mcculls8846db32010-11-04 02:22:00 +0000247 <_exportcontents>!*.internal.*,$(module).*;version=${guice.api.version}</_exportcontents>
mccullsbc7e1502010-10-21 23:36:09 +0000248 <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
249 <_nouses>true</_nouses>
250 <_removeheaders>
251 Embed-Dependency,Embed-Transitive,
252 Built-By,Tool,Created-By,Build-Jdk,
253 Originally-Created-By,Archiver-Version,
254 Include-Resource,Private-Package,
255 Ignore-Package,Bnd-LastModified
256 </_removeheaders>
257 </instructions>
258 </configuration>
259 <executions>
260 <execution>
261 <phase>prepare-package</phase>
262 <goals>
263 <goal>manifest</goal>
264 </goals>
265 </execution>
266 </executions>
267 </plugin>
268 <plugin>
269 <artifactId>maven-jar-plugin</artifactId>
270 <version>2.3.1</version>
271 <configuration>
272 <archive>
273 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
274 </archive>
275 </configuration>
276 <executions>
277 <execution>
278 <phase>package</phase>
279 <goals>
280 <goal>test-jar</goal>
281 </goals>
282 </execution>
283 </executions>
284 </plugin>
285 <plugin>
286 <artifactId>maven-javadoc-plugin</artifactId>
287 <version>2.7</version>
288 </plugin>
289 <plugin>
290 <artifactId>maven-source-plugin</artifactId>
291 <version>2.1.2</version>
292 </plugin>
293 <plugin>
294 <artifactId>maven-gpg-plugin</artifactId>
295 <version>1.1</version>
296 </plugin>
297 <plugin>
298 <artifactId>maven-release-plugin</artifactId>
299 <version>2.1</version>
300 <configuration>
301 <autoVersionSubmodules>true</autoVersionSubmodules>
302 </configuration>
303 </plugin>
304 </plugins>
305 </pluginManagement>
mccullsbc7e1502010-10-21 23:36:09 +0000306 </build>
307
mcculls88153582010-10-22 00:01:07 +0000308 <profiles>
309 <profile>
310 <id>sonatype-grid</id>
mccullsec491882010-10-22 00:10:06 +0000311 <properties>
312 <forgeReleaseId>forge-releases</forgeReleaseId>
313 <forgeReleaseUrl>http://repository.sonatype.org:8081/service/local/staging/deploy/maven2</forgeReleaseUrl>
314 <forgeSnapshotId>forge-snapshots</forgeSnapshotId>
315 <forgeSnapshotUrl>http://repository.sonatype.org/content/repositories/snapshots</forgeSnapshotUrl>
316 </properties>
mcculls88153582010-10-22 00:01:07 +0000317 <distributionManagement>
318 <repository>
mccullsec491882010-10-22 00:10:06 +0000319 <id>${forgeReleaseId}</id>
320 <url>${forgeReleaseUrl}</url>
mcculls88153582010-10-22 00:01:07 +0000321 </repository>
322 <snapshotRepository>
mccullsec491882010-10-22 00:10:06 +0000323 <id>${forgeSnapshotId}</id>
324 <url>${forgeSnapshotUrl}</url>
mcculls88153582010-10-22 00:01:07 +0000325 </snapshotRepository>
326 </distributionManagement>
327 </profile>
328 </profiles>
329
crazybobleeac266a22007-02-26 00:07:01 +0000330</project>