Re: [OpenDaylight Discuss] Pom / Version management & ODL Parent Project - Proposal
Colin Dixon
Inline. On Wed, Oct 15, 2014 at 12:08 PM, Robert Varga <nite@...> wrote:
If it turns out that the "unless there's a good reason" is nearly always triggered because of the need to generate javadoc and things like that, then we just need to provide a good canonical structure for projects to follow and show them how to start with that (for new projects), migrate to it (for current projects), and maintain it. Does maven offer a way to have something in a pom file that does run there, but is explicitly not run when that pom file is included via a parent relationship? If so, that would solve some of our problem by reducing them number of exceptions to the rule that your directory parent should be your pom parent. If we could do that, I think we could then make it so that all pom files had their parent as either one of the fixed number of templates or their directory parent. The fixed number of templates could have their parent be the logical and directory-based root pom because they wouldn't have to worry about bulling in any root build behavior. Again, this is all predicated on functionality that I'm not sure maven has. We could ask for the functionality though.
See comments above.
|
|