Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

0 votes

Hi every body,

While i setup the mdm on intellij by folowing the instruction in the built.txt file, i get this error after runnig the commad : mvn install

[INFO] Headwind MDM ....................................... SUCCESS [  2.045 s]
[INFO] Core for MDM API ................................... SUCCESS [  9.916 s]
[INFO] JWT Auth for MDM API ............................... SUCCESS [  0.807 s]
[INFO] Push Notifications for MDM API ..................... SUCCESS [  1.676 s]
[INFO] Plugins for MDM Server ............................. SUCCESS [  0.058 s]
[INFO] Plugin Platform for MDM Server ..................... SUCCESS [  0.325 s]
[INFO] Device Log Plugin for MDM Server ................... SUCCESS [  0.036 s]
[INFO] Device Log Plugin for MDM Server - Core ............ SUCCESS [  0.473 s]
[INFO] Device Log Plugin for MDM Server - Postgres ........ SUCCESS [  0.474 s]
[INFO] Audit Plugin for MDM Server ........................ SUCCESS [  0.485 s]
[INFO] Messaging Plugin for MDM Server .................... SUCCESS [  1.123 s]
[INFO] Swagger UI ......................................... SUCCESS [  7.314 s]
[INFO] MDM Server ......................................... FAILURE [ 52.865 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:18 min
[INFO] Finished at: 2022-04-17T11:47:59+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.7.6:grunt (install js libs) on project server: Failed to run task: 'grunt resolve' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.ei
rslett:frontend-maven-plugin:1.7.6:grunt (install js libs) on project server: Failed to run task

(note : i have already run the cmd : cp server/build.properties.example server/build.properties )

Please help i want to run it in intellij

by (360 points)
Are you running the command "mvn install" in the project root directory, or in the "server" directory? You should run it in the project root directory.

1 Answer

0 votes
have you solved this problem? i also had this problem
by (180 points)
Probably there's some problem with the build environment. Try building the software on a fresh Ubuntu 22.04 LTS virtual machine.
...