Search code examples
mavenhomebrew

Can you install disabled Homebrew packages?


> brew install [email protected]
Error: [email protected] 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 [email protected]
    

    Remove the line:

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

    And install it with:

    HOMEBREW_NO_INSTALL_FROM_API=1 brew install [email protected]