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
D:\ATK\java-android-kiosk-web-master\android-kiosk-web-master>mvn install

[INFO] Scanning for projects...

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] 'dependencies.dependency.[com.hmdm:jwt:0.1.0]' for com.hmdm:jwt:0.1.0 is referencing itself. @ com.hmdm:root:0.1.0, D:\ATK\java-android-kiosk-web-master\android-kiosk-web-master\pom.xml, line 331, column 15

[FATAL] 'dependencies.dependency.[com.hmdm.plugin:devicelog-core:0.1.0]' for com.hmdm.plugin:devicelog-core:0.1.0 is referencing itself. @ com.hmdm:root:0.1.0, D:\ATK\java-android-kiosk-web-master\android-kiosk-web-master\pom.xml, line 336, column 15

 @

[ERROR] The build could not read 2 projects -> [Help 1]

[ERROR]

[ERROR]   The project com.hmdm:jwt:0.1.0 (D:\ATK\java-android-kiosk-web-master\android-kiosk-web-master\jwt\pom.xml) has 1 error

[ERROR]     'dependencies.dependency.[com.hmdm:jwt:0.1.0]' for com.hmdm:jwt:0.1.0 is referencing itself. @ com.hmdm:root:0.1.0, D:\ATK\java-android-kiosk-web-master\android-kiosk-web-master\pom.xml, line 331, column 15

[ERROR]

[ERROR]   The project com.hmdm.plugin:devicelog-core:0.1.0 (D:\ATK\java-android-kiosk-web-master\android-kiosk-web-master\plugins\devicelog\core\pom.xml) has 1 error

[ERROR]     'dependencies.dependency.[com.hmdm.plugin:devicelog-core:0.1.0]' for com.hmdm.plugin:devicelog-core:0.1.0 is referencing itself. @ com.hmdm:root:0.1.0, D:\ATK\java-android-kiosk-web-master\android-kiosk-web-master\pom.xml, line 336, column 15

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
by (180 points)

1 Answer

0 votes

There is an error "dependency is referencing itself". Looks like you have added some changes in the pom.xml which caused circular dependencies. Note: the referenced positions pom.xml, line 331, column 15 and pom.xml, line 336, column 15 do not point to anything in the original pom files. 

I recommend you to clone the original repository, build it, then compare the code and find the change raising the issue.

by (36.4k points)
...