Skip to content

Commit

Permalink
[SHRINKRES-333] Exclude maven-plugin tests when tests are being skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
petrberan committed Jan 19, 2024
1 parent 76cddc1 commit 2509d59
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions maven/maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,26 @@
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>Skip tests</id>
<activation>
<property>
<name>skipTests</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<configuration>
<skipInvocation>true</skipInvocation>
<skipInstallation>true</skipInstallation>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 2509d59

Please sign in to comment.