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 <groupId>com.googlecode.libphonenumber</groupId> 5 <artifactId>libphonenumber</artifactId> 6 <version>8.10.6</version> 7 <packaging>jar</packaging> 8 <url>https://github.com/googlei18n/libphonenumber/</url> 9 10 <parent> 11 <groupId>com.googlecode.libphonenumber</groupId> 12 <artifactId>libphonenumber-parent</artifactId> 13 <version>8.10.6</version> 14 </parent> 15 16 <build> 17 <sourceDirectory>src</sourceDirectory> 18 <testSourceDirectory>test</testSourceDirectory> 19 <resources> 20 <resource> 21 <directory>src/com/google/i18n/phonenumbers/data</directory> 22 <targetPath>com/google/i18n/phonenumbers/data</targetPath> 23 </resource> 24 </resources> 25 <testResources> 26 <testResource> 27 <directory>test/com/google/i18n/phonenumbers/data</directory> 28 <targetPath>com/google/i18n/phonenumbers/data</targetPath> 29 </testResource> 30 </testResources> 31 <plugins> 32 <plugin> 33 <groupId>org.apache.felix</groupId> 34 <artifactId>maven-bundle-plugin</artifactId> 35 <version>3.2.0</version> 36 <configuration> 37 <instructions> 38 <Export-Package>com.google.i18n.phonenumbers</Export-Package> 39 </instructions> 40 </configuration> 41 </plugin> 42 <plugin> 43 <artifactId>maven-jar-plugin</artifactId> 44 <version>3.0.2</version> 45 <executions> 46 <execution> 47 <id>default-jar</id> 48 <configuration> 49 <archive> 50 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> 51 </archive> 52 </configuration> 53 </execution> 54 <execution> 55 <id>no-metadata</id> 56 <phase>package</phase> 57 <goals> 58 <goal>jar</goal> 59 </goals> 60 <configuration> 61 <classifier>no-metadata</classifier> 62 <archive> 63 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> 64 </archive> 65 <excludes> 66 <exclude>com/google/i18n/phonenumbers/data/*</exclude> 67 </excludes> 68 </configuration> 69 </execution> 70 </executions> 71 </plugin> 72 <plugin> 73 <groupId>org.codehaus.mojo</groupId> 74 <artifactId>animal-sniffer-maven-plugin</artifactId> 75 <version>1.15</version> 76 <executions> 77 <execution> 78 <phase>test</phase> 79 <goals> 80 <goal>check</goal> 81 </goals> 82 </execution> 83 </executions> 84 <configuration> 85 <signature> 86 <groupId>org.codehaus.mojo.signature</groupId> 87 <artifactId>java15</artifactId> 88 <version>1.0</version> 89 </signature> 90 </configuration> 91 </plugin> 92 </plugins> 93 </build> 94 95 </project> 96