File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 106106 <!-- Plugins not managed by the JBoss parent POM: -->
107107 <maven-wrapper-plugin .version>3.3.2</maven-wrapper-plugin .version>
108108 <nexus-staging .plugin.version>1.7.0</nexus-staging .plugin.version>
109+ <flatten-maven-plugin .version>1.5.0</flatten-maven-plugin .version>
109110
110111 <!--
111112 We don't want to publish or sign any modules by default.
327328 <stagingProgressTimeoutMinutes >60</stagingProgressTimeoutMinutes >
328329 </configuration >
329330 </plugin >
331+ <plugin >
332+ <groupId >org.codehaus.mojo</groupId >
333+ <artifactId >flatten-maven-plugin</artifactId >
334+ <version >${flatten-maven-plugin.version} </version >
335+ <configuration >
336+ <outputDirectory >${project.build.directory} </outputDirectory >
337+ <!-- Keep things like url, inceptionYear, authors...
338+ everything that's required by the OSSRH Maven repository -->
339+ <flattenMode >ossrh</flattenMode >
340+ </configuration >
341+ <executions >
342+ <execution >
343+ <id >flatten-pom</id >
344+ <phase >process-resources</phase >
345+ <goals >
346+ <goal >flatten</goal >
347+ </goals >
348+ </execution >
349+ </executions >
350+ </plugin >
330351 </plugins >
331352 </pluginManagement >
332353 <plugins >
364385 </execution >
365386 </executions >
366387 </plugin >
388+ <plugin >
389+ <groupId >org.codehaus.mojo</groupId >
390+ <artifactId >flatten-maven-plugin</artifactId >
391+ </plugin >
367392 </plugins >
368393 </build >
369394
You can’t perform that action at this time.
0 commit comments