From b22d1f80ba924cb021b07179b358be0df2208682 Mon Sep 17 00:00:00 2001 From: Daniel Pocock Date: Fri, 22 Aug 2014 14:43:11 +0000 Subject: [PATCH] Build the tools and libraries all at once with Maven. This patch adds a top level pom.xml so it is now possible to checkout the repository and do mvn clean install and it will build the tools JAR and then the library itself without requiring any pre-built JARs in the repository I've also tweaked the Debian packaging to work using maven-debian-helper and without using Ant or build.xml any more. I'll submit that as a separate patch. The patch also removes a reference to oss-parent that appears to be in java/pom.xml by mistake, this was causing the maven-debian-helper builds to fail. Author: daniel@pocock.pro R=jia.shao.peng@gmail.com BUG= Review URL: https://codereview.appspot.com/125530043 --- java/pom.xml | 6 ------ pom.xml | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 pom.xml diff --git a/java/pom.xml b/java/pom.xml index 273362391..4e7cdb542 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -7,12 +7,6 @@ pom http://code.google.com/p/libphonenumber/ - - org.sonatype.oss - oss-parent - 7 - - Google's common Java library for parsing, formatting, storing and validating international phone numbers. Optimized for running on smartphones. diff --git a/pom.xml b/pom.xml new file mode 100644 index 000000000..d5aa0b376 --- /dev/null +++ b/pom.xml @@ -0,0 +1,26 @@ + + + 4.0.0 + com.google.i18n.phonenumbers + libphonenumber-build-parent + pom + 1.0-SNAPSHOT + + + UTF-8 + + + + + Apache 2 + http://www.apache.org/licenses/LICENSE-2.0.txt + Copyright (C) 2011 The Libphonenumber Authors + + + + + tools/java + java + + +