Le dimanche 11 mars 2018, 20:40:39 CET Tibor Digana a écrit : > Is the consumer POM useful only for packaging=jar? no, it's useful for any packaging not =pom
> Because which other packagings use to have transitive dependencies as well? remember: consumer POM is just an explicit reduction of current POM when you don't build with it but just consume it Then transitive dependency management is here, not an option Regards, Hervé > > On Sun, Mar 11, 2018 at 8:36 PM, Tibor Digana <[email protected]> > > wrote: > > Why the column with build POM in table does not have all items green +? > > Why there are two consumer POM's? Some is old proposal and second is > > yours? > > Some consumer POMs may become BOM and there I would miss > > dependencyManagement. > > > > On Sun, Mar 11, 2018 at 6:03 PM, Hervé BOUTEMY <[email protected]> > > > > wrote: > >> Hi, > >> > >> I wrote a Proposal in the Wiki about Build vs Consumer POM [1] and coded > >> a > >> simplified model for the Consumer POM [2] > >> As written in the proposal, this would permit us to create new POM > >> versions > >> that change everything but not the Consumer POM part without breaking any > >> compatibility with existing Central repository users: build element is > >> the > >> main element that could be changed, adding new build > >> features/configuration > >> without affecting consumers. > >> > >> In addition to reviewing choices proposed for majority of POM elements, > >> there > >> are 4 elements that require more discussion: > >> - contributors > >> - mailingLists > >> - repositories > >> - profiles/activation > >> > >> Any thoughts? > >> > >> On the code, IMHO, the only missing part is a test of > >> flatten-maven-plugin to > >> check that everything works as expected in any situation. > >> And I suppose a discussion on what we do for the xsd > >> > >> Then we should be able to use this strategy for our own artifacts, before > >> updating POM model version in any newer Maven version starting with 3.6 > >> (yay!) > >> > >> Regards, > >> > >> Hervé > >> > >> > >> [1] https://cwiki.apache.org/confluence/display/MAVEN/Build+vs+ > >> Consumer+POM > >> > >> [2] http://maven.apache.org/studies/consumer-pom/maven-consumer.html > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
