I am using flatten-maven-plugin. What is the goal for consumer-pom? My answer is runtime dependencies in general, but we must not forget the facts that scm, jira is addon which let me to contact the team. Why you want to deploy both consumer and ordinal POM? Messy isn't it? And therefore existing tools might not be interested which is the reason why flatten == consumer for me. Or you want to force the Maven of next generation to lookup consumer-pom in order to again decrease the memory footprint? The other tools and IDEs may have another expectations like simplified dependencies resolution. From the IDE point of view why it should extract runtime dependencies from build-pom if it could be already provided in Maven Central. For instance I use IntelliJ IDEA. Every time I change a version it's a hell for the PC, all is frozen and project files are built internally. Why not to help the IDE to provide only relevant information in order to create internal project files.
On 8/29/16, Robert Scholte-6 [via Maven] <[email protected]> wrote: > > > On Mon, 29 Aug 2016 21:29:36 +0200, Tibor Digana <[email protected]> > wrote: > >> Hi Robert, >> >> Hm, sep.of.concern, this discussion does not have the end. We should >> start another more concrete. >> Let's list all first-level items of consumer POM I would need to have >> in my case and we will see where we go: >> parent, name, description, url, scm, issueManagement, dependencies, >> depMgt, distributionManagement/relocation+repository. > > Hi Tibor, > > Based on these fields you're talking not talking about the > consumer-pom/dom, but the flattened pom / reduced-deployment pom. > And even in that case there are some fields which I doubt are interesting. > > I've had a lot of discussions about the flatten-maven-plugin what it must > do and how it should work. It gave me a lot of extra insight about the > pom, experience required to have a proper implementation of the > reduced-deployment pom. > Goal: minimize the content of the 4.0.0 pom to reduce memory usage. > > The consumer pom is a completely different beast. > Goal: efficient dependency resolution. > > hopefully this makes it more clear, > Robert > >> >> Then how you want to cope with problem where a contributor want's to >> introduce a new scope, e.g. only-compile or something else? >> >> Cheers >> Tibor >> >> >> >> >> -- >> View this message in context: >> http://maven.40175.n5.nabble.com/Re-POM-Model-version-4-1-0-in-3-4-0-SNAPSHOTs-tp5878254p5879296.html >> Sent from the Maven Developers mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > > > _______________________________________________ > If you reply to this email, your message will be added to the discussion > below: > http://maven.40175.n5.nabble.com/Re-POM-Model-version-4-1-0-in-3-4-0-SNAPSHOTs-tp5878254p5879346.html > To start a new topic under Maven Developers, email > [email protected] > To unsubscribe from Maven Developers, visit > http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=142166&code=dGlib3JkaWdhbmFAYXBhY2hlLm9yZ3wxNDIxNjZ8LTI4OTQ5MjEwMg== -- Cheers Tibor -- View this message in context: http://maven.40175.n5.nabble.com/Re-POM-Model-version-4-1-0-in-3-4-0-SNAPSHOTs-tp5878254p5879364.html Sent from the Maven Developers mailing list archive at Nabble.com.
