Assuming your codebase is maven-based I recommend you to do the following:
- Set up maven (this includes setting environment variable
M2_HOME
for Maven 2 andJAVA_HOME
) - Get a clean codebase (from VCS for example);
- Do File -> Open in IntelliJ Idea and open root
pom.xml
; - Let maven do its job - creating modules, downloading dependencies, etc. This may take a while.
- Now you need to build your project. Most likely you'll do that just as you doing it now.