Unable to load Maven’s central repo list in Eclipse
I downloaded Eclipse 2024-06 with built-in m2e integration (for Java developers). However, I am not able to view the central repo’s list at all via Eclipse’s ‘Maven Repository’ view. In fact, under ‘global repos’ node there are no URL entries at all and the local repository path is greyed out. Firewall is not blocking.
M2E in Eclipse (Maven Integration): how to see actual Maven output and customize builds?
I might be missing something fundamental here, but if I need to debug a Maven Project in Eclipse, I’m used to simply select Project -> Clean or Build Project, then look to the Errors view to find and fix all the issues and then debug. But I never saw actual Maven build output of m2eclipse (M2E), like how it downloads dependencies, compiles modules, etc. How can I see that? Also, how can I customize such a build, like by adding a custom variable or specifying custom location for settings.xml using –settings flag?
Eclipse 2024-06 shows “maven dependency not found” for Java FX, while earlier versions work
I have the following issue with Eclipse 2024-06
: A project that references
Cannot infer type argument(s) for x after download of newest eclipse version
After downloading the newest version of eclipse (2024-6, had 2021-6 before) eclipse gives me 5k Errors of type “Cannot infer type argument(s) for…”. In IntelliJ there is no problem and i can build my project in git bash. I already removed .classpath .project and .settings from the project and all its nested projects and also deleted everything and checked it out new from git.
Maven: Change deploy directory of /src/main/resources
In a dynamic project in Eclipse I would like the files under /src/main/resource
to be deployed in a directory other than WEB-INF/classes
(specifically I would like to deploy them in WEB-INF/cfg
).
mvn MAVEN command under Ubuntu: the JAVA_HOME environment variable is not defined correctly. How is possible?
I wanted to try Eclipse (since a very long time far far ago).
I got an issue opening an Eclipse project (Ubuntu 22.04 / OpenJDK 14 / Eclipse 4.31) :
Failed to execute mojo org.apache.maven.plugins:maven-enforcer-plugin:3.0.0:enforce {execution: enforce-rules} (org.apache.maven.plugins:maven-enforcer-plugin:3.0.0:enforce:enforce-rules:validate)
Eclipse can’t find Maven archetypes
I’m trying to use a Maven archetype in Eclipse. I go to File -> New -> New Maven Project -> Select an Archetype and from there I select anything under org.apache.maven.archetypes. It takes a long time and then I get an error like so: