Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit d059c56

Browse files
committed
Centralizes version number
1 parent 9bcdd62 commit d059c56

File tree

2 files changed

+28
-6
lines changed

2 files changed

+28
-6
lines changed

modules/openapi-json-schema-generator-cli/pom.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,31 @@
2424
</resource>
2525
</resources>
2626
<plugins>
27+
<plugin>
28+
<groupId>org.codehaus.mojo</groupId>
29+
<artifactId>flatten-maven-plugin</artifactId>
30+
<version>1.3.0</version>
31+
<configuration>
32+
</configuration>
33+
<executions>
34+
<!-- enable flattening -->
35+
<execution>
36+
<id>flatten</id>
37+
<phase>process-resources</phase>
38+
<goals>
39+
<goal>flatten</goal>
40+
</goals>
41+
</execution>
42+
<!-- ensure proper cleanup -->
43+
<execution>
44+
<id>flatten.clean</id>
45+
<phase>clean</phase>
46+
<goals>
47+
<goal>clean</goal>
48+
</goals>
49+
</execution>
50+
</executions>
51+
</plugin>
2752
<plugin>
2853
<groupId>org.apache.maven.plugins</groupId>
2954
<artifactId>maven-checkstyle-plugin</artifactId>

pom.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
<name>openapi-json-schema-generator-project</name>
1414
<!-- RELEASE_VERSION -->
1515
<version>${revision}</version>
16-
<properties>
17-
<revision>0.9.9</revision>
18-
</properties>
1916
<!-- /RELEASE_VERSION -->
2017
<url>https://github.com/openapitools/openapi-json-schema-generator</url>
2118
<scm>
@@ -1178,8 +1175,6 @@
11781175
<module>modules/openapi-json-schema-generator-core</module>
11791176
<module>modules/openapi-json-schema-generator</module>
11801177
<module>modules/openapi-json-schema-generator-cli</module>
1181-
<module>modules/openapi-json-schema-generator-maven-plugin</module>
1182-
<module>modules/openapi-json-schema-generator-gradle-plugin</module>
11831178
<module>modules/openapi-json-schema-generator-online</module>
11841179
</modules>
11851180
</profile>
@@ -1246,9 +1241,11 @@
12461241
</repository>
12471242
</repositories>
12481243
<properties>
1244+
<!-- RELEASE_VERSION -->
1245+
<revision>0.9.9</revision>
1246+
<!-- /RELEASE_VERSION -->
12491247
<maven.compiler.source>1.8</maven.compiler.source>
12501248
<maven.compiler.target>1.8</maven.compiler.target>
1251-
12521249
<archunit.version>0.23.1</archunit.version>
12531250
<checkstyle.plugin.version>3.1.0</checkstyle.plugin.version>
12541251
<commons-cli.version>1.4</commons-cli.version>

0 commit comments

Comments
 (0)