• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
7  <groupId>com.google.i18n.libphonenumber</groupId>
8  <artifactId>metadata</artifactId>
9  <version>1.0-SNAPSHOT</version>
10
11  <properties>
12    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13  </properties>
14
15  <build>
16    <plugins>
17
18      <plugin>
19        <groupId>com.github.os72</groupId>
20        <artifactId>protoc-jar-maven-plugin</artifactId>
21        <version>3.11.4</version>
22        <executions>
23          <execution>
24            <id>generate-proto</id>
25            <phase>generate-sources</phase>
26            <goals>
27              <goal>run</goal>
28            </goals>
29            <configuration>
30              <protocVersion>3.1.0</protocVersion>
31              <inputDirectories>
32                <include>src/main/proto</include>
33              </inputDirectories>
34              <outputDirectorySuffix>proto</outputDirectorySuffix>
35              <addSources>main</addSources>
36            </configuration>
37          </execution>
38        </executions>
39      </plugin>
40
41      <plugin>
42        <groupId>org.apache.maven.plugins</groupId>
43        <artifactId>maven-compiler-plugin</artifactId>
44        <version>3.8.1</version>
45        <configuration>
46          <source>11</source>
47          <target>11</target>
48        </configuration>
49        <executions>
50          <execution>
51            <id>process-annotations</id>
52            <phase>generate-sources</phase>
53            <goals>
54              <goal>compile</goal>
55            </goals>
56            <configuration>
57              <compilerArgs>
58                <arg>-proc:only</arg>
59              </compilerArgs>
60            </configuration>
61          </execution>
62          <execution>
63            <!-- using an id of default-compile will override the default execution -->
64            <id>default-compile</id>
65            <phase>compile</phase>
66            <goals>
67              <goal>compile</goal>
68            </goals>
69            <configuration>
70              <compilerArgs>
71                <arg>-proc:none</arg>
72              </compilerArgs>
73            </configuration>
74          </execution>
75        </executions>
76      </plugin>
77
78      <plugin>
79        <groupId>org.apache.maven.plugins</groupId>
80        <artifactId>maven-javadoc-plugin</artifactId>
81        <version>3.2.0</version>
82        <configuration>
83          <source>8</source>
84          <nohelp>true</nohelp>
85          <quiet>true</quiet>
86          <doclint>all,-missing</doclint>
87        </configuration>
88      </plugin>
89    </plugins>
90  </build>
91
92  <dependencies>
93    <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
94    <dependency>
95      <groupId>com.google.guava</groupId>
96      <artifactId>guava</artifactId>
97      <version>29.0-jre</version>
98    </dependency>
99
100    <!-- https://mvnrepository.com/artifact/com.ibm.icu/icu4j -->
101    <dependency>
102      <groupId>com.ibm.icu</groupId>
103      <artifactId>icu4j</artifactId>
104      <version>67.1</version>
105    </dependency>
106
107    <!-- https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java -->
108    <dependency>
109      <groupId>com.google.protobuf</groupId>
110      <artifactId>protobuf-java</artifactId>
111      <version>3.12.2</version>
112    </dependency>
113
114    <!-- https://mvnrepository.com/artifact/com.google.auto.value/auto-value -->
115    <dependency>
116      <groupId>com.google.auto.value</groupId>
117      <artifactId>auto-value</artifactId>
118      <version>1.7.4</version>
119      <scope>provided</scope>
120    </dependency>
121
122    <!-- https://mvnrepository.com/artifact/com.google.auto.value/auto-value-annotations -->
123    <dependency>
124      <groupId>com.google.auto.value</groupId>
125      <artifactId>auto-value-annotations</artifactId>
126      <version>1.7.4</version>
127    </dependency>
128
129    <!-- https://mvnrepository.com/artifact/com.github.os72/protoc-jar-maven-plugin -->
130    <dependency>
131      <groupId>com.github.os72</groupId>
132      <artifactId>protoc-jar-maven-plugin</artifactId>
133      <version>3.11.4</version>
134    </dependency>
135
136    <!-- https://mvnrepository.com/artifact/com.google.code.findbugs/jsr305 -->
137    <dependency>
138      <groupId>com.google.code.findbugs</groupId>
139      <artifactId>jsr305</artifactId>
140      <version>3.0.2</version>
141    </dependency>
142
143    <!-- https://mvnrepository.com/artifact/com.google.truth/truth -->
144    <dependency>
145      <groupId>com.google.truth</groupId>
146      <artifactId>truth</artifactId>
147      <version>1.0.1</version>
148      <scope>test</scope>
149    </dependency>
150
151    <!-- https://mvnrepository.com/artifact/com.google.truth.extensions/truth-java8-extension -->
152    <dependency>
153      <groupId>com.google.truth.extensions</groupId>
154      <artifactId>truth-java8-extension</artifactId>
155      <version>1.0.1</version>
156      <scope>test</scope>
157    </dependency>
158  </dependencies>
159</project>
160