Skip to content

Commit ff15184

Browse files
committed
release 0.7
Signed-off-by: Dmitrii Tikhomirov <chani.liet@gmail.com>
1 parent 8ba908d commit ff15184

2 files changed

Lines changed: 37 additions & 63 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
*.iml
77
target/
88
dependency-reduced-pom.xml
9+
.flattened-pom.xml

pom.xml

Lines changed: 36 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,13 @@
6666
<maven.fmt.plugin>2.9</maven.fmt.plugin>
6767
<maven.license.plugin>3.0</maven.license.plugin>
6868
<maven.shade.plugin>3.2.4</maven.shade.plugin>
69-
<maven.deploy.plugin>2.8.2</maven.deploy.plugin>
7069
<maven.gpg.plugin>1.6</maven.gpg.plugin>
7170
<maven.javadoc.plugin>3.2.0</maven.javadoc.plugin>
7271
<maven.source.plugin>3.2.1</maven.source.plugin>
7372
<maven.release.plugin>2.5.3</maven.release.plugin>
7473
<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>
7776

7877
<!-- generation related deps -->
7978
<javaparser.core.version>3.13.1</javaparser.core.version>
@@ -139,11 +138,6 @@
139138
<artifactId>fmt-maven-plugin</artifactId>
140139
<version>${maven.fmt.plugin}</version>
141140
</plugin>
142-
<plugin>
143-
<groupId>org.apache.maven.plugins</groupId>
144-
<artifactId>maven-deploy-plugin</artifactId>
145-
<version>${maven.deploy.plugin}</version>
146-
</plugin>
147141
<plugin>
148142
<groupId>org.apache.maven.plugins</groupId>
149143
<artifactId>maven-source-plugin</artifactId>
@@ -154,11 +148,6 @@
154148
<artifactId>maven-shade-plugin</artifactId>
155149
<version>${maven.shade.plugin}</version>
156150
</plugin>
157-
<plugin>
158-
<groupId>org.apache.maven.plugins</groupId>
159-
<artifactId>maven-release-plugin</artifactId>
160-
<version>${maven.release.plugin}</version>
161-
</plugin>
162151
<plugin>
163152
<groupId>org.apache.maven.plugins</groupId>
164153
<artifactId>maven-javadoc-plugin</artifactId>
@@ -169,11 +158,6 @@
169158
<artifactId>maven-gpg-plugin</artifactId>
170159
<version>${maven.gpg.plugin}</version>
171160
</plugin>
172-
<plugin>
173-
<groupId>com.vertispan.j2cl</groupId>
174-
<artifactId>j2cl-maven-plugin</artifactId>
175-
<version>${maven.j2cl.plugin}</version>
176-
</plugin>
177161
</plugins>
178162
</pluginManagement>
179163

@@ -241,38 +225,6 @@
241225
</execution>
242226
</executions>
243227
</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>
276228
<plugin>
277229
<groupId>org.apache.maven.plugins</groupId>
278230
<artifactId>maven-javadoc-plugin</artifactId>
@@ -285,7 +237,6 @@
285237
</build>
286238

287239
<profiles>
288-
<!-- release profile to create sources, javadoc, and sign all artifacts before uploading -->
289240
<profile>
290241
<id>release</id>
291242
<build>
@@ -305,7 +256,6 @@
305256
</execution>
306257
</executions>
307258
</plugin>
308-
<!-- see http://central.sonatype.org/pages/working-with-pgp-signatures.html for more detail -->
309259
<plugin>
310260
<groupId>org.apache.maven.plugins</groupId>
311261
<artifactId>maven-gpg-plugin</artifactId>
@@ -319,20 +269,43 @@
319269
</execution>
320270
</executions>
321271
</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>
322306
</plugins>
323307
</build>
324308
</profile>
325309
</profiles>
326310

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-
338311
</project>

0 commit comments

Comments
 (0)