• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  <artifactId>geocoder</artifactId>
5  <version>3.0</version>
6  <packaging>jar</packaging>
7  <url>https://github.com/google/libphonenumber/</url>
8
9  <parent>
10    <groupId>com.googlecode.libphonenumber</groupId>
11    <artifactId>libphonenumber-parent</artifactId>
12    <version>9.0.0</version>
13  </parent>
14
15  <build>
16    <sourceDirectory>src</sourceDirectory>
17    <testSourceDirectory>test</testSourceDirectory>
18    <resources>
19      <resource>
20        <directory>src/com/google/i18n/phonenumbers/geocoding/data</directory>
21        <targetPath>com/google/i18n/phonenumbers/geocoding/data</targetPath>
22      </resource>
23      <resource>
24        <directory>src/com/google/i18n/phonenumbers/timezones/data</directory>
25        <targetPath>com/google/i18n/phonenumbers/timezones/data</targetPath>
26      </resource>
27    </resources>
28    <testResources>
29      <testResource>
30        <directory>test/com/google/i18n/phonenumbers/geocoding/testing_data
31        </directory>
32        <targetPath>com/google/i18n/phonenumbers/geocoding/testing_data
33        </targetPath>
34      </testResource>
35      <testResource>
36        <directory>test/com/google/i18n/phonenumbers/timezones/testing_data
37        </directory>
38        <targetPath>com/google/i18n/phonenumbers/timezones/testing_data
39        </targetPath>
40      </testResource>
41    </testResources>
42    <plugins>
43      <plugin>
44        <groupId>org.apache.felix</groupId>
45        <artifactId>maven-bundle-plugin</artifactId>
46        <version>5.1.9</version>
47        <configuration>
48          <instructions>
49            <Fragment-Host>com.googlecode.libphonenumber</Fragment-Host>
50          </instructions>
51        </configuration>
52      </plugin>
53      <plugin>
54        <artifactId>maven-jar-plugin</artifactId>
55        <executions>
56          <execution>
57            <id>default-jar</id>
58            <configuration>
59              <archive>
60                <manifestFile>
61                  ${project.build.outputDirectory}/META-INF/MANIFEST.MF
62                </manifestFile>
63              </archive>
64            </configuration>
65          </execution>
66        </executions>
67      </plugin>
68      <plugin>
69        <groupId>org.codehaus.mojo</groupId>
70        <artifactId>animal-sniffer-maven-plugin</artifactId>
71        <executions>
72          <execution>
73            <phase>test</phase>
74            <goals>
75              <goal>check</goal>
76            </goals>
77          </execution>
78        </executions>
79        <configuration>
80          <signature>
81            <groupId>org.codehaus.mojo.signature</groupId>
82            <artifactId>java15</artifactId>
83            <version>1.0</version>
84          </signature>
85        </configuration>
86      </plugin>
87    </plugins>
88  </build>
89
90  <dependencies>
91    <dependency>
92      <groupId>com.googlecode.libphonenumber</groupId>
93      <artifactId>libphonenumber</artifactId>
94      <version>9.0.0</version>
95    </dependency>
96    <dependency>
97      <groupId>com.googlecode.libphonenumber</groupId>
98      <artifactId>prefixmapper</artifactId>
99      <version>3.0</version>
100    </dependency>
101  </dependencies>
102
103</project>
104