• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
6  <parent>
7    <artifactId>tools</artifactId>
8    <groupId>com.google.i18n.phonenumbers</groupId>
9    <version>1.0-SNAPSHOT</version>
10  </parent>
11
12  <groupId>com.google.i18n.phonenumbers.tools</groupId>
13  <artifactId>common-build</artifactId>
14  <version>1.0-SNAPSHOT</version>
15  <name>Libphonenumber common library for build tools</name>
16
17  <build>
18    <sourceDirectory>src</sourceDirectory>
19    <testSourceDirectory>test</testSourceDirectory>
20    <testResources>
21      <testResource>
22        <directory>src/com/google/i18n/phonenumbers</directory>
23        <targetPath>com/google/i18n/phonenumbers</targetPath>
24      </testResource>
25    </testResources>
26    <plugins>
27      <plugin>
28        <groupId>org.apache.maven.plugins</groupId>
29        <artifactId>maven-compiler-plugin</artifactId>
30        <version>2.0.2</version>
31        <configuration>
32          <source>1.6</source>
33	  <target>1.6</target>
34	  <encoding>UTF-8</encoding>
35        </configuration>
36      </plugin>
37      <!-- Add ../../../java/libphonenumber/src/ to make Phonemetadata.java available to the source
38           directories. -->
39      <plugin>
40        <groupId>org.codehaus.mojo</groupId>
41        <artifactId>build-helper-maven-plugin</artifactId>
42        <version>1.9.1</version>
43        <executions>
44          <execution>
45            <id>add-source</id>
46            <phase>generate-sources</phase>
47            <goals>
48              <goal>add-source</goal>
49            </goals>
50            <configuration>
51              <sources>
52                <source>../../../java/libphonenumber/src/</source>
53              </sources>
54            </configuration>
55          </execution>
56        </executions>
57      </plugin>
58    </plugins>
59  </build>
60
61  <dependencies>
62    <dependency>
63      <groupId>junit</groupId>
64      <artifactId>junit</artifactId>
65      <version>4.8.1</version>
66      <scope>test</scope>
67    </dependency>
68  </dependencies>
69
70</project>
71