Movecraft icon indicating copy to clipboard operation
Movecraft copied to clipboard

Please fix build dependecies....

Open Buh13246 opened this issue 4 years ago • 3 comments

Describe the bug The plugin won't build correctly from IDE. The CD/CI crashes with the same error I had. I got it working via Terminal mvn, but sometimes the maven error is still there and the build will fail..

https://github.com/eirikh1996/Movecraft/runs/704085149

[ERROR] The build could not read 1 project -> [Help 1] [ERROR]
[ERROR] The project net.countercraft:movecraft-v1_8_R3:v1_8_R3 (/home/runner/work/Movecraft/Movecraft/modules/v1_8_R3/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for net.countercraft:movecraft-v1_8_R3:v1_8_R3: Could not find artifact net.countercraft:movecraft-parent:pom:parent in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2] [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 [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException ##[error]Process completed with exit code 1.

Expected behavior I would be glad if the build compiles everytime and direktly after clone without manipulating stuff or hope that maven will do magic to fix it...

Versions (please complete the following information): It seems like it's in there a long time (1.8 support). But yesterday I used the tag: v7.0.0-for-1.8.8-1.15.2--beta-24 (Date: Thu May 7 21:21:49 2020 +0200)

Thx :)

Buh13246 avatar Jun 04 '20 18:06 Buh13246

What directory are you compiling in

oh-noey avatar Jun 04 '20 18:06 oh-noey

I also think that the https://github.com/eirikh1996/Movecraft/blob/master/modules/api/dependency-reduced-pom.xml should not be part of the tree, because the file changes when I compile the Plugin. I think it would be good that the branch is still clean and not modifyed after compiling. Than I can checkout outher branches easier.

Buh13246 avatar Jun 04 '20 18:06 Buh13246

What directory are you compiling in

from Terminal im compiling from the git root (this works), but inside the IDE I try to use the (parent pom) target and this doesn't seem to work all the time..

I think the CD/CI should also be fixed...

Buh13246 avatar Jun 04 '20 18:06 Buh13246