java - Maven child module profile -


i have maven multi-module project. parent has test profile , includes child in profile itself.

  1. if run mvn -p test child module, parent's "test" profile executed?
  2. what if want provide test profile specific child module only?

  1. no. child inherits configuration parent, it's not buildchain relationship. while, since have specified child module, child built when parent gets built, point of view of child in case, parent dependency of type "pom".
  2. you execute build child test profile.

note that:


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -