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

Commit f368477

Browse files
committed
Moves plugin to top level pom
1 parent 6c4d9c5 commit f368477

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

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

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -24,31 +24,6 @@
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>
5227
<plugin>
5328
<groupId>org.apache.maven.plugins</groupId>
5429
<artifactId>maven-checkstyle-plugin</artifactId>

pom.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,31 @@
7878
<directory>target</directory>
7979
<finalName>${project.artifactId}-${project.version}</finalName>
8080
<plugins>
81+
<plugin>
82+
<groupId>org.codehaus.mojo</groupId>
83+
<artifactId>flatten-maven-plugin</artifactId>
84+
<version>1.3.0</version>
85+
<configuration>
86+
</configuration>
87+
<executions>
88+
<!-- enable flattening -->
89+
<execution>
90+
<id>flatten</id>
91+
<phase>process-resources</phase>
92+
<goals>
93+
<goal>flatten</goal>
94+
</goals>
95+
</execution>
96+
<!-- ensure proper cleanup -->
97+
<execution>
98+
<id>flatten.clean</id>
99+
<phase>clean</phase>
100+
<goals>
101+
<goal>clean</goal>
102+
</goals>
103+
</execution>
104+
</executions>
105+
</plugin>
81106
<plugin>
82107
<groupId>org.apache.maven.plugins</groupId>
83108
<artifactId>maven-checkstyle-plugin</artifactId>

0 commit comments

Comments
 (0)