Your problem may be in the Maven version.
If you run on the terminal:
$ dpkg --get-selection | grep -i maven
If you have something like maven2 , you have installed the old version 2 of Maven in your environment. Apparently, some goals or plugins are only available on the latest version 3.
So, in your Cloud9 environment, you can install version 3 as follows:
$ sudo apt-get remove maven2 $ sudo apt-get install maven $ export MAVEN_OPTS="-Xmx256m"
The last command to avoid your maven process, which should be killed by Cloud9 when it exceeds memory limits with maven, is likely to happen to you. [This happened to me: P]
You can read more about this here: How to use Cloud9 with Maven?
source share