magefree / mage

Magic Another Game Engine
http://xmage.today
MIT License
1.9k stars 774 forks source link

Maven package not found #5559

Closed ghost closed 5 years ago

ghost commented 5 years ago

I clone my fork at idea, the idea raise the error: com.googlecode.jspf:jspf-core:0.9.1 not found.

ingmargoudt commented 5 years ago

Did you do a clean install of Mage.root ?

ghost commented 5 years ago

no, I clone the project at my downstream repository and open it.After configured maven, the idea show this error at a lot of many source file.

Orochi4268 commented 5 years ago

Did you do a clean install of Mage.root ?

I tried doing it but it still didn't work

Orochi4268 commented 5 years ago

image

JayDi85 commented 5 years ago

You must import project sources as maven project and selects java 1.8 (if you haven't that then you must install it first).

shot_190129_135309

After that open project and create new maven configuration with root folder and clean install -DskipTests commands. It's compile and build all files, also it's generates new source files (e.g. to process config files). After that you can run any projects by maven or by IntelliJ itself by run (see wiki for run configuration examples).

shot_190129_135555

Orochi4268 commented 5 years ago

image image

JayDi85 commented 5 years ago

Check your connection to JBoss repository (can you open that link?): https://repository.jboss.org/nexus/content/groups/public

You must have internet connection to download all files/libraries for build.

ghost commented 5 years ago

@JayDi85 We can connect to JBoss repository

JayDi85 commented 5 years ago

Well, I'm tested it on new machine with fresh install -- all works fine. It's a connection problem from your side (proxy).

Steps:

Your error logs shows China's IP address (120.79.243.165:8081) instead real jboss repository. If you use proxy then you must setup it in IntelliJ (find "proxy" in project settings window) and in maven (find maven config file and setup proxy data).