1<?xml version="1.0"?> 2<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"> 3 <modelVersion>4.0.0</modelVersion> 4 <groupId>com.googlecode.libphonenumber</groupId> 5 <artifactId>libphonenumber-parent</artifactId> 6 <version>8.10.6</version> 7 <packaging>pom</packaging> 8 <url>https://github.com/googlei18n/libphonenumber/</url> 9 10 <parent> 11 <groupId>org.sonatype.oss</groupId> 12 <artifactId>oss-parent</artifactId> 13 <version>7</version> 14 </parent> 15 16 <description> 17 Google's common Java library for parsing, formatting, storing and validating international phone numbers. 18 Optimized for running on smartphones. 19 </description> 20 21 <organization> 22 <name>Google</name> 23 <url>http://www.google.com/</url> 24 </organization> 25 26 <licenses> 27 <license> 28 <name>The Apache Software License, Version 2.0</name> 29 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> 30 </license> 31 </licenses> 32 33 <scm> 34 <connection>scm:git:https://github.com/googlei18n/libphonenumber.git</connection> 35 <developerConnection>scm:git:git@github.com:googlei18n/libphonenumber.git</developerConnection> 36 <url>https://github.com/googlei18n/libphonenumber/</url> 37 <tag>v8.10.6</tag> 38 </scm> 39 40 <properties> 41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 42 </properties> 43 44 <developers> 45 <developer> 46 <id>jia.shao.peng</id> 47 <name>Shaopeng Jia</name> 48 <email>jia.shao.peng@gmail.com</email> 49 <organization>Google</organization> 50 <roles> 51 <role>owner</role> 52 <role>developer</role> 53 </roles> 54 </developer> 55 <developer> 56 <id>lararennie</id> 57 <name>Lara Rennie</name> 58 <email>lararennie@google.com</email> 59 <organization>Google</organization> 60 <roles> 61 <role>developer</role> 62 </roles> 63 </developer> 64 </developers> 65 66 <contributors> 67 <contributor> 68 <name>tronikos</name> 69 <email>tronikos@gmail.com</email> 70 </contributor> 71 <contributor> 72 <name>g1smd.email</name> 73 <email>g1smd.email@gmail.com</email> 74 </contributor> 75 <contributor> 76 <name>Philippe Liard</name> 77 <email>philip.liard@gmail.com</email> 78 </contributor> 79 </contributors> 80 81 <modules> 82 <module>libphonenumber</module> 83 <module>internal/prefixmapper</module> 84 <module>carrier</module> 85 <module>geocoder</module> 86 <module>demo</module> 87 </modules> 88 89 <build> 90 <pluginManagement> 91 <plugins> 92 <plugin> 93 <groupId>org.apache.felix</groupId> 94 <artifactId>maven-bundle-plugin</artifactId> 95 <version>3.2.0</version> 96 <executions> 97 <execution> 98 <id>bundle-manifest</id> 99 <phase>process-classes</phase> 100 <goals> 101 <goal>manifest</goal> 102 </goals> 103 </execution> 104 </executions> 105 </plugin> 106 </plugins> 107 </pluginManagement> 108 <plugins> 109 <plugin> 110 <groupId>org.apache.maven.plugins</groupId> 111 <artifactId>maven-surefire-plugin</artifactId> 112 <version>2.12</version> 113 <configuration> 114 <forkCount>0</forkCount> 115 <includes> 116 <include>**/*Test.java</include> 117 </includes> 118 </configuration> 119 </plugin> 120 <plugin> 121 <groupId>org.apache.maven.plugins</groupId> 122 <artifactId>maven-source-plugin</artifactId> 123 <version>2.1.2</version> 124 <executions> 125 <execution> 126 <id>attach-sources</id> 127 <goals> 128 <goal>jar</goal> 129 </goals> 130 </execution> 131 </executions> 132 </plugin> 133 <plugin> 134 <groupId>org.apache.maven.plugins</groupId> 135 <artifactId>maven-javadoc-plugin</artifactId> 136 <version>2.7</version> 137 <executions> 138 <execution> 139 <id>attach-javadocs</id> 140 <goals> 141 <goal>jar</goal> 142 </goals> 143 </execution> 144 </executions> 145 </plugin> 146 <plugin> 147 <groupId>org.apache.maven.plugins</groupId> 148 <artifactId>maven-release-plugin</artifactId> 149 <version>2.5.2</version> 150 <configuration> 151 <tagNameFormat>v@{project.version}</tagNameFormat> 152 </configuration> 153 </plugin> 154 <plugin> 155 <groupId>org.apache.maven.plugins</groupId> 156 <artifactId>maven-compiler-plugin</artifactId> 157 <version>2.3.2</version> 158 <configuration> 159 <source>1.5</source> 160 <target>1.5</target> 161 </configuration> 162 </plugin> 163 <plugin> 164 <groupId>org.sonatype.plugins</groupId> 165 <artifactId>nexus-staging-maven-plugin</artifactId> 166 <extensions>true</extensions> 167 <configuration> 168 <serverId>sonatype-nexus-staging</serverId> 169 <nexusUrl>https://oss.sonatype.org/</nexusUrl> 170 <stagingProfileId>23ed8fbc71e875</stagingProfileId> 171 <skipStagingRepositoryClose>true</skipStagingRepositoryClose> 172 </configuration> 173 </plugin> 174 </plugins> 175 </build> 176 177 <profiles> 178 <profile> 179 <id>release-sign-artifacts</id> 180 <activation> 181 <property> 182 <name>performRelease</name> 183 <value>true</value> 184 </property> 185 </activation> 186 <build> 187 <plugins> 188 <plugin> 189 <groupId>org.apache.maven.plugins</groupId> 190 <artifactId>maven-gpg-plugin</artifactId> 191 <version>1.1</version> 192 <executions> 193 <execution> 194 <id>sign-artifacts</id> 195 <phase>verify</phase> 196 <goals> 197 <goal>sign</goal> 198 </goals> 199 </execution> 200 </executions> 201 </plugin> 202 </plugins> 203 </build> 204 </profile> 205 </profiles> 206 207 <!-- Until 08. Dec 2016, this pom worked with maven-release-plugin at 2.2.1 208 and default SCM dependencies. On 11. Jan, 2017 that was no longer the 209 case, presumably because the default SCM version changed (cannot find 210 references), and the 2.5.2, 1.9.4 versions ended up working. --> 211 <dependencyManagement> 212 <dependencies> 213 <dependency> 214 <groupId>org.apache.maven.scm</groupId> 215 <artifactId>maven-scm-api</artifactId> 216 <version>1.9.4</version> 217 </dependency> 218 <dependency> 219 <groupId>org.apache.maven.scm</groupId> 220 <artifactId>maven-scm-provider-gitexe</artifactId> 221 <version>1.9.4</version> 222 </dependency> 223 </dependencies> 224 </dependencyManagement> 225 <dependencies> 226 <dependency> 227 <groupId>junit</groupId> 228 <artifactId>junit</artifactId> 229 <version>4.8.1</version> 230 <scope>test</scope> 231 </dependency> 232 </dependencies> 233 234</project> 235