mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
sberlin | b085238 | 2010-08-01 19:55:08 +0000 | [diff] [blame] | 2 | |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 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>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> |
Christian Edward Gruber | a0e7344 | 2013-07-31 18:53:09 -0700 | [diff] [blame] | 30 | <version>4.0-SNAPSHOT</version> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 31 | |
| 32 | <name>Google Guice</name> |
| 33 | |
| 34 | <description> |
Sam Berlin | 0558b32 | 2014-07-10 16:33:32 -0400 | [diff] [blame] | 35 | Guice is a lightweight dependency injection framework for Java 6 and above |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 36 | </description> |
| 37 | |
Sam Berlin | 0558b32 | 2014-07-10 16:33:32 -0400 | [diff] [blame] | 38 | <url>https://github.com/google/guice</url> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 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> |
Sam Berlin | 0558b32 | 2014-07-10 16:33:32 -0400 | [diff] [blame] | 64 | <connection>scm:git:git://github.com/google/guice.git</connection> |
| 65 | <developerConnection>scm:git:ssh://git@github.com/google/guice.git</developerConnection> |
| 66 | <url>https://github.com/google/guice</url> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 67 | </scm> |
| 68 | |
| 69 | <issueManagement> |
| 70 | <system>Google Code</system> |
Sam Berlin | 0558b32 | 2014-07-10 16:33:32 -0400 | [diff] [blame] | 71 | <url>https://github.com/google/guice/issues/</url> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 72 | </issueManagement> |
| 73 | |
mcculls | 0009005 | 2010-10-22 00:12:40 +0000 | [diff] [blame] | 74 | <ciManagement> |
Sam Berlin | 0558b32 | 2014-07-10 16:33:32 -0400 | [diff] [blame] | 75 | <system>Travis</system> |
| 76 | <url>https://travis-ci.org/google/guice</url> |
mcculls | 0009005 | 2010-10-22 00:12:40 +0000 | [diff] [blame] | 77 | </ciManagement> |
| 78 | |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 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 | |
Sam Berlin | c15e74a | 2014-08-08 14:17:15 -0400 | [diff] [blame] | 87 | <distributionManagement> |
| 88 | <!-- override the parent's directory to point to the canonical place, and use https. --> |
Colin Decker | a7e52fc | 2014-09-24 16:26:07 -0400 | [diff] [blame] | 89 | <repository> |
| 90 | <id>google-releases</id> |
| 91 | <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 92 | </repository> |
Sam Berlin | c15e74a | 2014-08-08 14:17:15 -0400 | [diff] [blame] | 93 | <snapshotRepository> |
| 94 | <id>google-snapshots</id> |
| 95 | <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 96 | </snapshotRepository> |
| 97 | </distributionManagement> |
| 98 | |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 99 | <modules> |
Thomas Broyer | 3b76b6f | 2014-11-04 13:26:11 +0100 | [diff] [blame] | 100 | <module>bom</module> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 101 | <module>core</module> |
| 102 | <module>extensions</module> |
cgdecker | ded13a7 | 2014-10-20 10:32:51 -0700 | [diff] [blame] | 103 | <!-- jdk8-tests module activated only when running under JDK8, below --> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 104 | </modules> |
| 105 | |
mcculls | 4d4e160 | 2010-11-24 21:16:07 +0000 | [diff] [blame] | 106 | <prerequisites> |
| 107 | <maven>3.0</maven> |
| 108 | </prerequisites> |
| 109 | |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 110 | <properties> |
mcculls | aacb484 | 2010-11-04 22:51:25 +0000 | [diff] [blame] | 111 | <!-- |
| 112 | | The spec version of the public Guice API |
| 113 | --> |
Christian Edward Gruber | 359c5c3 | 2013-07-31 15:56:55 -0700 | [diff] [blame] | 114 | <guice.api.version>1.4</guice.api.version> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 115 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
mcculls | aacb484 | 2010-11-04 22:51:25 +0000 | [diff] [blame] | 116 | <!-- |
| 117 | | Use "-Dguice.with.jarjar=false" to build without jarjar |
| 118 | --> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 119 | <guice.with.jarjar>true</guice.with.jarjar> |
mcculls | aacb484 | 2010-11-04 22:51:25 +0000 | [diff] [blame] | 120 | <!-- |
mcculls | 692ca95 | 2010-12-10 15:05:01 +0000 | [diff] [blame] | 121 | | Use "-Dguice.with.no_aop=false" to skip the no-AOP variant |
mcculls | aacb484 | 2010-11-04 22:51:25 +0000 | [diff] [blame] | 122 | --> |
mcculls | 692ca95 | 2010-12-10 15:05:01 +0000 | [diff] [blame] | 123 | <guice.with.no_aop>true</guice.with.no_aop> |
Christian Edward Gruber | 359c5c3 | 2013-07-31 15:56:55 -0700 | [diff] [blame] | 124 | <gpg.skip>true</gpg.skip> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 125 | </properties> |
| 126 | |
Stuart McCulloch | 2fb23e3 | 2014-08-17 14:44:01 +0100 | [diff] [blame] | 127 | <dependencyManagement> |
| 128 | <dependencies> |
| 129 | <dependency> |
| 130 | <groupId>javax.inject</groupId> |
| 131 | <artifactId>javax.inject</artifactId> |
| 132 | <version>1</version> |
| 133 | </dependency> |
| 134 | <dependency> |
| 135 | <groupId>javax.inject</groupId> |
| 136 | <artifactId>javax.inject-tck</artifactId> |
| 137 | <version>1</version> |
| 138 | </dependency> |
| 139 | <dependency> |
| 140 | <groupId>aopalliance</groupId> |
| 141 | <artifactId>aopalliance</artifactId> |
| 142 | <version>1.0</version> |
| 143 | </dependency> |
| 144 | <dependency> |
| 145 | <groupId>com.google.guava</groupId> |
| 146 | <artifactId>guava</artifactId> |
| 147 | <version>16.0.1</version> |
| 148 | </dependency> |
| 149 | <dependency> |
| 150 | <groupId>com.google.guava</groupId> |
| 151 | <artifactId>guava-testlib</artifactId> |
| 152 | <version>16.0.1</version> |
| 153 | </dependency> |
| 154 | <dependency> |
| 155 | <groupId>org.ow2.asm</groupId> |
| 156 | <artifactId>asm</artifactId> |
| 157 | <version>5.0.3</version> |
| 158 | </dependency> |
| 159 | <dependency> |
| 160 | <groupId>cglib</groupId> |
| 161 | <artifactId>cglib</artifactId> |
| 162 | <version>3.1</version> |
| 163 | </dependency> |
| 164 | </dependencies> |
| 165 | </dependencyManagement> |
| 166 | |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 167 | <dependencies> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 168 | <dependency> |
Christian Edward Gruber | 3236b10 | 2014-02-13 10:37:24 -0800 | [diff] [blame] | 169 | <groupId>junit</groupId> |
| 170 | <artifactId>junit</artifactId> |
| 171 | <version>4.11</version> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 172 | <scope>test</scope> |
sberlin | b085238 | 2010-08-01 19:55:08 +0000 | [diff] [blame] | 173 | </dependency> |
crazyboblee | ac266a2 | 2007-02-26 00:07:01 +0000 | [diff] [blame] | 174 | </dependencies> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 175 | |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 176 | <build> |
mcculls | aacb484 | 2010-11-04 22:51:25 +0000 | [diff] [blame] | 177 | <!-- |
| 178 | | Ant-style directories |
| 179 | --> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 180 | <sourceDirectory>${project.basedir}/src</sourceDirectory> |
| 181 | <resources> |
| 182 | <resource> |
| 183 | <filtering>false</filtering> |
| 184 | <directory>${project.basedir}/src</directory> |
| 185 | <excludes> |
| 186 | <exclude>**/*.java</exclude> |
| 187 | </excludes> |
| 188 | </resource> |
| 189 | </resources> |
| 190 | <testSourceDirectory>${project.basedir}/test</testSourceDirectory> |
| 191 | <testResources> |
| 192 | <testResource> |
| 193 | <filtering>false</filtering> |
| 194 | <directory>${project.basedir}/test</directory> |
| 195 | <excludes> |
| 196 | <exclude>**/*.java</exclude> |
| 197 | </excludes> |
| 198 | </testResource> |
| 199 | </testResources> |
| 200 | <pluginManagement> |
| 201 | <plugins> |
mcculls | 33018c3 | 2011-01-04 15:16:27 +0000 | [diff] [blame] | 202 | <!-- |
Stuart McCulloch | 4ad6256 | 2014-09-07 18:19:25 +0100 | [diff] [blame] | 203 | | Use 'mvn license:format -N' at top of project to add missing headers |
| 204 | --> |
| 205 | <plugin> |
| 206 | <groupId>com.mycila</groupId> |
| 207 | <artifactId>license-maven-plugin</artifactId> |
| 208 | <version>2.6</version> |
| 209 | <configuration> |
| 210 | <encoding>UTF-8</encoding> |
| 211 | <header>${project.basedir}/lib/build/header.txt</header> |
| 212 | <headerDefinitions> |
| 213 | <headerDefinition>${project.basedir}/lib/build/header-definitions.xml</headerDefinition> |
| 214 | </headerDefinitions> |
| 215 | <skipExistingHeaders>true</skipExistingHeaders> |
| 216 | <aggregate>true</aggregate> |
| 217 | <includes> |
| 218 | <include>**/*.java</include> |
| 219 | </includes> |
| 220 | <excludes> |
| 221 | <!-- avoid touching munged/lib/test/example code --> |
| 222 | <exclude>**/build/**</exclude> |
| 223 | <exclude>**/target/**</exclude> |
| 224 | <exclude>**/lib/**</exclude> |
| 225 | <exclude>**/test/**</exclude> |
| 226 | <exclude>**/example*/**</exclude> |
| 227 | </excludes> |
| 228 | <mapping> |
| 229 | <java>JAVADOC_STYLE</java> |
| 230 | </mapping> |
| 231 | </configuration> |
| 232 | </plugin> |
| 233 | <!-- |
mcculls | 33018c3 | 2011-01-04 15:16:27 +0000 | [diff] [blame] | 234 | | Standard LICENSE and NOTICE files |
| 235 | --> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 236 | <plugin> |
mcculls | 33018c3 | 2011-01-04 15:16:27 +0000 | [diff] [blame] | 237 | <artifactId>maven-remote-resources-plugin</artifactId> |
| 238 | <version>1.1</version> |
| 239 | <executions> |
| 240 | <execution> |
| 241 | <goals> |
| 242 | <goal>process</goal> |
| 243 | </goals> |
| 244 | <configuration> |
| 245 | <resourceBundles> |
| 246 | <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle> |
| 247 | </resourceBundles> |
| 248 | </configuration> |
| 249 | </execution> |
| 250 | </executions> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 251 | </plugin> |
mcculls | aacb484 | 2010-11-04 22:51:25 +0000 | [diff] [blame] | 252 | <!-- |
Stuart McCulloch | 2fb23e3 | 2014-08-17 14:44:01 +0100 | [diff] [blame] | 253 | | Make sure we only use Java6 methods |
mcculls | aacb484 | 2010-11-04 22:51:25 +0000 | [diff] [blame] | 254 | --> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 255 | <plugin> |
mcculls | 33018c3 | 2011-01-04 15:16:27 +0000 | [diff] [blame] | 256 | <artifactId>maven-compiler-plugin</artifactId> |
| 257 | <version>2.3.2</version> |
Christian Edward Gruber | 3236b10 | 2014-02-13 10:37:24 -0800 | [diff] [blame] | 258 | <configuration> |
| 259 | <source>1.6</source> |
| 260 | <target>1.6</target> |
| 261 | </configuration> |
mcculls | 33018c3 | 2011-01-04 15:16:27 +0000 | [diff] [blame] | 262 | </plugin> |
| 263 | <plugin> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 264 | <groupId>org.codehaus.mojo</groupId> |
| 265 | <artifactId>animal-sniffer-maven-plugin</artifactId> |
Christian Edward Gruber | 3236b10 | 2014-02-13 10:37:24 -0800 | [diff] [blame] | 266 | <version>1.10</version> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 267 | <configuration> |
| 268 | <signature> |
| 269 | <groupId>org.codehaus.mojo.signature</groupId> |
Christian Edward Gruber | 3236b10 | 2014-02-13 10:37:24 -0800 | [diff] [blame] | 270 | <artifactId>java16</artifactId> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 271 | <version>1.0</version> |
| 272 | </signature> |
| 273 | </configuration> |
| 274 | <executions> |
| 275 | <execution> |
Christian Edward Gruber | 3236b10 | 2014-02-13 10:37:24 -0800 | [diff] [blame] | 276 | <id>check-java-1.6-compat</id> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 277 | <phase>process-classes</phase> |
| 278 | <goals> |
| 279 | <goal>check</goal> |
| 280 | </goals> |
| 281 | </execution> |
| 282 | </executions> |
| 283 | </plugin> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 284 | <plugin> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 285 | <artifactId>maven-surefire-plugin</artifactId> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 286 | <version>2.5</version> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 287 | <configuration> |
| 288 | <redirectTestOutputToFile>true</redirectTestOutputToFile> |
Christian Edward Gruber | ba5acdf | 2013-10-05 14:05:39 -0700 | [diff] [blame] | 289 | <!--<argLine>-Dguice_include_stack_traces=OFF</argLine>--> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 290 | </configuration> |
Christian Edward Gruber | e1197a9 | 2013-11-12 23:06:31 -0800 | [diff] [blame] | 291 | <executions> |
| 292 | <execution> |
| 293 | <id>stack-traces-off</id> |
| 294 | <phase>test</phase> |
| 295 | <goals><goal>test</goal></goals> |
| 296 | <configuration> |
| 297 | <argLine>-Dguice_include_stack_traces=OFF</argLine> |
| 298 | </configuration> |
| 299 | </execution> |
| 300 | <execution> |
| 301 | <id>stack-traces-complete</id> |
| 302 | <phase>test</phase> |
| 303 | <goals><goal>test</goal></goals> |
| 304 | <configuration> |
| 305 | <argLine>-Dguice_include_stack_traces=COMPLETE</argLine> |
| 306 | </configuration> |
| 307 | </execution> |
| 308 | <execution> |
| 309 | <id>default-test</id> |
| 310 | <phase>test</phase> |
| 311 | <goals><goal>test</goal></goals> |
| 312 | <configuration> |
| 313 | <argLine>-Dguice_include_stack_traces=ONLY_FOR_DECLARING_SOURCE</argLine> |
| 314 | </configuration> |
| 315 | </execution> |
| 316 | </executions> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 317 | </plugin> |
mcculls | aacb484 | 2010-11-04 22:51:25 +0000 | [diff] [blame] | 318 | <!-- |
| 319 | | Shared OSGi manifest configuration |
| 320 | --> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 321 | <plugin> |
| 322 | <groupId>org.apache.felix</groupId> |
| 323 | <artifactId>maven-bundle-plugin</artifactId> |
| 324 | <version>2.1.0</version> |
| 325 | <configuration> |
| 326 | <instructions> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 327 | <module>com.google.inject</module> |
| 328 | <_include>-${project.basedir}/build.properties</_include> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 329 | <Bundle-Copyright>Copyright (C) 2006 Google Inc.</Bundle-Copyright> |
Sam Berlin | 0558b32 | 2014-07-10 16:33:32 -0400 | [diff] [blame] | 330 | <Bundle-DocURL>https://github.com/google/guice</Bundle-DocURL> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 331 | <Bundle-Name>${project.artifactId}</Bundle-Name> |
| 332 | <Bundle-SymbolicName>$(module)</Bundle-SymbolicName> |
Stuart McCulloch | 2fb23e3 | 2014-08-17 14:44:01 +0100 | [diff] [blame] | 333 | <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 334 | <Import-Package>!com.google.inject.*,*</Import-Package> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 335 | <_exportcontents>!*.internal.*,$(module).*;version=${guice.api.version}</_exportcontents> |
Stuart McCulloch | 2fb23e3 | 2014-08-17 14:44:01 +0100 | [diff] [blame] | 336 | <_versionpolicy>$(version;==;$(@))</_versionpolicy> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 337 | <_nouses>true</_nouses> |
| 338 | <_removeheaders> |
| 339 | Embed-Dependency,Embed-Transitive, |
| 340 | Built-By,Tool,Created-By,Build-Jdk, |
| 341 | Originally-Created-By,Archiver-Version, |
| 342 | Include-Resource,Private-Package, |
| 343 | Ignore-Package,Bnd-LastModified |
| 344 | </_removeheaders> |
| 345 | </instructions> |
| 346 | </configuration> |
| 347 | <executions> |
| 348 | <execution> |
| 349 | <phase>prepare-package</phase> |
| 350 | <goals> |
| 351 | <goal>manifest</goal> |
| 352 | </goals> |
| 353 | </execution> |
| 354 | </executions> |
| 355 | </plugin> |
mcculls | aacb484 | 2010-11-04 22:51:25 +0000 | [diff] [blame] | 356 | <!-- |
| 357 | | Package OSGi manifest in final JAR, also create a JAR of the test classes |
| 358 | --> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 359 | <plugin> |
| 360 | <artifactId>maven-jar-plugin</artifactId> |
| 361 | <version>2.3.1</version> |
| 362 | <configuration> |
| 363 | <archive> |
| 364 | <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
sberlin | d5fcf7c | 2011-01-09 16:10:11 +0000 | [diff] [blame] | 365 | <!-- Exclude to mirror ant build --> |
Sam Berlin | 45ef017 | 2012-01-13 18:22:35 -0500 | [diff] [blame] | 366 | <addMavenDescriptor>false</addMavenDescriptor> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 367 | </archive> |
| 368 | </configuration> |
| 369 | <executions> |
| 370 | <execution> |
| 371 | <phase>package</phase> |
| 372 | <goals> |
| 373 | <goal>test-jar</goal> |
| 374 | </goals> |
| 375 | </execution> |
| 376 | </executions> |
| 377 | </plugin> |
| 378 | <plugin> |
| 379 | <artifactId>maven-javadoc-plugin</artifactId> |
| 380 | <version>2.7</version> |
Christian Edward Gruber | 359c5c3 | 2013-07-31 15:56:55 -0700 | [diff] [blame] | 381 | <executions> |
| 382 | <execution> |
| 383 | <phase>package</phase> |
| 384 | <goals> |
| 385 | <goal>jar</goal> |
| 386 | </goals> |
| 387 | </execution> |
| 388 | </executions> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 389 | </plugin> |
| 390 | <plugin> |
| 391 | <artifactId>maven-source-plugin</artifactId> |
| 392 | <version>2.1.2</version> |
Christian Edward Gruber | 359c5c3 | 2013-07-31 15:56:55 -0700 | [diff] [blame] | 393 | <executions> |
| 394 | <execution> |
| 395 | <phase>package</phase> |
| 396 | <goals> |
| 397 | <goal>jar</goal> |
| 398 | <goal>test-jar</goal> |
| 399 | </goals> |
| 400 | </execution> |
| 401 | </executions> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 402 | </plugin> |
| 403 | <plugin> |
| 404 | <artifactId>maven-release-plugin</artifactId> |
| 405 | <version>2.1</version> |
| 406 | <configuration> |
| 407 | <autoVersionSubmodules>true</autoVersionSubmodules> |
| 408 | </configuration> |
| 409 | </plugin> |
mcculls | c2420fb | 2010-12-10 15:52:38 +0000 | [diff] [blame] | 410 | <plugin> |
| 411 | <artifactId>maven-deploy-plugin</artifactId> |
| 412 | <version>2.5</version> |
| 413 | </plugin> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 414 | </plugins> |
| 415 | </pluginManagement> |
Christian Edward Gruber | 359c5c3 | 2013-07-31 15:56:55 -0700 | [diff] [blame] | 416 | <plugins> |
| 417 | <!-- |
| 418 | | Sign artifacts. |
| 419 | --> |
| 420 | <plugin> |
| 421 | <artifactId>maven-gpg-plugin</artifactId> |
| 422 | <version>1.4</version> |
| 423 | <executions> |
| 424 | <execution> |
| 425 | <id>sign-artifacts</id> |
| 426 | <phase>verify</phase> |
| 427 | <goals><goal>sign</goal></goals> |
| 428 | </execution> |
| 429 | </executions> |
| 430 | </plugin> |
| 431 | </plugins> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 432 | </build> |
| 433 | |
mcculls | 8815358 | 2010-10-22 00:01:07 +0000 | [diff] [blame] | 434 | <profiles> |
| 435 | <profile> |
cgdecker | d0e92a7 | 2015-01-05 12:32:50 -0800 | [diff] [blame] | 436 | <id>jdk8</id> |
Sam Berlin | 310d3ad | 2014-07-25 09:10:16 -0400 | [diff] [blame] | 437 | <activation> |
| 438 | <jdk>[1.8,)</jdk> |
| 439 | </activation> |
cgdecker | d0e92a7 | 2015-01-05 12:32:50 -0800 | [diff] [blame] | 440 | <!-- Activate jdk8-tests module only under JDK 8 --> |
cgdecker | ded13a7 | 2014-10-20 10:32:51 -0700 | [diff] [blame] | 441 | <modules> |
cgdecker | ded13a7 | 2014-10-20 10:32:51 -0700 | [diff] [blame] | 442 | <module>jdk8-tests</module> |
| 443 | </modules> |
cgdecker | d0e92a7 | 2015-01-05 12:32:50 -0800 | [diff] [blame] | 444 | <!-- Disable doclint under JDK 8 --> |
| 445 | <reporting> |
Sam Berlin | 310d3ad | 2014-07-25 09:10:16 -0400 | [diff] [blame] | 446 | <plugins> |
| 447 | <plugin> |
| 448 | <groupId>org.apache.maven.plugins</groupId> |
| 449 | <artifactId>maven-javadoc-plugin</artifactId> |
| 450 | <configuration> |
| 451 | <additionalparam>-Xdoclint:none</additionalparam> |
| 452 | </configuration> |
| 453 | </plugin> |
cgdecker | d0e92a7 | 2015-01-05 12:32:50 -0800 | [diff] [blame] | 454 | </plugins> |
| 455 | </reporting> |
| 456 | <build> |
| 457 | <plugins> |
Sam Berlin | 310d3ad | 2014-07-25 09:10:16 -0400 | [diff] [blame] | 458 | <plugin> |
| 459 | <groupId>org.apache.maven.plugins</groupId> |
cgdecker | d0e92a7 | 2015-01-05 12:32:50 -0800 | [diff] [blame] | 460 | <artifactId>maven-javadoc-plugin</artifactId> |
Sam Berlin | 310d3ad | 2014-07-25 09:10:16 -0400 | [diff] [blame] | 461 | <configuration> |
cgdecker | d0e92a7 | 2015-01-05 12:32:50 -0800 | [diff] [blame] | 462 | <additionalparam>-Xdoclint:none</additionalparam> |
Sam Berlin | 310d3ad | 2014-07-25 09:10:16 -0400 | [diff] [blame] | 463 | </configuration> |
| 464 | </plugin> |
| 465 | </plugins> |
| 466 | </build> |
| 467 | </profile> |
mcculls | 8815358 | 2010-10-22 00:01:07 +0000 | [diff] [blame] | 468 | </profiles> |
| 469 | |
crazyboblee | ac266a2 | 2007-02-26 00:07:01 +0000 | [diff] [blame] | 470 | </project> |