blob: 7095bc87ba1d9b5e3338bd357f80b84486f893ca [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>
165 <version>1.3-SNAPSHOT</version>
166 <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>
195 </rules>
196 </configuration>
197 <executions>
198 <execution>
199 <id>jarjar-classes</id>
200 <phase>process-test-classes</phase>
201 <goals>
202 <goal>jarjar</goal>
203 </goals>
204 <configuration>
205 <input>{classes}</input>
206 </configuration>
207 </execution>
208 <execution>
209 <id>jarjar-test-classes</id>
210 <phase>process-test-classes</phase>
211 <goals>
212 <goal>jarjar</goal>
213 </goals>
214 <configuration>
215 <input>{test-classes}</input>
216 </configuration>
217 </execution>
218 </executions>
219 </plugin>
220 <plugin>
mccullsbc7e1502010-10-21 23:36:09 +0000221 <artifactId>maven-surefire-plugin</artifactId>
mcculls8846db32010-11-04 02:22:00 +0000222 <version>2.5</version>
mccullsbc7e1502010-10-21 23:36:09 +0000223 <configuration>
224 <redirectTestOutputToFile>true</redirectTestOutputToFile>
225 </configuration>
226 </plugin>
227 <plugin>
228 <groupId>org.apache.felix</groupId>
229 <artifactId>maven-bundle-plugin</artifactId>
230 <version>2.1.0</version>
231 <configuration>
232 <instructions>
mcculls8846db32010-11-04 02:22:00 +0000233 <module>com.google.inject</module>
234 <_include>-${project.basedir}/build.properties</_include>
mccullsbc7e1502010-10-21 23:36:09 +0000235 <Bundle-Copyright>Copyright (C) 2006 Google Inc.</Bundle-Copyright>
236 <Bundle-DocURL>http://code.google.com/p/google-guice/</Bundle-DocURL>
mcculls8846db32010-11-04 02:22:00 +0000237 <Bundle-Name>${project.artifactId}</Bundle-Name>
238 <Bundle-SymbolicName>$(module)</Bundle-SymbolicName>
mccullsbc7e1502010-10-21 23:36:09 +0000239 <Bundle-RequiredExecutionEnvironment>
240 J2SE-1.5,JavaSE-1.6
241 </Bundle-RequiredExecutionEnvironment>
242 <Import-Package>!com.google.inject.*,*</Import-Package>
mcculls8846db32010-11-04 02:22:00 +0000243 <_exportcontents>!*.internal.*,$(module).*;version=${guice.api.version}</_exportcontents>
mccullsbc7e1502010-10-21 23:36:09 +0000244 <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
245 <_nouses>true</_nouses>
246 <_removeheaders>
247 Embed-Dependency,Embed-Transitive,
248 Built-By,Tool,Created-By,Build-Jdk,
249 Originally-Created-By,Archiver-Version,
250 Include-Resource,Private-Package,
251 Ignore-Package,Bnd-LastModified
252 </_removeheaders>
253 </instructions>
254 </configuration>
255 <executions>
256 <execution>
257 <phase>prepare-package</phase>
258 <goals>
259 <goal>manifest</goal>
260 </goals>
261 </execution>
262 </executions>
263 </plugin>
264 <plugin>
265 <artifactId>maven-jar-plugin</artifactId>
266 <version>2.3.1</version>
267 <configuration>
268 <archive>
269 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
270 </archive>
271 </configuration>
272 <executions>
273 <execution>
274 <phase>package</phase>
275 <goals>
276 <goal>test-jar</goal>
277 </goals>
278 </execution>
279 </executions>
280 </plugin>
281 <plugin>
282 <artifactId>maven-javadoc-plugin</artifactId>
283 <version>2.7</version>
284 </plugin>
285 <plugin>
286 <artifactId>maven-source-plugin</artifactId>
287 <version>2.1.2</version>
288 </plugin>
289 <plugin>
290 <artifactId>maven-gpg-plugin</artifactId>
291 <version>1.1</version>
292 </plugin>
293 <plugin>
294 <artifactId>maven-release-plugin</artifactId>
295 <version>2.1</version>
296 <configuration>
297 <autoVersionSubmodules>true</autoVersionSubmodules>
298 </configuration>
299 </plugin>
300 </plugins>
301 </pluginManagement>
mccullsbc7e1502010-10-21 23:36:09 +0000302 </build>
303
mcculls88153582010-10-22 00:01:07 +0000304 <profiles>
305 <profile>
306 <id>sonatype-grid</id>
mccullsec491882010-10-22 00:10:06 +0000307 <properties>
308 <forgeReleaseId>forge-releases</forgeReleaseId>
309 <forgeReleaseUrl>http://repository.sonatype.org:8081/service/local/staging/deploy/maven2</forgeReleaseUrl>
310 <forgeSnapshotId>forge-snapshots</forgeSnapshotId>
311 <forgeSnapshotUrl>http://repository.sonatype.org/content/repositories/snapshots</forgeSnapshotUrl>
312 </properties>
mcculls88153582010-10-22 00:01:07 +0000313 <distributionManagement>
314 <repository>
mccullsec491882010-10-22 00:10:06 +0000315 <id>${forgeReleaseId}</id>
316 <url>${forgeReleaseUrl}</url>
mcculls88153582010-10-22 00:01:07 +0000317 </repository>
318 <snapshotRepository>
mccullsec491882010-10-22 00:10:06 +0000319 <id>${forgeSnapshotId}</id>
320 <url>${forgeSnapshotUrl}</url>
mcculls88153582010-10-22 00:01:07 +0000321 </snapshotRepository>
322 </distributionManagement>
323 </profile>
324 </profiles>
325
crazybobleeac266a22007-02-26 00:07:01 +0000326</project>