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