Build local server for only one language, how to?

Hi, I was messing with pom files to get to build a local standalone version with just Portuguese language,
but I can’t seem to get rid of dependencies for: gui-commons (don’t need gui), command-line, and English language.

Is there a (easy) way to build just the htttp-server for Portuguese language?

Thanks