Bookmark

https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
https://maven.apache.org/plugins/index.html

Intellij Issues

Intellij Maven Clean Install Issue

Error Message

Solution

  1. From the Toolbar Menu: Click “File”, Click “Settings” (CTRL+ALT+S).
  2. This opens up the “Settings” window. From the left panel categories, expand “Build, Execution, Deployment”.
  3. Visit “Build Tools” → “Maven” → “Runner”
  4. Type in the VM Options: -Dmaven.multiModuleProjectDirectory=$M2_HOME
  5. Click “Apply” to save changes. Click OK to close the “Settings” window.

References

https://stackoverflow.com/questions/29983683/dmaven-multimoduleprojectdirectory-not-set-issue-with-maven-and-intellij/30105954#30105954

How to set IntelliJ Directory to point Src Main Java and Test

  1. Create the folders in your project. src\main\java, src\main\resources, src\test\java, and src\test\resources
  2. Click File → Project Structure (CTRL+ALT+SHIFT+S)
  3. Under “Project Settings”, Click “Modules”
  4. Mark the folder src\main\java as “Sources”
  5. Mark the folder src\main\resources as “Rources”
  6. Mark the folder src\test\java as “Test Sources”
  7. Mark the folder src\test\resources as “Test Resources”
  8. Click “Apply” to save changes. Click OK to close the “Project Structure” window.

Leave a Reply

Your email address will not be published. Required fields are marked *