1<?xml version="1.0"?> 2<project 3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" 4 xmlns="http://maven.apache.org/POM/4.0.0" 5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 6 <modelVersion>4.0.0</modelVersion> 7 8 <parent> 9 <artifactId>tools</artifactId> 10 <groupId>com.google.i18n.phonenumbers</groupId> 11 <version>1.0-SNAPSHOT</version> 12 </parent> 13 14 <groupId>com.google.i18n.phonenumbers.tools</groupId> 15 <artifactId>common-build</artifactId> 16 <version>1.0-SNAPSHOT</version> 17 <name>Libphonenumber common library for build tools</name> 18 19 <build> 20 <sourceDirectory>src</sourceDirectory> 21 <testSourceDirectory>test</testSourceDirectory> 22 <testResources> 23 <testResource> 24 <directory>src/com/google/i18n/phonenumbers</directory> 25 <targetPath>com/google/i18n/phonenumbers</targetPath> 26 </testResource> 27 </testResources> 28 <plugins> 29 <plugin> 30 <groupId>org.apache.maven.plugins</groupId> 31 <artifactId>maven-compiler-plugin</artifactId> 32 <version>2.0.2</version> 33 <configuration> 34 <source>1.7</source> 35 <target>1.7</target> 36 <encoding>UTF-8</encoding> 37 </configuration> 38 </plugin> 39 <!-- Add ../../../java/libphonenumber/src/ to make Phonemetadata.java available to the source 40 directories. --> 41 <plugin> 42 <groupId>org.codehaus.mojo</groupId> 43 <artifactId>build-helper-maven-plugin</artifactId> 44 <version>1.9.1</version> 45 <executions> 46 <execution> 47 <id>add-source</id> 48 <phase>generate-sources</phase> 49 <goals> 50 <goal>add-source</goal> 51 </goals> 52 <configuration> 53 <sources> 54 <source>../../../java/libphonenumber/src/</source> 55 </sources> 56 </configuration> 57 </execution> 58 </executions> 59 </plugin> 60 </plugins> 61 </build> 62 63 <dependencies> 64 <dependency> 65 <groupId>junit</groupId> 66 <artifactId>junit</artifactId> 67 <version>4.13.1</version> 68 <scope>test</scope> 69 </dependency> 70 </dependencies> 71 72</project> 73