Fixed AVAS vulnerabilites
[platform/upstream/libphonenumber.git] / tools / java / data / pom.xml
1 <?xml version="1.0"?>
2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4   <modelVersion>4.0.0</modelVersion>
5   <parent>
6     <artifactId>tools</artifactId>
7     <groupId>com.google.i18n.phonenumbers</groupId>
8     <version>1.0-SNAPSHOT</version>
9   </parent>
10   <groupId>com.google.i18n.phonenumbers</groupId>
11   <artifactId>data-tools</artifactId>
12   <version>1.0-SNAPSHOT</version>
13   <name>Libphonenumber Data tools</name>
14
15   <properties>
16     <gae.version>1.5.4</gae.version>
17   </properties>
18
19   <repositories>
20     <repository>
21       <id>mvnrepository</id>
22       <url>http://mvnrepository.com/artifact/</url>
23       <snapshots>
24         <enabled>true</enabled>
25       </snapshots>
26     </repository>
27   </repositories>
28
29   <dependencies>
30     <dependency>
31       <groupId>junit</groupId>
32       <artifactId>junit</artifactId>
33       <version>4.13.1</version>
34       <scope>test</scope>
35     </dependency>
36     <dependency>
37       <groupId>javax.servlet</groupId>
38       <artifactId>servlet-api</artifactId>
39       <version>2.5</version>
40     </dependency>
41   </dependencies>
42
43   <build>
44     <sourceDirectory>src</sourceDirectory>
45     <testSourceDirectory>test</testSourceDirectory>
46     <plugins>
47       <plugin>
48         <groupId>org.apache.maven.plugins</groupId>
49         <artifactId>maven-compiler-plugin</artifactId>
50         <configuration>
51           <source>1.6</source>
52           <target>1.6</target>
53         </configuration>
54       </plugin>
55       <plugin>
56         <groupId>net.kindleit</groupId>
57         <artifactId>maven-gae-plugin</artifactId>
58       </plugin>
59       <plugin>
60         <groupId>org.apache.maven.plugins</groupId>
61         <artifactId>maven-assembly-plugin</artifactId>
62         <configuration>
63           <descriptorRefs>
64             <descriptorRef>jar-with-dependencies</descriptorRef>
65           </descriptorRefs>
66           <archive>
67             <manifest>
68               <addClasspath>true</addClasspath>
69               <mainClass>com.google.i18n.phonenumbers.CombineGeoData</mainClass>
70             </manifest>
71           </archive>
72         </configuration>
73         <executions>
74           <execution>
75             <id>make-assembly</id>
76             <phase>package</phase>
77             <goals>
78               <goal>single</goal>
79             </goals>
80           </execution>
81         </executions>
82       </plugin>
83       <plugin>
84         <groupId>org.apache.maven.plugins</groupId>
85         <artifactId>maven-war-plugin</artifactId>
86         <configuration>
87           <warSourceDirectory>webapp</warSourceDirectory>
88         </configuration>
89       </plugin>
90       <plugin>
91         <groupId>org.mortbay.jetty</groupId>
92         <artifactId>maven-jetty-plugin</artifactId>
93         <version>6.1.10</version>
94         <configuration>
95           <webAppSourceDirectory>webapp</webAppSourceDirectory>
96           <scanIntervalSeconds>10</scanIntervalSeconds>
97           <webAppConfig>
98             <contextPath>/</contextPath>
99           </webAppConfig>
100           <connectors>
101             <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
102               <port>8080</port>
103               <maxIdleTime>60000</maxIdleTime>
104             </connector>
105           </connectors>
106         </configuration>
107       </plugin>
108     </plugins>
109   </build>
110
111 </project>