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 <plugin> 65 <groupId>org.apache.maven.plugins</groupId> 66 <artifactId>maven-compiler-plugin</artifactId> 67 <configuration> 68 <source>1.6</source> 69 <target>1.6</target> 70 </configuration> 71 </plugin> 72 </plugins> 73 </build> 74 <dependencies> 75 <dependency> 76 <groupId>com.fasterxml.jackson.core</groupId> 77 <artifactId>jackson-core</artifactId> 78 <version>2.4.3</version> 79 </dependency> 80 <dependency> 81 <groupId>org.jruby</groupId> 82 <artifactId>jruby-complete</artifactId> 83 <version>1.7.13</version> 84 <scope>provided</scope> 85 </dependency> 86 <dependency> 87 <groupId>com.google.protobuf</groupId> 88 <artifactId>protobuf-java</artifactId> 89 <version>3.0.0-alpha-3</version> 90 </dependency> 91 </dependencies> 92</project> 93