mavenhomebrew

Can you install disabled Homebrew packages?


> brew install maven@3.5
Error: maven@3.5 has been disabled because it is not maintained upstream!

I don't want to have to install Maven 3.5, but I need to install Maven 3.5. Can I force Homebrew to install this package it clearly knows about?


Solution

  • You can edit the formula with:

    brew edit maven@3.5
    

    Remove the line:

    disable! date: "2022-07-31", because: :unmaintained
    

    And install it with:

    HOMEBREW_NO_INSTALL_FROM_API=1 brew install maven@3.5