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