• 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>carrier</artifactId>
5  <version>2.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/carrier/data</directory>
21        <targetPath>com/google/i18n/phonenumbers/carrier/data</targetPath>
22      </resource>
23    </resources>
24    <testResources>
25      <testResource>
26        <directory>test/com/google/i18n/phonenumbers/carrier/testing_data
27        </directory>
28        <targetPath>com/google/i18n/phonenumbers/carrier/testing_data
29        </targetPath>
30      </testResource>
31    </testResources>
32    <plugins>
33      <plugin>
34        <groupId>org.apache.felix</groupId>
35        <artifactId>maven-bundle-plugin</artifactId>
36        <version>5.1.9</version>
37        <configuration>
38          <instructions>
39            <Fragment-Host>com.googlecode.libphonenumber</Fragment-Host>
40          </instructions>
41        </configuration>
42      </plugin>
43      <plugin>
44        <artifactId>maven-jar-plugin</artifactId>
45        <executions>
46          <execution>
47            <id>default-jar</id>
48            <configuration>
49              <archive>
50                <manifestFile>
51                  ${project.build.outputDirectory}/META-INF/MANIFEST.MF
52                </manifestFile>
53              </archive>
54            </configuration>
55          </execution>
56        </executions>
57      </plugin>
58      <plugin>
59        <groupId>org.codehaus.mojo</groupId>
60        <artifactId>animal-sniffer-maven-plugin</artifactId>
61        <executions>
62          <execution>
63            <phase>test</phase>
64            <goals>
65              <goal>check</goal>
66            </goals>
67          </execution>
68        </executions>
69        <configuration>
70          <signature>
71            <groupId>org.codehaus.mojo.signature</groupId>
72            <artifactId>java15</artifactId>
73            <version>1.0</version>
74          </signature>
75        </configuration>
76      </plugin>
77    </plugins>
78  </build>
79
80  <dependencies>
81    <dependency>
82      <groupId>com.googlecode.libphonenumber</groupId>
83      <artifactId>libphonenumber</artifactId>
84      <version>9.0.0</version>
85    </dependency>
86    <dependency>
87      <groupId>com.googlecode.libphonenumber</groupId>
88      <artifactId>prefixmapper</artifactId>
89      <version>3.0</version>
90    </dependency>
91  </dependencies>
92
93</project>
94