Reputation: 1227
I have a multi modules project and wrote an extension. I want to use extension only for parent build, but when I add my extension in parent , it is executed for child module too. Is it possible to configure this behavior?
UPDATE
Parent pom
...
<modules>
<module>first</module>
<module>first</module>
</modules>
<build>
<extensions>
<extension>
<groupId>com.my.ext</groupId>
<artifactId>extension</artifactId>
</extension>
</extensions>
<pluginManagement>
<plugins>
<plugin>
Child pom
....
<parent>
<groupId>com.backend</groupId>
<artifactId>first</artifactId>
<version>PROJECT-SNAPSHOT</version>
<relativePath>../config</relativePath>
</parent>
...
Upvotes: 0
Views: 175