|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + <parent> |
| 7 | + <groupId>com.google</groupId> |
| 8 | + <artifactId>google</artifactId> |
| 9 | + <version>1</version> |
| 10 | + </parent> |
| 11 | + |
| 12 | + <groupId>com.google.protobuf.jruby</groupId> |
| 13 | + <artifactId>protobuf-jruby</artifactId> |
| 14 | + <version>1.0-SNAPSHOT</version> |
| 15 | + <name>Protocol Buffer JRuby native extension</name> |
| 16 | + <description> |
| 17 | + Protocol Buffers are a way of encoding structured data in an efficient yet |
| 18 | + extensible format. |
| 19 | + </description> |
| 20 | + <inceptionYear>2014</inceptionYear> |
| 21 | + <url>https://developers.google.com/protocol-buffers/</url> |
| 22 | + <licenses> |
| 23 | + <license> |
| 24 | + <name>New BSD license</name> |
| 25 | + <url>http://www.opensource.org/licenses/bsd-license.php</url> |
| 26 | + <distribution>repo</distribution> |
| 27 | + </license> |
| 28 | + </licenses> |
| 29 | + <scm> |
| 30 | + <url>https://github.com/google/protobuf</url> |
| 31 | + <connection> |
| 32 | + scm:git:https://github.com/google/protobuf.git |
| 33 | + </connection> |
| 34 | + </scm> |
| 35 | + |
| 36 | + <properties> |
| 37 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 38 | + <ruby.sources>lib/google</ruby.sources> |
| 39 | + <jar.finalName>protobuf_java</jar.finalName> |
| 40 | + </properties> |
| 41 | + <build> |
| 42 | + <plugins> |
| 43 | + <plugin> |
| 44 | + <groupId>org.apache.maven.plugins</groupId> |
| 45 | + <artifactId>maven-assembly-plugin</artifactId> |
| 46 | + <configuration> |
| 47 | + <finalName>${jar.finalName}</finalName> |
| 48 | + <outputDirectory>${ruby.sources}</outputDirectory> |
| 49 | + <appendAssemblyId>false</appendAssemblyId> |
| 50 | + <descriptorRefs> |
| 51 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 52 | + </descriptorRefs> |
| 53 | + </configuration> |
| 54 | + <executions> |
| 55 | + <execution> |
| 56 | + <id>make-assembly</id> |
| 57 | + <phase>package</phase> |
| 58 | + <goals> |
| 59 | + <goal>single</goal> |
| 60 | + </goals> |
| 61 | + </execution> |
| 62 | + </executions> |
| 63 | + </plugin> |
| 64 | + </plugins> |
| 65 | + </build> |
| 66 | + <dependencies> |
| 67 | + <dependency> |
| 68 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 69 | + <artifactId>jackson-core</artifactId> |
| 70 | + <version>2.4.3</version> |
| 71 | + </dependency> |
| 72 | + <dependency> |
| 73 | + <groupId>org.jruby</groupId> |
| 74 | + <artifactId>jruby-complete</artifactId> |
| 75 | + <version>1.7.13</version> |
| 76 | + <scope>provided</scope> |
| 77 | + </dependency> |
| 78 | + <dependency> |
| 79 | + <groupId>com.google.protobuf</groupId> |
| 80 | + <artifactId>protobuf-java</artifactId> |
| 81 | + <version>3.0.0-pre</version> |
| 82 | + </dependency> |
| 83 | + </dependencies> |
| 84 | +</project> |
0 commit comments