Jeffrey van Gogh | 32d3c0c | 2016-04-04 10:49:31 -0700 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | |
| 3 | <!-- |
| 4 | Copyright (c) 2006 Google, Inc. All rights reserved. |
| 5 | |
| 6 | This program is licensed to you under the Apache License Version 2.0, |
| 7 | and you may not use this file except in compliance with the Apache License Version 2.0. |
| 8 | You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0. |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, |
| 11 | software 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. |
| 13 | See 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>org.sonatype.forge</groupId> |
| 22 | <artifactId>forge-parent</artifactId> |
| 23 | <version>10</version> |
| 24 | </parent> |
| 25 | |
| 26 | <packaging>pom</packaging> |
| 27 | |
| 28 | <groupId>org.sonatype.sisu.inject</groupId> |
| 29 | <artifactId>guice-parent</artifactId> |
| 30 | <version>3.1.0</version> |
| 31 | |
| 32 | <name>Sisu Guice</name> |
| 33 | |
| 34 | <description> |
| 35 | Patched build of Guice: 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>google-guice+subscribe@googlegroups.com</subscribe> |
| 51 | <unsubscribe>google-guice+unsubscribe@googlegroups.com</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>google-guice-dev+subscribe@googlegroups.com</subscribe> |
| 58 | <unsubscribe>google-guice-dev+unsubscribe@googlegroups.com</unsubscribe> |
| 59 | <post>http://groups.google.com/group/google-guice-dev/post</post> |
| 60 | </mailingList> |
| 61 | </mailingLists> |
| 62 | |
| 63 | <scm> |
| 64 | <connection>scm:git:git@github.com:sonatype/sisu-guice.git</connection> |
| 65 | <developerConnection>scm:git:git@github.com:sonatype/sisu-guice.git</developerConnection> |
| 66 | <url>http://github.com/sonatype/sisu-guice</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 | |
| 74 | <ciManagement> |
| 75 | <system>Hudson</system> |
| 76 | <url>https://builds.sonatype.org/job/sisu-guice/</url> |
| 77 | </ciManagement> |
| 78 | |
| 79 | <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 | <prerequisites> |
| 93 | <maven>3.0</maven> |
| 94 | </prerequisites> |
| 95 | |
| 96 | <properties> |
| 97 | <!-- |
| 98 | | The spec version of the public Guice API |
| 99 | --> |
| 100 | <guice.api.version>1.4</guice.api.version> |
| 101 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 102 | <!-- |
| 103 | | Use "-Dguice.with.jarjar=false" to build without jarjar |
| 104 | --> |
| 105 | <guice.with.jarjar>true</guice.with.jarjar> |
| 106 | <!-- |
| 107 | | Use "-Dguice.with.no_aop=false" to skip the no-AOP variant |
| 108 | --> |
| 109 | <guice.with.no_aop>true</guice.with.no_aop> |
| 110 | </properties> |
| 111 | |
| 112 | <dependencies> |
| 113 | <!-- |
| 114 | | Run tests with TestNG |
| 115 | --> |
| 116 | <dependency> |
| 117 | <groupId>org.testng</groupId> |
| 118 | <artifactId>testng</artifactId> |
| 119 | <version>6.2</version> |
| 120 | <scope>test</scope> |
| 121 | </dependency> |
| 122 | </dependencies> |
| 123 | |
| 124 | <build> |
| 125 | <!-- |
| 126 | | Ant-style directories |
| 127 | --> |
| 128 | <sourceDirectory>${project.basedir}/src</sourceDirectory> |
| 129 | <resources> |
| 130 | <resource> |
| 131 | <filtering>false</filtering> |
| 132 | <directory>${project.basedir}/src</directory> |
| 133 | <excludes> |
| 134 | <exclude>**/*.java</exclude> |
| 135 | </excludes> |
| 136 | </resource> |
| 137 | </resources> |
| 138 | <testSourceDirectory>${project.basedir}/test</testSourceDirectory> |
| 139 | <testResources> |
| 140 | <testResource> |
| 141 | <filtering>false</filtering> |
| 142 | <directory>${project.basedir}/test</directory> |
| 143 | <excludes> |
| 144 | <exclude>**/*.java</exclude> |
| 145 | </excludes> |
| 146 | </testResource> |
| 147 | </testResources> |
| 148 | <pluginManagement> |
| 149 | <plugins> |
| 150 | <!-- |
| 151 | | Standard LICENSE and NOTICE files |
| 152 | --> |
| 153 | <plugin> |
| 154 | <artifactId>maven-remote-resources-plugin</artifactId> |
| 155 | <version>1.2.1</version> |
| 156 | <executions> |
| 157 | <execution> |
| 158 | <goals> |
| 159 | <goal>process</goal> |
| 160 | </goals> |
| 161 | <configuration> |
| 162 | <resourceBundles> |
| 163 | <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle> |
| 164 | </resourceBundles> |
| 165 | </configuration> |
| 166 | </execution> |
| 167 | </executions> |
| 168 | </plugin> |
| 169 | <!-- |
| 170 | | Make sure we only use Java5 methods |
| 171 | --> |
| 172 | <plugin> |
| 173 | <artifactId>maven-compiler-plugin</artifactId> |
| 174 | <version>2.3.2</version> |
| 175 | </plugin> |
| 176 | <plugin> |
| 177 | <groupId>org.codehaus.mojo</groupId> |
| 178 | <artifactId>animal-sniffer-maven-plugin</artifactId> |
| 179 | <version>1.7</version> |
| 180 | <configuration> |
| 181 | <signature> |
| 182 | <groupId>org.codehaus.mojo.signature</groupId> |
| 183 | <artifactId>java15</artifactId> |
| 184 | <version>1.0</version> |
| 185 | </signature> |
| 186 | </configuration> |
| 187 | <executions> |
| 188 | <execution> |
| 189 | <id>check-java-1.5-compat</id> |
| 190 | <phase>process-classes</phase> |
| 191 | <goals> |
| 192 | <goal>check</goal> |
| 193 | </goals> |
| 194 | </execution> |
| 195 | </executions> |
| 196 | </plugin> |
| 197 | <plugin> |
| 198 | <artifactId>maven-surefire-plugin</artifactId> |
| 199 | <version>2.9</version> |
| 200 | <configuration> |
| 201 | <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| 202 | </configuration> |
| 203 | </plugin> |
| 204 | <!-- |
| 205 | | Shared OSGi manifest configuration |
| 206 | --> |
| 207 | <plugin> |
| 208 | <groupId>org.apache.felix</groupId> |
| 209 | <artifactId>maven-bundle-plugin</artifactId> |
| 210 | <version>2.3.5</version> |
| 211 | <configuration> |
| 212 | <instructions> |
| 213 | <Bundle-Name>${project.artifactId}</Bundle-Name> |
| 214 | <Bundle-SymbolicName>$(maven-symbolicname);singleton:=true</Bundle-SymbolicName> |
| 215 | <Bundle-Copyright>Copyright (C) 2006 Google Inc.</Bundle-Copyright> |
| 216 | <Bundle-DocURL>http://code.google.com/p/google-guice/</Bundle-DocURL> |
| 217 | <Bundle-Vendor>Sonatype, Inc.</Bundle-Vendor> |
| 218 | <Bundle-RequiredExecutionEnvironment> |
| 219 | J2SE-1.5,JavaSE-1.6 |
| 220 | </Bundle-RequiredExecutionEnvironment> |
| 221 | <_exportcontents>!*.internal.*,*;version=${guice.api.version}</_exportcontents> |
| 222 | <Import-Package>!com.google.*,*</Import-Package> |
| 223 | <_nouses>true</_nouses> |
| 224 | <_removeheaders> |
| 225 | Embed-Dependency,Embed-Transitive, |
| 226 | Built-By,Tool,Created-By,Build-Jdk, |
| 227 | Originally-Created-By,Archiver-Version, |
| 228 | Include-Resource,Private-Package, |
| 229 | Ignore-Package,Bnd-LastModified |
| 230 | </_removeheaders> |
| 231 | </instructions> |
| 232 | <archive> |
| 233 | <forced>true</forced><!-- dummy entry to stop bundleplugin from picking up jar config --> |
| 234 | </archive> |
| 235 | </configuration> |
| 236 | <executions> |
| 237 | <execution> |
| 238 | <phase>prepare-package</phase> |
| 239 | <goals> |
| 240 | <goal>manifest</goal> |
| 241 | </goals> |
| 242 | </execution> |
| 243 | </executions> |
| 244 | </plugin> |
| 245 | <!-- |
| 246 | | Package OSGi manifest in final JAR, also create a JAR of the test classes |
| 247 | --> |
| 248 | <plugin> |
| 249 | <artifactId>maven-jar-plugin</artifactId> |
| 250 | <version>2.3.2</version> |
| 251 | <configuration> |
| 252 | <archive> |
| 253 | <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| 254 | <addMavenDescriptor>false</addMavenDescriptor><!-- Exclude to mirror ant build --> |
| 255 | </archive> |
| 256 | </configuration> |
| 257 | <executions> |
| 258 | <execution> |
| 259 | <phase>package</phase> |
| 260 | <goals> |
| 261 | <goal>test-jar</goal> |
| 262 | </goals> |
| 263 | </execution> |
| 264 | </executions> |
| 265 | </plugin> |
| 266 | <plugin> |
| 267 | <artifactId>maven-javadoc-plugin</artifactId> |
| 268 | <version>2.8</version> |
| 269 | <configuration> |
| 270 | <doclet>com.google.doclava.Doclava</doclet> |
| 271 | <docletPath> |
| 272 | ${project.basedir}/../lib/doclava.jar: |
| 273 | ${project.basedir}/../../lib/doclava.jar |
| 274 | </docletPath> |
| 275 | <!-- |
| 276 | | bootclasspath required by Sun's JVM |
| 277 | --> |
| 278 | <bootclasspath>${sun.boot.class.path}</bootclasspath> |
| 279 | <excludePackageNames>*.internal</excludePackageNames> |
| 280 | <additionalparam> |
| 281 | -quiet |
| 282 | -federate JDK http://download.oracle.com/javase/6/docs/api/index.html? |
| 283 | -federationxml JDK http://doclava.googlecode.com/svn/static/api/openjdk-6.xml |
| 284 | -hdf project.name "${project.name} (patched build of Google Guice)" |
| 285 | -d ${project.build.directory}/apidocs |
| 286 | </additionalparam> |
| 287 | <useStandardDocletOptions>false</useStandardDocletOptions> |
| 288 | <!-- |
| 289 | | Apple's JVM sometimes requires more memory |
| 290 | --> |
| 291 | <additionalJOption>-J-Xmx1024m</additionalJOption> |
| 292 | </configuration> |
| 293 | </plugin> |
| 294 | <plugin> |
| 295 | <artifactId>maven-site-plugin</artifactId> |
| 296 | <version>3.0</version> |
| 297 | </plugin> |
| 298 | <plugin> |
| 299 | <artifactId>maven-source-plugin</artifactId> |
| 300 | <version>2.1.2</version> |
| 301 | </plugin> |
| 302 | <plugin> |
| 303 | <artifactId>maven-gpg-plugin</artifactId> |
| 304 | <version>1.4</version> |
| 305 | </plugin> |
| 306 | <plugin> |
| 307 | <artifactId>maven-release-plugin</artifactId> |
| 308 | <version>2.2.1</version> |
| 309 | <configuration> |
| 310 | <autoVersionSubmodules>true</autoVersionSubmodules> |
| 311 | </configuration> |
| 312 | </plugin> |
| 313 | <plugin> |
| 314 | <artifactId>maven-deploy-plugin</artifactId> |
| 315 | <version>2.7</version> |
| 316 | </plugin> |
| 317 | </plugins> |
| 318 | </pluginManagement> |
| 319 | </build> |
| 320 | |
| 321 | </project> |