xref: /aosp_15_r20/external/cronet/third_party/protobuf/ruby/pom.xml (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1<?xml version="1.0" encoding="UTF-8"?>
2<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/xsd/maven-4.0.0.xsd">
3    <modelVersion>4.0.0</modelVersion>
4    <parent>
5      <groupId>com.google</groupId>
6      <artifactId>google</artifactId>
7      <version>1</version>
8    </parent>
9
10    <groupId>com.google.protobuf.jruby</groupId>
11    <artifactId>protobuf-jruby</artifactId>
12    <version>3.21.12</version>
13    <name>Protocol Buffer JRuby native extension</name>
14    <description>
15      Protocol Buffers are a way of encoding structured data in an efficient yet
16      extensible format.
17    </description>
18    <inceptionYear>2014</inceptionYear>
19    <url>https://developers.google.com/protocol-buffers/</url>
20    <licenses>
21      <license>
22        <name>BSD-3-Clause</name>
23        <url>https://opensource.org/licenses/BSD-3-Clause</url>
24        <distribution>repo</distribution>
25      </license>
26    </licenses>
27    <scm>
28      <url>https://github.com/protocolbuffers/protobuf</url>
29      <connection>
30        scm:git:https://github.com/protocolbuffers/protobuf.git
31      </connection>
32    </scm>
33
34    <properties>
35        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36        <ruby.sources>lib/google</ruby.sources>
37        <jar.finalName>protobuf_java</jar.finalName>
38    </properties>
39    <build>
40        <plugins>
41            <plugin>
42                <groupId>org.apache.maven.plugins</groupId>
43                <artifactId>maven-assembly-plugin</artifactId>
44                <version>3.3.0</version>
45                <configuration>
46                    <finalName>${jar.finalName}</finalName>
47                    <outputDirectory>${ruby.sources}</outputDirectory>
48                    <appendAssemblyId>false</appendAssemblyId>
49                    <descriptorRefs>
50                        <descriptorRef>jar-with-dependencies</descriptorRef>
51                    </descriptorRefs>
52                </configuration>
53                <executions>
54                    <execution>
55                        <id>make-assembly</id>
56                        <phase>package</phase>
57                        <goals>
58                            <goal>single</goal>
59                        </goals>
60                    </execution>
61                </executions>
62            </plugin>
63            <plugin>
64              <groupId>org.apache.maven.plugins</groupId>
65              <artifactId>maven-compiler-plugin</artifactId>
66              <version>3.8.1</version>
67              <configuration>
68                <source>1.8</source>
69                <target>1.8</target>
70              </configuration>
71            </plugin>
72        </plugins>
73    </build>
74    <dependencies>
75        <!-- Ordering of dependencies matters to update_version.py -->
76        <dependency>
77          <groupId>com.google.protobuf</groupId>
78          <artifactId>protobuf-java-util</artifactId>
79          <version>3.21.12</version>
80        </dependency>
81        <dependency>
82            <groupId>org.jruby</groupId>
83            <artifactId>jruby-complete</artifactId>
84            <version>9.2.20.1</version>
85            <scope>provided</scope>
86        </dependency>
87    </dependencies>
88</project>
89