Offline Maven issues
I have 2 identical servers, one has internet connection, the other does not.
I built the Maven / web app in IntelliJ on the internet connected machine, everything works fine.
I copied the project over to offline server to do some debugging, but I get errors in pom.xml:
Failed to read artifact descriptor for javax:javaee-api:jar:8.0
Failed to read artifact descriptor for org.bouncycastle.........
I copied the dependent jar files into the local maven (On Windows, user/.m2/repository/.....
When viewing pom.xml in editor - these errors appear when hovering over the 'project' tag. I also do not see the external libraries in project view that I see on the online system.
When doing a build, it complains about these external missing libraries.
Please sign in to leave a comment.
Hello,
Have you tried to enable "Work offline" option in "Settings | Build... | Build Tools | Maven" ?