• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.13.14</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 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/google/libphonenumber.git</connection>
35    <developerConnection>scm:git:git@github.com:googlei18n/libphonenumber.git</developerConnection>
36    <url>https://github.com/google/libphonenumber/</url>
37    <tag>v8.13.14</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        <plugin>
107          <groupId>org.codehaus.mojo</groupId>
108          <artifactId>animal-sniffer-maven-plugin</artifactId>
109          <version>1.15</version>
110        </plugin>
111      </plugins>
112    </pluginManagement>
113    <plugins>
114      <plugin>
115        <groupId>org.apache.maven.plugins</groupId>
116        <artifactId>maven-surefire-plugin</artifactId>
117        <version>2.12</version>
118        <configuration>
119          <forkCount>0</forkCount>
120          <includes>
121            <include>**/*Test.java</include>
122          </includes>
123        </configuration>
124      </plugin>
125      <plugin>
126        <groupId>org.apache.maven.plugins</groupId>
127        <artifactId>maven-source-plugin</artifactId>
128        <version>2.1.2</version>
129        <executions>
130          <execution>
131            <id>attach-sources</id>
132            <goals>
133              <goal>jar</goal>
134            </goals>
135          </execution>
136        </executions>
137      </plugin>
138      <plugin>
139        <groupId>org.apache.maven.plugins</groupId>
140        <artifactId>maven-javadoc-plugin</artifactId>
141        <version>2.7</version>
142        <executions>
143          <execution>
144            <id>attach-javadocs</id>
145            <goals>
146              <goal>jar</goal>
147            </goals>
148          </execution>
149        </executions>
150      </plugin>
151      <plugin>
152        <groupId>org.apache.maven.plugins</groupId>
153        <artifactId>maven-release-plugin</artifactId>
154        <version>2.5.2</version>
155        <configuration>
156          <tagNameFormat>v@{project.version}</tagNameFormat>
157        </configuration>
158      </plugin>
159      <plugin>
160        <groupId>org.apache.maven.plugins</groupId>
161        <artifactId>maven-compiler-plugin</artifactId>
162        <version>2.3.2</version>
163        <configuration>
164          <source>1.7</source>
165	  <target>1.7</target>
166	  <encoding>UTF-8</encoding>
167        </configuration>
168      </plugin>
169      <plugin>
170        <groupId>org.sonatype.plugins</groupId>
171        <artifactId>nexus-staging-maven-plugin</artifactId>
172	<version>1.6.13</version>
173        <extensions>true</extensions>
174        <configuration>
175          <serverId>sonatype-nexus-staging</serverId>
176          <nexusUrl>https://oss.sonatype.org/</nexusUrl>
177          <stagingProfileId>23ed8fbc71e875</stagingProfileId>
178	  <skipStagingRepositoryClose>true</skipStagingRepositoryClose>
179        </configuration>
180      </plugin>
181    </plugins>
182  </build>
183
184  <profiles>
185    <profile>
186      <id>release-sign-artifacts</id>
187      <activation>
188        <property>
189          <name>performRelease</name>
190          <value>true</value>
191        </property>
192      </activation>
193      <build>
194        <plugins>
195          <plugin>
196            <groupId>org.apache.maven.plugins</groupId>
197            <artifactId>maven-gpg-plugin</artifactId>
198            <version>1.1</version>
199            <executions>
200              <execution>
201                <id>sign-artifacts</id>
202                <phase>verify</phase>
203                <goals>
204                  <goal>sign</goal>
205                </goals>
206              </execution>
207            </executions>
208          </plugin>
209        </plugins>
210      </build>
211    </profile>
212  </profiles>
213
214  <!-- Until 08. Dec 2016, this pom worked with maven-release-plugin at 2.2.1
215       and default SCM dependencies. On 11. Jan, 2017 that was no longer the
216       case, presumably because the default SCM version changed (cannot find
217       references), and the 2.5.2, 1.9.4 versions ended up working. -->
218  <dependencyManagement>
219    <dependencies>
220      <dependency>
221        <groupId>org.apache.maven.scm</groupId>
222        <artifactId>maven-scm-api</artifactId>
223        <version>1.9.4</version>
224      </dependency>
225      <dependency>
226        <groupId>org.apache.maven.scm</groupId>
227        <artifactId>maven-scm-provider-gitexe</artifactId>
228        <version>1.9.4</version>
229      </dependency>
230    </dependencies>
231  </dependencyManagement>
232  <dependencies>
233    <dependency>
234      <groupId>junit</groupId>
235      <artifactId>junit</artifactId>
236      <version>4.13.1</version>
237      <scope>test</scope>
238    </dependency>
239    <dependency>
240      <groupId>org.mockito</groupId>
241      <artifactId>mockito-core</artifactId>
242      <version>2.23.4</version>
243      <scope>test</scope>
244    </dependency>
245  </dependencies>
246</project>
247