in Eclipse go to: Window -> Preferences -> Maven -> Installation: select a file (your settings.xml) for global settings for the embedded installation. The file can be located everywhere you want (the .m2 repository folder is a good location) and must fit the settings.xml style you can find in the documentation.

M2E setting file
I'm trying to write a command that's a one-line for loop containing a command that uses the &amp; operator to put the command in the background: 

for dir in $(ls); do command $dir &amp;; done


Where &amp; tells BASH to run command in the background. Yet BASH returns 

bash: syntax error near unexpected token `;'


What's going on here? How can I use &amp; in conjunction with ;? I tried enclosing things in quotes, like do "command $dir &amp;" or do command $dir "&amp;" but those have unexpected results. 
