Just wanted to know how inheritance works in maven. Lets say i have pom project-a and project-b which inherits project-a. Below snippet shows maven-release plugin configuration.
Now, another jar project-c extends project-b. If i release project-c using maven release plugin, will both profiles profile1 and profile2 will be executed or ONLY profile2 is executed?
Ok thanks. Could you please help me achieve below requirement?
As i mentioned in the example, project-c is extending project-b and when project-c is released profile1 and profile2 both should be applied. I have another project project-d that extends project-a and when it is released only profile1 should be applied.