1 <?xml version="1.0" encoding="UTF-8"?> 2 3 <!-- 4 Licensed to the Apache Software Foundation (ASF) under one 5 or more contributor license agreements. See the NOTICE file 6 distributed with this work for additional information 7 regarding copyright ownership. The ASF licenses this file 8 to you under the Apache License, Version 2.0 (the 9 "License"); you may not use this file except in compliance 10 with the License. You may obtain a copy of the License at 11 12 http://www.apache.org/licenses/LICENSE-2.0 13 14 Unless required by applicable law or agreed to in writing, 15 software distributed under the License is distributed on an 16 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 KIND, either express or implied. See the License for the 18 specific language governing permissions and limitations 19 under the License. 20 --> 21 22 <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/xsd/maven-4.0.0.xsd"> 23 <modelVersion>4.0.0</modelVersion> 24 25 <!-- Shared parent. Doesn't define a lot of things about Apache like general mailing lists, but does 26 define the settings common to all projects at Apache 27 28 As of Version 6, this includes a standard release profile that all projects can use. If the profile is not appropriate for your project, define your own release profile and change the release plugin configuration parameter <arguments> </arguments> to activate your profile instead of the apache-release profile. 29 30 Standard versions of plugins are also defined, these may be overridden by individual projects as well. 31 --> 32 <groupId>org.apache</groupId> 33 <artifactId>apache</artifactId> 34 <version>6</version> 35 <packaging>pom</packaging> 36 <name>The Apache Software Foundation</name> 37 <description> 38 The Apache Software Foundation provides support for the Apache community of open-source software projects. 39 The Apache projects are characterized by a collaborative, consensus based development process, an open and 40 pragmatic software license, and a desire to create high quality software that leads the way in its field. 41 We consider ourselves not simply a group of projects sharing a server, but rather a community of developers 42 and users. 43 </description> 44 <licenses> 45 <license> 46 <name>The Apache Software License, Version 2.0</name> 47 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> 48 <distribution>repo</distribution> 49 </license> 50 </licenses> 51 <organization> 52 <name>The Apache Software Foundation</name> 53 <url>http://www.apache.org/</url> 54 </organization> 55 <url>http://www.apache.org/</url> 56 <repositories> 57 <repository> 58 <id>apache.snapshots</id> 59 <name>Apache Snapshot Repository</name> 60 <url>http://repository.apache.org/snapshots</url> 61 <releases> 62 <enabled>false</enabled> 63 </releases> 64 </repository> 65 </repositories> 66 67 <distributionManagement> 68 <!-- Site omitted - each project must provide their own --> 69 <repository> 70 <id>apache.releases.https</id> 71 <name>Apache Release Distribution Repository</name> 72 <url>https://repository.apache.org/service/local/staging/deploy/maven2</url> 73 </repository> 74 <snapshotRepository> 75 <id>apache.snapshots.https</id> 76 <name>${distMgmtSnapshotsName}</name> 77 <url>${distMgmtSnapshotsUrl}</url> 78 </snapshotRepository> 79 </distributionManagement> 80 <mailingLists> 81 <mailingList> 82 <name>Apache Announce List</name> 83 <subscribe>announce-subscribe (a] apache.org</subscribe> 84 <unsubscribe>announce-unsubscribe (a] apache.org</unsubscribe> 85 <post>announce (a] apache.org</post> 86 <archive>http://mail-archives.apache.org/mod_mbox/www-announce/</archive> 87 </mailingList> 88 </mailingLists> 89 <properties> 90 <distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName> 91 <distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl> 92 <organization.logo>http://www.apache.org/images/asf_logo_wide.gif</organization.logo> 93 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 94 </properties> 95 <scm> 96 <connection>scm:svn:http://svn.apache.org/repos/asf/maven/pom/tags/apache-6</connection> 97 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/pom/tags/apache-6</developerConnection> 98 <url>http://svn.apache.org/viewvc/maven/pom/tags/apache-6</url> 99 </scm> 100 101 <build> 102 <pluginManagement> 103 <plugins> 104 <!-- set versions of common plugins for reproducibility, ordered alphabetically --> 105 <plugin> 106 <groupId>org.apache.maven.plugins</groupId> 107 <artifactId>maven-antrun-plugin</artifactId> 108 <version>1.3</version> 109 </plugin> 110 <plugin> 111 <groupId>org.apache.maven.plugins</groupId> 112 <artifactId>maven-clean-plugin</artifactId> 113 <version>2.3</version> 114 </plugin> 115 <plugin> 116 <groupId>org.apache.maven.plugins</groupId> 117 <artifactId>maven-compiler-plugin</artifactId> 118 <version>2.0.2</version> 119 <configuration> 120 <source>1.4</source> 121 <target>1.4</target> 122 <encoding>${project.build.sourceEncoding}</encoding> 123 </configuration> 124 </plugin> 125 <plugin> 126 <groupId>org.apache.maven.plugins</groupId> 127 <artifactId>maven-deploy-plugin</artifactId> 128 <version>2.4</version> 129 </plugin> 130 <plugin> 131 <groupId>org.apache.maven.plugins</groupId> 132 <artifactId>maven-docck-plugin</artifactId> 133 <version>1.0</version> 134 </plugin> 135 <plugin> 136 <groupId>org.apache.maven.plugins</groupId> 137 <artifactId>maven-enforcer-plugin</artifactId> 138 <version>1.0-beta-1</version> 139 </plugin> 140 <plugin> 141 <groupId>org.apache.maven.plugins</groupId> 142 <artifactId>maven-gpg-plugin</artifactId> 143 <version>1.0-alpha-4</version> 144 </plugin> 145 <plugin> 146 <groupId>org.apache.maven.plugins</groupId> 147 <artifactId>maven-install-plugin</artifactId> 148 <version>2.2</version> 149 </plugin> 150 <plugin> 151 <groupId>org.apache.maven.plugins</groupId> 152 <artifactId>maven-invoker-plugin</artifactId> 153 <version>1.3</version> 154 </plugin> 155 <plugin> 156 <groupId>org.apache.maven.plugins</groupId> 157 <artifactId>maven-jar-plugin</artifactId> 158 <version>2.2</version> 159 <configuration> 160 <archive> 161 <manifest> 162 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> 163 <addDefaultImplementationEntries>true</addDefaultImplementationEntries> 164 </manifest> 165 </archive> 166 </configuration> 167 </plugin> 168 <plugin> 169 <groupId>org.apache.maven.plugins</groupId> 170 <artifactId>maven-javadoc-plugin</artifactId> 171 <version>2.5</version> 172 </plugin> 173 <plugin> 174 <groupId>org.apache.maven.plugins</groupId> 175 <artifactId>maven-plugin-plugin</artifactId> 176 <version>2.5</version> 177 </plugin> 178 <!-- START SNIPPET: release-plugin-configuration --> 179 <plugin> 180 <groupId>org.apache.maven.plugins</groupId> 181 <artifactId>maven-release-plugin</artifactId> 182 <version>2.0-beta-9</version> 183 <configuration> 184 <useReleaseProfile>false</useReleaseProfile> 185 <goals>deploy</goals> 186 <arguments>-Papache-release</arguments> 187 </configuration> 188 </plugin> 189 <!-- END SNIPPET: release-plugin-configuration --> 190 <plugin> 191 <groupId>org.apache.maven.plugins</groupId> 192 <artifactId>maven-remote-resources-plugin</artifactId> 193 <version>1.0</version> 194 </plugin> 195 <plugin> 196 <groupId>org.apache.maven.plugins</groupId> 197 <artifactId>maven-resources-plugin</artifactId> 198 <version>2.3</version> 199 <configuration> 200 <encoding>${project.build.sourceEncoding}</encoding> 201 </configuration> 202 </plugin> 203 <plugin> 204 <groupId>org.apache.maven.plugins</groupId> 205 <artifactId>maven-scm-plugin</artifactId> 206 <version>1.2</version> 207 </plugin> 208 <plugin> 209 <groupId>org.apache.maven.plugins</groupId> 210 <artifactId>maven-site-plugin</artifactId> 211 <version>2.0</version> 212 </plugin> 213 <plugin> 214 <groupId>org.apache.maven.plugins</groupId> 215 <artifactId>maven-source-plugin</artifactId> 216 <version>2.0.4</version> 217 </plugin> 218 <plugin> 219 <groupId>org.apache.maven.plugins</groupId> 220 <artifactId>maven-surefire-plugin</artifactId> 221 <version>2.4.3</version> 222 </plugin> 223 <plugin> 224 <groupId>org.codehaus.mojo</groupId> 225 <artifactId>clirr-maven-plugin</artifactId> 226 <version>2.2.2</version> 227 </plugin> 228 <plugin> 229 <groupId>org.codehaus.plexus</groupId> 230 <artifactId>plexus-maven-plugin</artifactId> 231 <version>1.3.8</version> 232 </plugin> 233 <plugin> 234 <groupId>org.codehaus.modello</groupId> 235 <artifactId>modello-maven-plugin</artifactId> 236 <version>1.0.1</version> 237 </plugin> 238 </plugins> 239 </pluginManagement> 240 <plugins> 241 <!-- We want to package up license resources in the JARs produced --> 242 <plugin> 243 <groupId>org.apache.maven.plugins</groupId> 244 <artifactId>maven-remote-resources-plugin</artifactId> 245 <executions> 246 <execution> 247 <goals> 248 <goal>process</goal> 249 </goals> 250 <configuration> 251 <resourceBundles> 252 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle> 253 </resourceBundles> 254 </configuration> 255 </execution> 256 </executions> 257 </plugin> 258 </plugins> 259 </build> 260 261 <reporting> 262 <plugins> 263 <plugin> 264 <artifactId>maven-project-info-reports-plugin</artifactId> 265 <version>2.1.1</version> 266 </plugin> 267 </plugins> 268 </reporting> 269 270 <profiles> 271 <!-- START SNIPPET: release-profile --> 272 <profile> 273 <id>apache-release</id> 274 <build> 275 <plugins> 276 <!-- We want to sign the artifact, the POM, and all attached artifacts --> 277 <plugin> 278 <groupId>org.apache.maven.plugins</groupId> 279 <artifactId>maven-gpg-plugin</artifactId> 280 <configuration> 281 <passphrase>${gpg.passphrase}</passphrase> 282 </configuration> 283 <executions> 284 <execution> 285 <goals> 286 <goal>sign</goal> 287 </goals> 288 </execution> 289 </executions> 290 </plugin> 291 <!-- We want to deploy the artifact to a staging location for perusal --> 292 <plugin> 293 <inherited>true</inherited> 294 <groupId>org.apache.maven.plugins</groupId> 295 <artifactId>maven-deploy-plugin</artifactId> 296 <configuration> 297 <updateReleaseInfo>true</updateReleaseInfo> 298 </configuration> 299 </plugin> 300 <plugin> 301 <groupId>org.apache.maven.plugins</groupId> 302 <artifactId>maven-source-plugin</artifactId> 303 <executions> 304 <execution> 305 <id>attach-sources</id> 306 <goals> 307 <goal>jar</goal> 308 </goals> 309 </execution> 310 </executions> 311 </plugin> 312 <plugin> 313 <groupId>org.apache.maven.plugins</groupId> 314 <artifactId>maven-javadoc-plugin</artifactId> 315 <configuration> 316 <encoding>${project.build.sourceEncoding}</encoding> 317 </configuration> 318 <executions> 319 <execution> 320 <id>attach-javadocs</id> 321 <goals> 322 <goal>jar</goal> 323 </goals> 324 </execution> 325 </executions> 326 </plugin> 327 </plugins> 328 </build> 329 </profile> 330 <!-- END SNIPPET: release-profile --> 331 </profiles> 332 </project> 333 334