Re: [OpenDaylight Discuss] Pom / Version management & ODL Parent Project - Proposal
Robert Varga
On 10/15/2014 07:23 PM, Colin Dixon
wrote:
Ditto.
While doing javadoc:aggregate for bgpcep I looked precisely for this and I simply could not find it. That's when I realized that, unlike in many a build system, the directory hierarchy and artifact hierarchy are independent in maven world.
We could, but we need to think about how that functionality would be delivered. Maven 3.2.3 is out, we are just migrating to 3.1.1. It will be years before that functionality would be reasonably deployed. Then again, it may already be possible and it was just that it was a bit more arcane than I was willing to go. We certainly can ask the maven folk for advice, but for that we need to state what we want to do and why. I think we need to look at what our current projects with nested artifacts do and why. In BGPCEP we tried defining things in parent directory poms, and it does not work out that great. It actually creates more places where things are (re)defined, making debugging more difficult -- and saves exactly a single line of XML when compared to 'all artifacts point to project-wide parent', two if your subdirectory comes with a different version than your project-wide thing is. Thanks, Robert
|
|