Browse Source

Install protobuf-java into java/lib instead of using it from Maven repository.

pull/887/head
David Yonge-Mallo 10 years ago
parent
commit
f3e41c52fb
8 changed files with 53 additions and 5 deletions
  1. +0
    -0
      java/lib/com/google/protobuf/protobuf-java/2.6.1/protobuf-java-2.6.1.jar
  2. +9
    -0
      java/lib/com/google/protobuf/protobuf-java/2.6.1/protobuf-java-2.6.1.pom
  3. +12
    -0
      java/lib/com/google/protobuf/protobuf-java/maven-metadata-local.xml
  4. +14
    -0
      java/libphonenumber/pom.xml
  5. +0
    -5
      java/pom.xml
  6. +6
    -0
      tools/java/common/pom.xml
  7. +6
    -0
      tools/java/cpp-build/pom.xml
  8. +6
    -0
      tools/java/java-build/pom.xml

java/lib/protobuf-java-2.6.1.jar → java/lib/com/google/protobuf/protobuf-java/2.6.1/protobuf-java-2.6.1.jar View File


+ 9
- 0
java/lib/com/google/protobuf/protobuf-java/2.6.1/protobuf-java-2.6.1.pom View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>2.6.1</version>
<description>POM was created from install:install-file</description>
</project>

+ 12
- 0
java/lib/com/google/protobuf/protobuf-java/maven-metadata-local.xml View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<versioning>
<release>2.6.1</release>
<versions>
<version>2.6.1</version>
</versions>
<lastUpdated>20151102180249</lastUpdated>
</versioning>
</metadata>

+ 14
- 0
java/libphonenumber/pom.xml View File

@ -46,4 +46,18 @@
</plugins>
</build>
<repositories>
<repository>
<id>protobuf-java-lib</id>
<url>file://${project.basedir}/../lib</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>2.6.1</version>
</dependency>
</dependencies>
</project>

+ 0
- 5
java/pom.xml View File

@ -180,11 +180,6 @@
<version>4.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>2.6.1</version>
</dependency>
</dependencies>
</project>

+ 6
- 0
tools/java/common/pom.xml View File

@ -49,6 +49,12 @@
</plugins>
</build>
<repositories>
<repository>
<id>protobuf-java-lib</id>
<url>file://${project.basedir}/../../../java/lib</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>junit</groupId>


+ 6
- 0
tools/java/cpp-build/pom.xml View File

@ -114,6 +114,12 @@
</plugins>
</build>
<repositories>
<repository>
<id>protobuf-java-lib</id>
<url>file://${project.basedir}/../../../java/lib</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>junit</groupId>


+ 6
- 0
tools/java/java-build/pom.xml View File

@ -101,6 +101,12 @@
</plugins>
</build>
<repositories>
<repository>
<id>protobuf-java-lib</id>
<url>file://${project.basedir}/../../../java/lib</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>junit</groupId>


Loading…
Cancel
Save