Skip to content

Commit 436aa7c

Browse files
authored
fix: introducing "flatten" profile to use the plugin (#984)
The plugin is not needed in this project but it's used in the downstream Java repositories. By specifying the profile in "Build with Airlock" check, we can ensure the required dependencies are available in Airlock.
1 parent 72bd486 commit 436aa7c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

java-shared-config/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,5 +728,18 @@
728728
</plugins>
729729
</build>
730730
</profile>
731+
<profile>
732+
<!-- Profile to use the flatten plugin. This is useful for testing
733+
the availability of the dependencies in Airlock. -->
734+
<id>flatten</id>
735+
<build>
736+
<plugins>
737+
<plugin>
738+
<groupId>org.codehaus.mojo</groupId>
739+
<artifactId>flatten-maven-plugin</artifactId>
740+
</plugin>
741+
</plugins>
742+
</build>
743+
</profile>
731744
</profiles>
732745
</project>

0 commit comments

Comments
 (0)