I saw another, similar post from 2016-1018 on this. `External Libraries` at `Project` pane's bottom clearly shows that I have the JARs containing the package paths and symbols that turn up missing during compilation regardless of whether I do the build/rebuild from the IDE or from the command line. So, this isn't a problem with IDEA, but if I am able to figure out how to solve it in IDEA it may be solved also for the command line.
I have done `Invalidate Cache/Restart`, erased ~/.m2/repository, `mvn clean` etc. On the command line, I watch Maven stream messages such as "Downloaded from central: ..." and see the JARs I need come in and, as I say, I also see the JARs at the bottom of IDEA's Project pane under External Libraries. It does me no good to add stuff to `Module Dependencies` as I must be able to build from command line (well, Jenkins does anyway).
It is a multiple module project. All versions are kept as properties in the parent pom.xml. Some common dependencies are kept in the parent pom.xml too. Some dependencies that are unique to a submodule are kept in the submodule's pom.xml.
I am really pulling my hair out here. Any thoughts or suggestions would be welcome!
Running Maven 3.6.0 at command line, IntelliJ IDEA 2019.1.2 Ultimate in Linux Mint (Ubuntu). Compiler is OpenJDK 11.