From 90ba2689a2c3fd4f3089a796990aec46d3efa175 Mon Sep 17 00:00:00 2001 From: Tad Fisher Date: Fri, 24 Mar 2017 03:08:48 -0700 Subject: [PATCH] Add a no-metadata JAR variant (#1643) This adds a JAR target without included metadata. Third parties using this variant may supply their own metadata via a custom MetadataLoader. --- java/libphonenumber/pom.xml | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/java/libphonenumber/pom.xml b/java/libphonenumber/pom.xml index b4a661636..59d1c827a 100644 --- a/java/libphonenumber/pom.xml +++ b/java/libphonenumber/pom.xml @@ -42,11 +42,32 @@ maven-jar-plugin 3.0.2 - - - ${project.build.outputDirectory}/META-INF/MANIFEST.MF - - + + + default-jar + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + + + no-metadata + package + + jar + + + no-metadata + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + com/google/i18n/phonenumbers/data/* + + + + org.codehaus.mojo