[ https://issues.apache.org/jira/browse/MNG-5697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17002263#comment-17002263 ]
Robert Scholte commented on MNG-5697: ------------------------------------- ??would this be backwards compatible??? Yes. All our packaging-plugins already have this since their 3.0.0 version. It works already, if you add {{<extensions>true</extensions>}}. What is still missing is some propertyfile that maps the packaging-type to a versioned plugin, which activates this extension. It can be as simply as: {noformat:title=bindings.xml} jar=org.apache.maven.plugins\:maven-jar-plugin\:3.2.0 #etc... {noformat} IIRC [~hboutemy] is a bit worried that it exposes a bit too much, so this needs a lot of testing. But it'll make Maven much cleaner, and it'll make the behavior of maven-plugins and custom plugins the same. > remove LifecycleMapping and ArtifactHandler from maven-core: move to target > packaging plugin > -------------------------------------------------------------------------------------------- > > Key: MNG-5697 > URL: https://issues.apache.org/jira/browse/MNG-5697 > Project: Maven > Issue Type: Improvement > Components: Plugins and Lifecycle > Reporter: Robert Scholte > Priority: Major > > Maven Core should only be aware of the pom packaging details, the rest of the > {{ArtifactHandlers}} and {{LifecycleMappings}} should be moved to their own > packaging plugin: > - jar packaging: maven-jar-plugin > - ejb and ejb3 packagings: maven-ejb-plugin > - maven-plugin packaging: maven-plugin-plugin > - war packaging: maven-war-plugin > - ear packaging: maven-ear-plugin > - rar packaging: maven-rar-plugin > - par packaging: ? > {{LifecycleMappings}} > http://maven.apache.org/ref/3.2.5/maven-core/default-bindings.html > {{ArtifactHandlers}} > http://maven.apache.org/ref/3.2.5/maven-core/artifact-handlers.html > Maven core should then get the lifecycle mappings and artifact handlers > configurations from the plugin at the beginning or the build, before begin > able to calculate the build plan -- This message was sent by Atlassian Jira (v8.3.4#803005)