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.vertispan.grpc</groupId >
8+ <artifactId >grpc-web-gwt-parent</artifactId >
9+ <version >HEAD-SNAPSHOT</version >
10+ </parent >
11+
12+ <artifactId >grpc-gwt</artifactId >
13+ <version >1.63.1-1-SNAPSHOT</version >
14+ <packaging >gwt-lib</packaging >
15+
16+ <properties >
17+ <grpc .version>1.63.1</grpc .version>
18+
19+ <maven .compiler.source>11</maven .compiler.source>
20+ <maven .compiler.target>11</maven .compiler.target>
21+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
22+
23+ <maven .gwt.plugin>1.1.0</maven .gwt.plugin>
24+
25+ <maven .gpg.plugin>1.6</maven .gpg.plugin>
26+ <maven .javadoc.plugin>3.2.0</maven .javadoc.plugin>
27+ <maven .source.plugin>3.2.1</maven .source.plugin>
28+ </properties >
29+
30+ <dependencies >
31+ <dependency >
32+ <groupId >com.vertispan.protobuf</groupId >
33+ <artifactId >protobuf-gwt</artifactId >
34+ <version >3.25.4-2</version >
35+ </dependency >
36+
37+ <dependency >
38+ <groupId >com.google.guava</groupId >
39+ <artifactId >guava-gwt</artifactId >
40+ </dependency >
41+
42+ <dependency >
43+ <groupId >com.google.api.grpc</groupId >
44+ <artifactId >proto-google-common-protos</artifactId >
45+ <version >2.29.0</version >
46+ </dependency >
47+ <dependency >
48+ <groupId >com.google.api.grpc</groupId >
49+ <artifactId >proto-google-common-protos</artifactId >
50+ <version >2.29.0</version >
51+ <classifier >sources</classifier >
52+ </dependency >
53+
54+
55+ <dependency >
56+ <groupId >org.gwtproject</groupId >
57+ <artifactId >gwt-dev</artifactId >
58+ <scope >test</scope >
59+ </dependency >
60+ <dependency >
61+ <groupId >org.gwtproject</groupId >
62+ <artifactId >gwt-user</artifactId >
63+ <scope >test</scope >
64+ </dependency >
65+ <dependency >
66+ <groupId >junit</groupId >
67+ <artifactId >junit</artifactId >
68+ <version >4.13.2</version >
69+ <scope >test</scope >
70+ </dependency >
71+ </dependencies >
72+
73+ <build >
74+ <plugins >
75+ <plugin >
76+ <groupId >org.apache.maven.plugins</groupId >
77+ <artifactId >maven-dependency-plugin</artifactId >
78+ <version >3.8.1</version >
79+ <executions >
80+ <execution >
81+ <id >unpack</id >
82+ <goals >
83+ <goal >unpack</goal >
84+ </goals >
85+ <phase >generate-sources</phase >
86+ <configuration >
87+ <artifactItems >
88+ <artifactItem >
89+ <groupId >io.grpc</groupId >
90+ <artifactId >grpc-api</artifactId >
91+ <version >${grpc.version} </version >
92+ <type >jar</type >
93+ <classifier >sources</classifier >
94+ </artifactItem >
95+ <artifactItem >
96+ <groupId >io.grpc</groupId >
97+ <artifactId >grpc-stub</artifactId >
98+ <version >${grpc.version} </version >
99+ <type >jar</type >
100+ <classifier >sources</classifier >
101+ </artifactItem >
102+ <artifactItem >
103+ <groupId >io.grpc</groupId >
104+ <artifactId >grpc-protobuf</artifactId >
105+ <version >${grpc.version} </version >
106+ <type >jar</type >
107+ <classifier >sources</classifier >
108+ </artifactItem >
109+ <artifactItem >
110+ <groupId >io.grpc</groupId >
111+ <artifactId >grpc-protobuf-lite</artifactId >
112+ <version >${grpc.version} </version >
113+ <type >jar</type >
114+ <classifier >sources</classifier >
115+ </artifactItem >
116+ </artifactItems >
117+ <outputDirectory >src/main/java</outputDirectory >
118+ </configuration >
119+ </execution >
120+ </executions >
121+ </plugin >
122+ <plugin >
123+ <groupId >org.openrewrite.maven</groupId >
124+ <artifactId >rewrite-maven-plugin</artifactId >
125+ <version >6.8.0</version >
126+ <executions >
127+ <execution >
128+ <id >rewrite</id >
129+ <phase >process-sources</phase >
130+ <goals >
131+ <goal >run</goal >
132+ </goals >
133+ </execution >
134+ </executions >
135+ <configuration >
136+ <runPerSubmodule >true</runPerSubmodule >
137+ <activeRecipes >
138+ <recipe >com.vertispan.recipes.GrpcForGwt</recipe >
139+ </activeRecipes >
140+ <configLocation >${maven.multiModuleProjectDirectory} /grpc-gwt/rewrite.yaml</configLocation >
141+ <exclusions >
142+ <exclusion >**/src/test/**</exclusion >
143+ </exclusions >
144+ </configuration >
145+ <dependencies >
146+ <dependency >
147+ <groupId >com.vertispan.recipes</groupId >
148+ <artifactId >gwt-compatible-recipes</artifactId >
149+ <version >2.0</version >
150+ </dependency >
151+ </dependencies >
152+ </plugin >
153+ <plugin >
154+ <groupId >net.ltgt.gwt.maven</groupId >
155+ <artifactId >gwt-maven-plugin</artifactId >
156+ <version >${maven.gwt.plugin} </version >
157+ <extensions >true</extensions >
158+ <configuration >
159+ <moduleName >io.grpc.Grpc</moduleName >
160+ </configuration >
161+ </plugin >
162+ <plugin >
163+ <groupId >org.apache.maven.plugins</groupId >
164+ <artifactId >maven-clean-plugin</artifactId >
165+ <version >3.4.1</version >
166+ <configuration >
167+ <!-- Also configure the plugin to remove the unpacked+rewritten sources -->
168+ <filesets >
169+ <fileset >
170+ <directory >src/main/java</directory >
171+ <includes >
172+ <include >io/</include >
173+ <include >META-INF/</include >
174+ </includes >
175+ </fileset >
176+ </filesets >
177+ </configuration >
178+ </plugin >
179+
180+ </plugins >
181+ </build >
182+
183+ <profiles >
184+ <!-- release profile to create sources, javadoc, and sign all artifacts before uploading -->
185+ <profile >
186+ <id >release</id >
187+ <build >
188+ <plugins >
189+ <plugin >
190+ <groupId >org.apache.maven.plugins</groupId >
191+ <artifactId >maven-source-plugin</artifactId >
192+ <version >${maven.source.plugin} </version >
193+ <executions >
194+ <execution >
195+ <id >attach-sources</id >
196+ <goals >
197+ <goal >jar-no-fork</goal >
198+ </goals >
199+ </execution >
200+ </executions >
201+ </plugin >
202+ <plugin >
203+ <groupId >org.apache.maven.plugins</groupId >
204+ <artifactId >maven-javadoc-plugin</artifactId >
205+ <version >${maven.javadoc.plugin} </version >
206+ <executions >
207+ <execution >
208+ <id >attach-javadocs</id >
209+ <goals >
210+ <goal >jar</goal >
211+ </goals >
212+ </execution >
213+ </executions >
214+ <configuration >
215+ <doclint >none</doclint >
216+ </configuration >
217+ </plugin >
218+ <!-- see http://central.sonatype.org/pages/working-with-pgp-signatures.html for more detail -->
219+ <plugin >
220+ <groupId >org.apache.maven.plugins</groupId >
221+ <artifactId >maven-gpg-plugin</artifactId >
222+ <version >${maven.gpg.plugin} </version >
223+ <executions >
224+ <execution >
225+ <id >sign-artifacts</id >
226+ <phase >verify</phase >
227+ <goals >
228+ <goal >sign</goal >
229+ </goals >
230+ </execution >
231+ </executions >
232+ </plugin >
233+ </plugins >
234+ </build >
235+ </profile >
236+ </profiles >
237+
238+ </project >
0 commit comments