[maven-release-plugin] prepare release libphonenumber-7.0.1
[platform/upstream/libphonenumber.git] / java / pom.xml
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>7.0.1</version>
7   <packaging>pom</packaging>
8   <url>http://code.google.com/p/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:svn:http://libphonenumber.googlecode.com/svn/tags/libphonenumber-7.0.1</connection>
35     <developerConnection>scm:svn:https://libphonenumber.googlecode.com/svn/tags/libphonenumber-7.0.1</developerConnection>
36     <url>scm:svn:http://libphonenumber.googlecode.com/svn/tags/libphonenumber-7.0.1</url>
37   </scm>
38
39   <properties>
40     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41   </properties>
42
43   <developers>
44     <developer>
45       <id>jia.shao.peng</id>
46       <name>Shaopeng Jia</name>
47       <email>jia.shao.peng@gmail.com</email>
48       <organization>Google</organization>
49       <roles>
50         <role>owner</role>
51         <role>developer</role>
52       </roles>
53     </developer>
54     <developer>
55       <id>lararennie</id>
56       <name>Lara Rennie</name>
57       <email>lararennie@google.com</email>
58       <organization>Google</organization>
59       <roles>
60         <role>developer</role>
61       </roles>
62     </developer>
63   </developers>
64
65   <contributors>
66     <contributor>
67       <name>tronikos</name>
68       <email>tronikos@gmail.com</email>
69     </contributor>
70     <contributor>
71       <name>g1smd.email</name>
72       <email>g1smd.email@gmail.com</email>
73     </contributor>
74     <contributor>
75       <name>Philippe Liard</name>
76       <email>philip.liard@gmail.com</email>
77     </contributor>
78   </contributors>
79
80   <modules>
81     <module>libphonenumber</module>
82     <module>internal/prefixmapper</module>
83     <module>carrier</module>
84     <module>geocoder</module>
85     <module>demo</module>
86   </modules>
87
88   <build>
89     <plugins>
90       <plugin>
91         <groupId>org.apache.maven.plugins</groupId>
92         <artifactId>maven-surefire-plugin</artifactId>
93         <version>2.12</version>
94         <configuration>
95           <forkMode>never</forkMode>
96           <includes>
97             <include>**/*Test.java</include>
98           </includes>
99         </configuration>
100       </plugin>
101       <plugin>
102         <groupId>org.apache.maven.plugins</groupId>
103         <artifactId>maven-source-plugin</artifactId>
104         <version>2.1.2</version>
105         <executions>
106           <execution>
107             <id>attach-sources</id>
108             <goals>
109               <goal>jar</goal>
110             </goals>
111           </execution>
112         </executions>
113       </plugin>
114       <plugin>
115         <groupId>org.apache.maven.plugins</groupId>
116         <artifactId>maven-javadoc-plugin</artifactId>
117         <version>2.7</version>
118         <executions>
119           <execution>
120             <id>attach-javadocs</id>
121             <goals>
122               <goal>jar</goal>
123             </goals>
124           </execution>
125         </executions>
126       </plugin>
127       <plugin>
128         <artifactId>maven-release-plugin</artifactId>
129         <version>2.2.1</version>
130         <configuration>
131           <tagBase>https://libphonenumber.googlecode.com/svn/tags/</tagBase>
132           <tagNameFormat>libphonenumber-@{project.version}</tagNameFormat>
133         </configuration>
134       </plugin>
135       <plugin>
136         <groupId>org.apache.maven.plugins</groupId>
137         <artifactId>maven-compiler-plugin</artifactId>
138         <version>2.3.2</version>
139         <configuration>
140           <source>1.5</source>
141           <target>1.5</target>
142         </configuration>
143       </plugin>
144     </plugins>
145   </build>
146
147   <profiles>
148     <profile>
149       <id>release-sign-artifacts</id>
150       <activation>
151         <property>
152           <name>performRelease</name>
153           <value>true</value>
154         </property>
155       </activation>
156       <build>
157         <plugins>
158           <plugin>
159             <groupId>org.apache.maven.plugins</groupId>
160             <artifactId>maven-gpg-plugin</artifactId>
161             <version>1.1</version>
162             <executions>
163               <execution>
164                 <id>sign-artifacts</id>
165                 <phase>verify</phase>
166                 <goals>
167                   <goal>sign</goal>
168                 </goals>
169               </execution>
170             </executions>
171           </plugin>
172         </plugins>
173       </build>
174     </profile>
175   </profiles>
176
177   <dependencies>
178     <dependency>
179       <groupId>junit</groupId>
180       <artifactId>junit</artifactId>
181       <version>4.8.1</version>
182       <scope>test</scope>
183     </dependency>
184   </dependencies>
185
186 </project>