add maven-helper-plugin: show active profile

This commit is contained in:
Roberto Cirillo 2022-02-21 11:15:14 +01:00
parent 2b80696a81
commit 44c0025860
1 changed files with 17 additions and 2 deletions

19
pom.xml
View File

@ -439,7 +439,8 @@
</distributionManagement>
<build>
<plugins>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
@ -582,6 +583,7 @@
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
@ -1670,7 +1672,20 @@
<!-- attached to all profiles -->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-help-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>show-profiles</id>
<phase>compile</phase>
<goals>
<goal>active-profiles</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>