Skip to content

Commit cbe6abc

Browse files
committed
Remove automatic active-profiles logic
This mostly reverts 6155484. Unfortunately, for multi-module projects, this logic ends up displaying the active profiles for each project in the reactor, for every module that builds. So you end up with N^2 messages about active profiles. If you want to see the active profiles for your multi-module (or single-module) project, all you have to do is prepend the goal; e.g.: mvn help:active-profiles clean install
1 parent 59e7a24 commit cbe6abc

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

pom.xml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -456,15 +456,6 @@
456456
<plugin>
457457
<artifactId>maven-help-plugin</artifactId>
458458
<version>${maven-help-plugin.version}</version>
459-
<executions>
460-
<execution>
461-
<id>show-active-profiles</id>
462-
<phase>validate</phase>
463-
<goals>
464-
<goal>active-profiles</goal>
465-
</goals>
466-
</execution>
467-
</executions>
468459
</plugin>
469460

470461
<plugin>
@@ -1044,10 +1035,6 @@
10441035
<artifactId>maven-failsafe-plugin</artifactId>
10451036
</plugin>
10461037

1047-
<plugin>
1048-
<artifactId>maven-help-plugin</artifactId>
1049-
</plugin>
1050-
10511038
<!-- Create -sources.jar when building. -->
10521039
<plugin>
10531040
<artifactId>maven-source-plugin</artifactId>

0 commit comments

Comments
 (0)