mvn clean package fails. Unable to execute mojo

I just pulled the most recent version of mamute from github. Running both mvn clean package -DskipTests, and using the provided script result in an error.

[ERROR] Failed to execute goal pl.allegro:grunt-maven-plugin:1.4.1:grunt (default) on project mamute: Unable to execute mojo: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]

I'm running the latest version of Linux Mint (based on the most recent LTS release of ubuntu). I have installed node and npm and I have run npm install.

Some extra info on my system:

$ java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

$ which javac

$ mvn -version
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: /usr/java/default/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.16.0-38-generic", arch: "amd64", family: "unix"

$ echo $JAVA_HOME

Any help is greatly appreciated.

  • Can you share the whole maven log? Maybe on and posting the link here.

    Francisco Sokol   Jul 14th 2015
  • having same problem

    Jason   Jul 17th 2015
  • Can you check if you have grunt-cli globally installed with node?

    Leonardo Wolter   Jul 17th 2015
  • having same problem

    tomkast   Aug 04th 2015
  1. You will see these arrows in every question page. They allow you to upvote/downvote according to the relevancy of the question/answer.
  2. Edit your question/answer if you wish to change it or update it.
  3. If you dont understand something about the question, leave a comment asking. The answer field should be only used for answers.
  4. If the author of a question mark an answer as solution, this mark will be visible.
  5. Click here to see more details about the operation of the system!

0 answer

It is not the answer you were looking for? Search other questions with the tags maven grunt mojo package or make your own question.