jpackage-maven-plugin icon indicating copy to clipboard operation
jpackage-maven-plugin copied to clipboard

Skip mode for parent in multi-module projects

Open giorgioinf opened this issue 4 years ago • 0 comments

I'm testing the plugin in multi-module project context.

The parent project aggregates all modules, but a child module would generate platform installers.

  • Parent/
    • Child/ => Package Module
    • Util/ ...

Most of maven plugins accepts a <skip>true</skip> configuration, enabling us to propagate the goals from parent to the children.

Example:

Parent

<plugin>
  <groupId>org</groupId>
   <artifactId>art</artifactId>
   <configuration>
     <skip>true</skip>
   </configuration>
</plugin> 

Child

<plugin>
  <groupId>org</groupId>
   <artifactId>art</artifactId>
   <configuration>
     <skip>false</skip>
   </configuration>
</plugin> 

giorgioinf avatar Oct 02 '20 19:10 giorgioinf