Convert directories with java files to java modules in intellij

If you get the directory from some version system and it has a maven pom.xml configuration file, here’s a solution:

  • Find the pom.xml in the directory.

  • Right click the pom.xml.

  • Then you can see the popup windows. Select the last item "add as maven project file".

  • Then, the maven build tool can automatically discern the directory as an module and import the specified jar dependencies.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)