Permalink
Please sign in to comment.
Browse files
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
- Loading branch information...
6
java/pom.xml
26
pom.xml
@@ -0,0 +1,26 @@ | ||
+<?xml version="1.0" encoding="UTF-8"?> | ||
+<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/maven-v4_0_0.xsd"> | ||
+ <modelVersion>4.0.0</modelVersion> | ||
+ <groupId>com.google.i18n.phonenumbers</groupId> | ||
+ <artifactId>libphonenumber-build-parent</artifactId> | ||
+ <packaging>pom</packaging> | ||
+ <version>1.0-SNAPSHOT</version> | ||
+ | ||
+ <properties> | ||
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
+ </properties> | ||
+ | ||
+ <licenses> | ||
+ <license> | ||
+ <name>Apache 2</name> | ||
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
+ <comments>Copyright (C) 2011 The Libphonenumber Authors</comments> | ||
+ </license> | ||
+ </licenses> | ||
+ | ||
+ <modules> | ||
+ <module>tools/java</module> | ||
+ <module>java</module> | ||
+ </modules> | ||
+ | ||
+</project> |
0 comments on commit
b22d1f8