Mule EE jars command populate_m2_repo needs %MULE_HOME% env variable set in windows

StackOverflow https://stackoverflow.com/questions/18111378

  •  23-06-2022
  •  | 
  •  

Pergunta

When running populate_m2_repo C:\Users\me.m2\repository I get asked for %MULE_HOME% to be set. Typically on my computer I have more than one standalone version available for testing so its inconvenient to keep changing this variable every time a new standalone comes out.

Can someone explain why populate_m2_repo needs %MULE_HOME% to be set?

thanks

Foi útil?

Solução

Ever since mule 3.1.0 it is recommended not to set system wide the %MULE_HOME%, since the mule.bat script set it for you when not available.

That said the populate_m2_repo needs it to know where to find the artifact that need to be installed.

HTH

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top