From 0b181d32d64b16d7d1aa012de637702fe1b0d0a3 Mon Sep 17 00:00:00 2001 From: "jia.shao.peng" Date: Tue, 5 Apr 2011 09:26:11 +0000 Subject: [PATCH] TOOLS: Adding pom.xml for C++ build tools. Patch contributed by philip.liard git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@155 ee073f10-1060-11df-b6a4-87a95322a99c --- tools/java/cpp-build/pom.xml | 137 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 tools/java/cpp-build/pom.xml diff --git a/tools/java/cpp-build/pom.xml b/tools/java/cpp-build/pom.xml new file mode 100644 index 0000000..efb08c0 --- /dev/null +++ b/tools/java/cpp-build/pom.xml @@ -0,0 +1,137 @@ + + + 4.0.0 + + + tools + com.google.i18n.phonenumbers + 1.0-SNAPSHOT + + + com.google.i18n.phonenumbers.tools + cpp-build + 1.0-SNAPSHOT + Libphonenumber C++ build tools + + C++ build tools that download dependencies under base/ from the Chromium source repository, and + generate the C++ metadata code needed to build the libphonenumber library. + + + + src + + + 2.3.2 + org.apache.maven.plugins + maven-compiler-plugin + + 1.5 + 1.5 + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + create-generated-directory + generate-sources + + + + + + + run + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 1.5 + + + add-source + generate-sources + + add-source + + + + generated/ + + + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.2 + + + generate-sources + + exec + + + + + protoc + + --java_out=generated + ../../../resources/phonemetadata.proto + --proto_path=../../../resources + + + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.2.1 + + + jar-with-dependencies + + + + true + com.google.i18n.phonenumbers.tools.EntryPoint + + + + + + make-assembly + package + + single + + + + + + + + + + com.google.i18n.phonenumbers.tools + common + 1.0-SNAPSHOT + + + com.google.protobuf + protobuf-java + 2.4.0a + + + + -- 2.7.4