Open christopinka opened 2 years ago
multi module project is kinda fighting me in intellij. Not sure what's up. mvn clean install
succeeds but project is broken in intellij. Lots of errors like 'java: package org.apache.maven.model does not exist'. Haven't had this problem with intellij and multi module recently. Thoughts? Latest intellij. Java 8. Maven 3.8.6.
Appears to be conventional project structure.
Some progress. Intellij doesn't seem to like the discrepancy between the project name and parent name. Oh well. But now getting Could not find or load main class fr.lteconsulting.pomexplorer.PomExporerApp
.
This is just an ide problem. The above is still an issue though. How do I go about debugging? Is there a non ui way to do this? Thanks
I think I'm just missing that version number in my local repo
fetching pom file for gav com.xxx:parent:2.0.6
Strange message if that's it.
It does appear to be the problem; if the dependency isn't installed locally.
There may be an improvement here. To log more meaningful message in the console when this happens. Also, it seems like a pre-requisite to have all dependencies installed locally. The documentation could be updated to state that. In my case this would mean clean install
on ~80 projects that I'm interested in. is it possible to try and fetch the dependency from remote if it's not available in local? There may be a command option that does this already.
Does it respect my .m2/settings.xml?
After setting maven settings in config.properties I'm getting further. After many unresolvable and duplicate messages I get
analysis report:
73 projects loaded and added to the pom graph,
111 projects added to graph,
in 10223 ms.
Analysis completed.
But I'm unable to see graph in the browser in the 'graph' tab. Using chrome. Same in Safari.
Getting below when
fetching pom file for gav com.xxx:parent:2.0.6
. Thanks