patkua@work

Another maven workaround – Disabling parent defined plugins from running

Perfect. Just what we need when someone forces a parent pom onto your project…

<build>
  <plugins>
     <plugin>
        <artifactId>thePluginArtifact</artifactId>
        <groupId>thePluginGroup</groupId>
        <executions>
           <execution>
              <id>the-execution-id</id>
              <phase>none</phase>
           </execution>
        </executions>
     </plugin>
  </plugins>
</build>

Details provided from here.

Exit mobile version