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.3.3</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.3.3</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 </plugins> 164 </build> 165 166 <profiles> 167 <profile> 168 <id>release-sign-artifacts</id> 169 <activation> 170 <property> 171 <name>performRelease</name> 172 <value>true</value> 173 </property> 174 </activation> 175 <build> 176 <plugins> 177 <plugin> 178 <groupId>org.apache.maven.plugins</groupId> 179 <artifactId>maven-gpg-plugin</artifactId> 180 <version>1.1</version> 181 <executions> 182 <execution> 183 <id>sign-artifacts</id> 184 <phase>verify</phase> 185 <goals> 186 <goal>sign</goal> 187 </goals> 188 </execution> 189 </executions> 190 </plugin> 191 </plugins> 192 </build> 193 </profile> 194 </profiles> 195 196 <!-- Until 08. Dec 2016, this pom worked with maven-release-plugin at 2.2.1 197 and default SCM dependencies. On 11. Jan, 2017 that was no longer the 198 case, presumably because the default SCM version changed (cannot find 199 references), and the 2.5.2, 1.9.4 versions ended up working. --> 200 <dependencyManagement> 201 <dependencies> 202 <dependency> 203 <groupId>org.apache.maven.scm</groupId> 204 <artifactId>maven-scm-api</artifactId> 205 <version>1.9.4</version> 206 </dependency> 207 <dependency> 208 <groupId>org.apache.maven.scm</groupId> 209 <artifactId>maven-scm-provider-gitexe</artifactId> 210 <version>1.9.4</version> 211 </dependency> 212 </dependencies> 213 </dependencyManagement> 214 <dependencies> 215 <dependency> 216 <groupId>junit</groupId> 217 <artifactId>junit</artifactId> 218 <version>4.8.1</version> 219 <scope>test</scope> 220 </dependency> 221 </dependencies> 222 223</project> 224