Skip to content

[MNG-5697] remove LifecycleMapping and ArtifactHandler from maven-core: move to target packaging plugin #6614

@jira-importer

Description

@jira-importer

Robert Scholte opened MNG-5697 and commented

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 of the build, before begin able to calculate the build plan


Sub-tasks:

  • MNG-7832 revert artifact handlers move to plugins

Issue Links:

  • MACR-30 Add LifecycleMapping and ArtifactHandler from maven-core to target packaging plugin
    ("is blocked by")

  • MEAR-198 Add LifecycleMapping and ArtifactHandler from maven-core to target packaging plugin
    ("is blocked by")

  • MEJB-72 Add LifecycleMapping and ArtifactHandler from maven-core to target packaging plugin
    ("is blocked by")

  • MJAR-183 Add LifecycleMapping and ArtifactHandler from maven-core to target packaging plugin
    ("is blocked by")

  • MPLUGIN-275 Move LifecycleMapping and ArtifactHandler from maven-core to target packaging plugin
    ("is blocked by")

  • MRAR-55 Add LifecycleMapping and ArtifactHandler from maven-core to target packaging plugin
    ("is blocked by")

  • MWAR-326 Add LifecycleMapping and ArtifactHandler from maven-core to target packaging plugin
    ("is blocked by")

  • MPOM-337 Load plugins containing lifecycle mapping/artifact handler with <extensions>true</extensions>
    ("causes")

  • MNG-8472 Sort out the problem about packaging in Maven 4
    ("causes")

  • MPLUGIN-402 report: allow to generate usage section in plugin-info.html with <extensions>true</extensions>

  • MNG-7508 Validate usage of <extensions>true</extensions> on plugins

  • MNG-7572 Plugin descriptor should indicate if plugin should be loaded as Maven build extension

  • MNG-7574 Never expose Mojo classes via Core Classloader

  • MNG-7264 Convert maven-core default-bindings.xml to Providers

  • MDEPLOY-71 DeployFile Mojo Does Not Handle Non-Core Artifact Types

0 votes, 7 watchers

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions