Skip to content

[MNG-7391] Add MojoExecution strategy and runner required by Maven Build Cache Extension #9173

Closed

Description

@jira-importer

Hervé Boutemy opened MNG-7391 and commented

Maven Build Cache Extension has been provided as a maven-core update, but extracted to a separate module then a separate Git repository to provide an extension: see MNG-7129 == MBUILDCACHE-1

the extension just requires a small API in Maven core to be able to inject Build Cache: MojoExecution strategy and runner
By default, MojoExecution strategy is to run Mojos
Build Cache Extension can has a more advanced strategy that can introduce cache = inject MojoExecution result taken from cache to avoid running the Mojo


Attachments:

Issue Links:

  • MBUILDCACHE-2 Extract caching system out of maven-core
    ("is required by")
  • MBUILDCACHE-1 [Deutsche Bank contribution] Incremental build with local and remote(shared) cache
    ("is required by")

Remote Links:

Backported to: 4.0.0-alpha-2, 3.9.0

0 votes, 7 watchers

Activity

  1. jira-importer commented on Mar 9, 2022

    @jira-importer
    Author
  2. jira-importer commented on Sep 14, 2022

    @jira-importer
    Author

    tong commented

    https://github.com/apache/maven-build-cache-extension

     

    I don't found maven-build-cache-extension in maven center repository. How could I use this extension?

      !image-2022-09-14-14-14-58-145.png|width=365,height=107!

     

    thanks !

     

  3. jira-importer commented on Sep 14, 2022

    @jira-importer
    Author

    Guillaume Nodet commented

    maven-build-cache-extension has not been released yet, we're waiting for maven 3.9.0 which contains required changes.

  4. jira-importer commented on Sep 14, 2022

    @jira-importer
    Author

    tong commented

    I used 3.9.0-SNAPSHOT package the project,  the maven-build-cache-extension seems like not work.  Is there something wrong with my operation?

    thanks a lot.

     

    !image-2022-09-14-19-18-12-181.png!

    !image-2022-09-14-19-16-00-915.png!

  5. jira-importer commented on Sep 15, 2022

    @jira-importer
    Author

    tong commented

    Appreciate very much, It worked. And It's a huge improvement in speed. 
    Really looking forward to this build Cache extension.  And, do you known when maven 3.9.0  to release?

  6. jira-importer commented on Sep 19, 2022

    @jira-importer
    Author

    Maximilian Novikov commented

    good to hear you've got a huge improvement in speed.... Reg 3.9 release it's better to ask at [[email protected]|mailto:[email protected]]

  7. jira-importer commented on Sep 20, 2022

    @jira-importer
    Author

    Red commented

    I added maven-build-cache-extension in my project, everytime i execute mvn clean package , if hit cache, there will be no jar in target dir, is it as expected or something goes wrong 
    !image-2022-09-20-11-03-44-847.png!

  8. added
    enhancement
    priority:minor
    on Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementpriority:minor

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions