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