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.9.32</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.2</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 <version>2.0.2</version> 51 <configuration> 52 <source>1.7</source> 53 <target>1.7</target> 54 <encoding>UTF-8</encoding> 55 </configuration> 56 </plugin> 57 <plugin> 58 <groupId>org.apache.maven.plugins</groupId> 59 <artifactId>maven-assembly-plugin</artifactId> 60 <configuration> 61 <descriptorRefs> 62 <descriptorRef>jar-with-dependencies</descriptorRef> 63 </descriptorRefs> 64 <archive> 65 <manifest> 66 <addClasspath>true</addClasspath> 67 <mainClass>com.google.i18n.phonenumbers.CombineGeoData</mainClass> 68 </manifest> 69 </archive> 70 </configuration> 71 <executions> 72 <execution> 73 <id>make-assembly</id> 74 <phase>package</phase> 75 <goals> 76 <goal>single</goal> 77 </goals> 78 </execution> 79 </executions> 80 </plugin> 81 <plugin> 82 <groupId>org.mortbay.jetty</groupId> 83 <artifactId>maven-jetty-plugin</artifactId> 84 <version>6.1.26</version> 85 <configuration> 86 <webAppSourceDirectory>webapp</webAppSourceDirectory> 87 <scanIntervalSeconds>10</scanIntervalSeconds> 88 <webAppConfig> 89 <contextPath>/</contextPath> 90 </webAppConfig> 91 <connectors> 92 <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> 93 <port>8080</port> 94 <maxIdleTime>60000</maxIdleTime> 95 </connector> 96 </connectors> 97 </configuration> 98 </plugin> 99 </plugins> 100 </build> 101 102</project> 103