|
66 | 66 | <maven.fmt.plugin>2.9</maven.fmt.plugin> |
67 | 67 | <maven.license.plugin>3.0</maven.license.plugin> |
68 | 68 | <maven.shade.plugin>3.2.4</maven.shade.plugin> |
69 | | - <maven.deploy.plugin>2.8.2</maven.deploy.plugin> |
70 | 69 | <maven.gpg.plugin>1.6</maven.gpg.plugin> |
71 | 70 | <maven.javadoc.plugin>3.2.0</maven.javadoc.plugin> |
72 | 71 | <maven.source.plugin>3.2.1</maven.source.plugin> |
73 | 72 | <maven.release.plugin>2.5.3</maven.release.plugin> |
74 | 73 | <maven.surfire.plugin>3.0.0-M1</maven.surfire.plugin> |
75 | | - <maven.nexus.staging.plugin>1.6.8</maven.nexus.staging.plugin> |
76 | | - <maven.scm.provider.gitexe>1.9.5</maven.scm.provider.gitexe> |
| 74 | + <maven.flatten.plugin>1.5.0</maven.flatten.plugin> |
| 75 | + <maven.central.publishing.plugin>0.9.0</maven.central.publishing.plugin> |
77 | 76 |
|
78 | 77 | <!-- generation related deps --> |
79 | 78 | <javaparser.core.version>3.13.1</javaparser.core.version> |
|
139 | 138 | <artifactId>fmt-maven-plugin</artifactId> |
140 | 139 | <version>${maven.fmt.plugin}</version> |
141 | 140 | </plugin> |
142 | | - <plugin> |
143 | | - <groupId>org.apache.maven.plugins</groupId> |
144 | | - <artifactId>maven-deploy-plugin</artifactId> |
145 | | - <version>${maven.deploy.plugin}</version> |
146 | | - </plugin> |
147 | 141 | <plugin> |
148 | 142 | <groupId>org.apache.maven.plugins</groupId> |
149 | 143 | <artifactId>maven-source-plugin</artifactId> |
|
154 | 148 | <artifactId>maven-shade-plugin</artifactId> |
155 | 149 | <version>${maven.shade.plugin}</version> |
156 | 150 | </plugin> |
157 | | - <plugin> |
158 | | - <groupId>org.apache.maven.plugins</groupId> |
159 | | - <artifactId>maven-release-plugin</artifactId> |
160 | | - <version>${maven.release.plugin}</version> |
161 | | - </plugin> |
162 | 151 | <plugin> |
163 | 152 | <groupId>org.apache.maven.plugins</groupId> |
164 | 153 | <artifactId>maven-javadoc-plugin</artifactId> |
|
169 | 158 | <artifactId>maven-gpg-plugin</artifactId> |
170 | 159 | <version>${maven.gpg.plugin}</version> |
171 | 160 | </plugin> |
172 | | - <plugin> |
173 | | - <groupId>com.vertispan.j2cl</groupId> |
174 | | - <artifactId>j2cl-maven-plugin</artifactId> |
175 | | - <version>${maven.j2cl.plugin}</version> |
176 | | - </plugin> |
177 | 161 | </plugins> |
178 | 162 | </pluginManagement> |
179 | 163 |
|
|
241 | 225 | </execution> |
242 | 226 | </executions> |
243 | 227 | </plugin> |
244 | | - <plugin> |
245 | | - <groupId>org.apache.maven.plugins</groupId> |
246 | | - <artifactId>maven-deploy-plugin</artifactId> |
247 | | - <version>${maven.deploy.plugin}</version> |
248 | | - <executions> |
249 | | - <execution> |
250 | | - <id>default-deploy</id> |
251 | | - <phase>deploy</phase> |
252 | | - <goals> |
253 | | - <goal>deploy</goal> |
254 | | - </goals> |
255 | | - </execution> |
256 | | - </executions> |
257 | | - </plugin> |
258 | | - <plugin> |
259 | | - <groupId>org.apache.maven.plugins</groupId> |
260 | | - <artifactId>maven-release-plugin</artifactId> |
261 | | - <version>${maven.release.plugin}</version> |
262 | | - <configuration> |
263 | | - <localCheckout>true</localCheckout> |
264 | | - <pushChanges>false</pushChanges> |
265 | | - <mavenExecutorId>forked-path</mavenExecutorId> |
266 | | - <arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments> |
267 | | - </configuration> |
268 | | - <dependencies> |
269 | | - <dependency> |
270 | | - <groupId>org.apache.maven.scm</groupId> |
271 | | - <artifactId>maven-scm-provider-gitexe</artifactId> |
272 | | - <version>${maven.scm.provider.gitexe}</version> |
273 | | - </dependency> |
274 | | - </dependencies> |
275 | | - </plugin> |
276 | 228 | <plugin> |
277 | 229 | <groupId>org.apache.maven.plugins</groupId> |
278 | 230 | <artifactId>maven-javadoc-plugin</artifactId> |
|
285 | 237 | </build> |
286 | 238 |
|
287 | 239 | <profiles> |
288 | | - <!-- release profile to create sources, javadoc, and sign all artifacts before uploading --> |
289 | 240 | <profile> |
290 | 241 | <id>release</id> |
291 | 242 | <build> |
|
305 | 256 | </execution> |
306 | 257 | </executions> |
307 | 258 | </plugin> |
308 | | - <!-- see http://central.sonatype.org/pages/working-with-pgp-signatures.html for more detail --> |
309 | 259 | <plugin> |
310 | 260 | <groupId>org.apache.maven.plugins</groupId> |
311 | 261 | <artifactId>maven-gpg-plugin</artifactId> |
|
319 | 269 | </execution> |
320 | 270 | </executions> |
321 | 271 | </plugin> |
| 272 | + <plugin> |
| 273 | + <groupId>org.sonatype.central</groupId> |
| 274 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 275 | + <version>${maven.central.publishing.plugin}</version> |
| 276 | + <extensions>true</extensions> |
| 277 | + <configuration> |
| 278 | + <publishingServerId>sonatype</publishingServerId> |
| 279 | + </configuration> |
| 280 | + </plugin> |
| 281 | + <plugin> |
| 282 | + <groupId>org.codehaus.mojo</groupId> |
| 283 | + <artifactId>flatten-maven-plugin</artifactId> |
| 284 | + <version>${maven.flatten.plugin}</version> |
| 285 | + <configuration> |
| 286 | + <flattenMode>oss</flattenMode> |
| 287 | + <updatePomFile>true</updatePomFile> |
| 288 | + </configuration> |
| 289 | + <executions> |
| 290 | + <execution> |
| 291 | + <id>flatten</id> |
| 292 | + <phase>process-resources</phase> |
| 293 | + <goals> |
| 294 | + <goal>flatten</goal> |
| 295 | + </goals> |
| 296 | + </execution> |
| 297 | + <execution> |
| 298 | + <id>flatten.clean</id> |
| 299 | + <phase>clean</phase> |
| 300 | + <goals> |
| 301 | + <goal>clean</goal> |
| 302 | + </goals> |
| 303 | + </execution> |
| 304 | + </executions> |
| 305 | + </plugin> |
322 | 306 | </plugins> |
323 | 307 | </build> |
324 | 308 | </profile> |
325 | 309 | </profiles> |
326 | 310 |
|
327 | | - <distributionManagement> |
328 | | - <snapshotRepository> |
329 | | - <id>ossrh</id> |
330 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
331 | | - </snapshotRepository> |
332 | | - <repository> |
333 | | - <id>ossrh</id> |
334 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
335 | | - </repository> |
336 | | - </distributionManagement> |
337 | | - |
338 | 311 | </project> |
0 commit comments