[maven-release-plugin] prepare release libphonenumber-4.3
[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>4.3</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-4.3</connection>
35     <developerConnection>scm:svn:https://libphonenumber.googlecode.com/svn/tags/libphonenumber-4.3</developerConnection>
36     <url>scm:svn:http://libphonenumber.googlecode.com/svn/tags/libphonenumber-4.3</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>geocoder</module>
83   </modules>
84
85   <build>
86     <plugins>
87       <plugin>
88         <groupId>org.apache.maven.plugins</groupId>
89         <artifactId>maven-surefire-plugin</artifactId>
90         <version>2.10</version>
91         <configuration>
92           <forkMode>never</forkMode>
93         </configuration>
94       </plugin>
95       <plugin>
96         <groupId>org.apache.maven.plugins</groupId>
97         <artifactId>maven-source-plugin</artifactId>
98         <version>2.1.2</version>
99         <executions>
100           <execution>
101             <id>attach-sources</id>
102             <goals>
103               <goal>jar</goal>
104             </goals>
105           </execution>
106         </executions>
107       </plugin>
108       <plugin>
109         <groupId>org.apache.maven.plugins</groupId>
110         <artifactId>maven-javadoc-plugin</artifactId>
111         <version>2.7</version>
112         <executions>
113           <execution>
114             <id>attach-javadocs</id>
115             <goals>
116               <goal>jar</goal>
117             </goals>
118           </execution>
119         </executions>
120       </plugin>
121       <plugin>
122         <artifactId>maven-release-plugin</artifactId>
123         <version>2.2.1</version>
124         <configuration>
125           <tagBase>https://libphonenumber.googlecode.com/svn/tags/</tagBase>
126           <tagNameFormat>libphonenumber-@{project.version}</tagNameFormat>
127         </configuration>
128       </plugin>
129       <plugin>
130         <groupId>org.apache.maven.plugins</groupId>
131         <artifactId>maven-compiler-plugin</artifactId>
132         <version>2.3.2</version>
133         <configuration>
134           <source>1.5</source>
135           <target>1.5</target>
136         </configuration>
137       </plugin>
138     </plugins>
139   </build>
140
141   <profiles>
142     <profile>
143       <id>release-sign-artifacts</id>
144       <activation>
145         <property>
146           <name>performRelease</name>
147           <value>true</value>
148         </property>
149       </activation>
150       <build>
151         <plugins>
152           <plugin>
153             <groupId>org.apache.maven.plugins</groupId>
154             <artifactId>maven-gpg-plugin</artifactId>
155             <version>1.1</version>
156             <executions>
157               <execution>
158                 <id>sign-artifacts</id>
159                 <phase>verify</phase>
160                 <goals>
161                   <goal>sign</goal>
162                 </goals>
163               </execution>
164             </executions>
165           </plugin>
166         </plugins>
167       </build>
168     </profile>
169   </profiles>
170
171   <dependencies>
172     <dependency>
173       <groupId>junit</groupId>
174       <artifactId>junit</artifactId>
175       <version>4.8.1</version>
176       <scope>test</scope>
177     </dependency>
178   </dependencies>
179
180 </project>