On 4-7-2020 08:08:00, Mark Derricutt <[email protected]> wrote: I thought I’d responded - this has been a long time coming, and has been discussed numerous times over the past few years, and I’m quite excited to give it a bash, and see how well it works, and see if/what any implications this has for our tiles-maven-plugin.
I still need to find time to dig into this. Robert - is there anything specific one does to “enable” this currently - or is the current merge simply the machinery to take the build pom (even if its a 4.0.0 model) and produce the consumer pom. Robert Scholte: There is a feature toggle, see https://github.com/apache/maven/blob/master/maven-model-builder/src/main/java/org/apache/maven/feature/Features.java#L34 Here you see the name, which is still part of discussion because it is not that experimental anymore, and its default value. Currently I don’t see any diffs between my pom.xml, and the pom.xml that gets included inside the .jar file, I tried doing a “mvn deploy” to check the version that got deployed, but yields an missing class exception using 2.8.2: Robert Scholte: That is one one the next important steps that needs to be implemented: the archiver should include the consumer pom.xml, not the local pom. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project smx3.reporting: Execution default-deploy of goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy failed: A required class was missing while executing org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy: org/eclipse/aether/transform/FileTransformer [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>org.apache.maven.plugins:maven-deploy-plugin:2.8.2 Robert Scholte: Does this mean that the install:install did work? That would be interesting. I am not aware of that issue. Is there already a JIRA ticket for it, because this must be solved before the next release. (I’m unable to currently use 3.0.0-M1 for the same reason either). Hrm. Mark From: Jaroslav Tulach Reply: Maven Developers List Date: 4 July 2020 at 5:35:37 PM To: dev Cc: [email protected] , [email protected] , [email protected] , [email protected] Subject: Re: Maven moving to the next level: the build/consumer pom Hello Robert, I am not sure how to deal with your announcement and given no reaction on the dev@netbeans mailing list, I am probably not alone. Can you formulate
