blob: a594ff6185df12753bb5e32953c717e9d2a36217 [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>
mccullsbc7e1502010-10-21 23:36:09 +0000107 <groupId>junit</groupId>
108 <artifactId>junit</artifactId>
mcculls8846db32010-11-04 02:22:00 +0000109 <version>3.8.2</version>
mccullsbc7e1502010-10-21 23:36:09 +0000110 <scope>test</scope>
sberlinb0852382010-08-01 19:55:08 +0000111 </dependency>
crazybobleeac266a22007-02-26 00:07:01 +0000112 </dependencies>
mccullsbc7e1502010-10-21 23:36:09 +0000113
mccullsbc7e1502010-10-21 23:36:09 +0000114 <build>
115 <sourceDirectory>${project.basedir}/src</sourceDirectory>
116 <resources>
117 <resource>
118 <filtering>false</filtering>
119 <directory>${project.basedir}/src</directory>
120 <excludes>
121 <exclude>**/*.java</exclude>
122 </excludes>
123 </resource>
124 </resources>
125 <testSourceDirectory>${project.basedir}/test</testSourceDirectory>
126 <testResources>
127 <testResource>
128 <filtering>false</filtering>
129 <directory>${project.basedir}/test</directory>
130 <excludes>
131 <exclude>**/*.java</exclude>
132 </excludes>
133 </testResource>
134 </testResources>
135 <pluginManagement>
136 <plugins>
137 <plugin>
138 <artifactId>maven-compiler-plugin</artifactId>
139 <version>2.3.2</version>
140 </plugin>
141 <plugin>
142 <groupId>org.codehaus.mojo</groupId>
143 <artifactId>animal-sniffer-maven-plugin</artifactId>
144 <version>1.6</version>
145 <configuration>
146 <signature>
147 <groupId>org.codehaus.mojo.signature</groupId>
148 <artifactId>java15</artifactId>
149 <version>1.0</version>
150 </signature>
151 </configuration>
152 <executions>
153 <execution>
154 <id>check-java-1.5-compat</id>
155 <phase>process-classes</phase>
156 <goals>
157 <goal>check</goal>
158 </goals>
159 </execution>
160 </executions>
161 </plugin>
162 <plugin>
mcculls8846db32010-11-04 02:22:00 +0000163 <groupId>org.sonatype.plugins</groupId>
164 <artifactId>jarjar-maven-plugin</artifactId>
mcculls2c3076b2010-11-04 02:36:40 +0000165 <version>1.3</version>
mcculls8846db32010-11-04 02:22:00 +0000166 <configuration>
167 <rules>
168 <rule>
169 <pattern>net.sf.cglib.*</pattern>
170 <result>com.google.inject.internal.cglib.$@1</result>
171 </rule>
172 <rule>
173 <pattern>net.sf.cglib.**.*</pattern>
174 <result>com.google.inject.internal.cglib.@1.$@2</result>
175 </rule>
176 <rule>
177 <pattern>org.objectweb.asm.*</pattern>
178 <result>com.google.inject.internal.asm.$@1</result>
179 </rule>
180 <rule>
181 <pattern>org.objectweb.asm.**.*</pattern>
182 <result>com.google.inject.internal.asm.@1.$@2</result>
183 </rule>
184 <rule>
185 <pattern>com.google.inject.internal.util.*</pattern>
186 <result>com.google.inject.internal.util.$@1</result>
187 </rule>
188 <rule>
189 <pattern>com.google.inject.internal.util.**.*</pattern>
190 <result>com.google.inject.internal.util.@1.$@2</result>
191 </rule>
192 <keep>
193 <pattern>com.google.inject.**</pattern>
194 </keep>
mcculls188875a2010-11-04 02:49:55 +0000195 <keep>
196 <pattern>com.googlecode.**</pattern>
197 </keep>
mcculls8846db32010-11-04 02:22:00 +0000198 </rules>
199 </configuration>
200 <executions>
201 <execution>
202 <id>jarjar-classes</id>
203 <phase>process-test-classes</phase>
204 <goals>
205 <goal>jarjar</goal>
206 </goals>
207 <configuration>
208 <input>{classes}</input>
209 </configuration>
210 </execution>
211 <execution>
212 <id>jarjar-test-classes</id>
213 <phase>process-test-classes</phase>
214 <goals>
215 <goal>jarjar</goal>
216 </goals>
217 <configuration>
218 <input>{test-classes}</input>
219 </configuration>
220 </execution>
221 </executions>
222 </plugin>
223 <plugin>
mccullsbc7e1502010-10-21 23:36:09 +0000224 <artifactId>maven-surefire-plugin</artifactId>
mcculls8846db32010-11-04 02:22:00 +0000225 <version>2.5</version>
mccullsbc7e1502010-10-21 23:36:09 +0000226 <configuration>
227 <redirectTestOutputToFile>true</redirectTestOutputToFile>
228 </configuration>
229 </plugin>
230 <plugin>
231 <groupId>org.apache.felix</groupId>
232 <artifactId>maven-bundle-plugin</artifactId>
233 <version>2.1.0</version>
234 <configuration>
235 <instructions>
mcculls8846db32010-11-04 02:22:00 +0000236 <module>com.google.inject</module>
237 <_include>-${project.basedir}/build.properties</_include>
mccullsbc7e1502010-10-21 23:36:09 +0000238 <Bundle-Copyright>Copyright (C) 2006 Google Inc.</Bundle-Copyright>
239 <Bundle-DocURL>http://code.google.com/p/google-guice/</Bundle-DocURL>
mcculls8846db32010-11-04 02:22:00 +0000240 <Bundle-Name>${project.artifactId}</Bundle-Name>
241 <Bundle-SymbolicName>$(module)</Bundle-SymbolicName>
mccullsbc7e1502010-10-21 23:36:09 +0000242 <Bundle-RequiredExecutionEnvironment>
243 J2SE-1.5,JavaSE-1.6
244 </Bundle-RequiredExecutionEnvironment>
245 <Import-Package>!com.google.inject.*,*</Import-Package>
mcculls8846db32010-11-04 02:22:00 +0000246 <_exportcontents>!*.internal.*,$(module).*;version=${guice.api.version}</_exportcontents>
mccullsbc7e1502010-10-21 23:36:09 +0000247 <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
248 <_nouses>true</_nouses>
249 <_removeheaders>
250 Embed-Dependency,Embed-Transitive,
251 Built-By,Tool,Created-By,Build-Jdk,
252 Originally-Created-By,Archiver-Version,
253 Include-Resource,Private-Package,
254 Ignore-Package,Bnd-LastModified
255 </_removeheaders>
256 </instructions>
257 </configuration>
258 <executions>
259 <execution>
260 <phase>prepare-package</phase>
261 <goals>
262 <goal>manifest</goal>
263 </goals>
264 </execution>
265 </executions>
266 </plugin>
267 <plugin>
268 <artifactId>maven-jar-plugin</artifactId>
269 <version>2.3.1</version>
270 <configuration>
271 <archive>
272 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
273 </archive>
274 </configuration>
275 <executions>
276 <execution>
277 <phase>package</phase>
278 <goals>
279 <goal>test-jar</goal>
280 </goals>
281 </execution>
282 </executions>
283 </plugin>
284 <plugin>
285 <artifactId>maven-javadoc-plugin</artifactId>
286 <version>2.7</version>
287 </plugin>
288 <plugin>
289 <artifactId>maven-source-plugin</artifactId>
290 <version>2.1.2</version>
291 </plugin>
292 <plugin>
293 <artifactId>maven-gpg-plugin</artifactId>
294 <version>1.1</version>
295 </plugin>
296 <plugin>
297 <artifactId>maven-release-plugin</artifactId>
298 <version>2.1</version>
299 <configuration>
300 <autoVersionSubmodules>true</autoVersionSubmodules>
301 </configuration>
302 </plugin>
303 </plugins>
304 </pluginManagement>
mccullsbc7e1502010-10-21 23:36:09 +0000305 </build>
306
mcculls88153582010-10-22 00:01:07 +0000307 <profiles>
308 <profile>
309 <id>sonatype-grid</id>
mccullsec491882010-10-22 00:10:06 +0000310 <properties>
311 <forgeReleaseId>forge-releases</forgeReleaseId>
312 <forgeReleaseUrl>http://repository.sonatype.org:8081/service/local/staging/deploy/maven2</forgeReleaseUrl>
313 <forgeSnapshotId>forge-snapshots</forgeSnapshotId>
314 <forgeSnapshotUrl>http://repository.sonatype.org/content/repositories/snapshots</forgeSnapshotUrl>
315 </properties>
mcculls88153582010-10-22 00:01:07 +0000316 <distributionManagement>
317 <repository>
mccullsec491882010-10-22 00:10:06 +0000318 <id>${forgeReleaseId}</id>
319 <url>${forgeReleaseUrl}</url>
mcculls88153582010-10-22 00:01:07 +0000320 </repository>
321 <snapshotRepository>
mccullsec491882010-10-22 00:10:06 +0000322 <id>${forgeSnapshotId}</id>
323 <url>${forgeSnapshotUrl}</url>
mcculls88153582010-10-22 00:01:07 +0000324 </snapshotRepository>
325 </distributionManagement>
326 </profile>
327 </profiles>
328
crazybobleeac266a22007-02-26 00:07:01 +0000329</project>