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