Reputation: 21
Im currently having a problem that I believe is Maven. For an university project, we are requiered to use intelliJ IDEA, java SDK, Apache Maven and Isis. I tried to follow the tutorial for Isis, creating a project, paste the arquetype on the terminal to build it and the mvn clean install, just as I do that, its starts downloading the dependencies but reallyyy slow, Im taking about 2 hours downloading and still doing it, the other students can install it in 3 minutes, so something is definitely wrong. Any suggestions?
Try it on Ubuntu, Fedora, and Windows. No improvement, other archetypes are created fine. Try "mvn -T 1C clean install -Dmaven.test.skip -DskipTests" to skip test when building the project, no improvement. Try it on other notebook and same result! I went through the guide and setup of maven and isis and I dont see if Im doing something wrong.
I expect to uses Isis simpleApp archetype and build succesfully the project with maven under 5 minutes instead of 2 hours.
Upvotes: 2
Views: 6962
Reputation: 2201
Slowness for downloading maven dependencies is dependent on following factors:
On another note, For any maven module when, very first time, it is compiled, it would definitely take time as it will download all the dependencies which are not present in local .m2 folder.
One temporary solution is to copy .m2 folder from another student's machine.
Upvotes: 1