Skip to content

12. IDE instructions

Ilkka Seppälä edited this page Mar 28, 2024 · 26 revisions

Initially

  • Clone the project git clone https://github.com/iluwatar/java-design-patterns.git

IntelliJ IDEA

  • Download IntelliJ IDEA from https://www.jetbrains.com/idea/download/
  • Import project - point to project root pom.xml
  • Enable annotation processing File - Settings - Build, Execution, Deployment - Compiler - Annotation Processors - Enable annotation processing
  • Install Checkstyle plugin File - Settings - Plugins - CheckStyle-IDEA
  • You can run Checkstyle checks by activating the Checkstyle view with View - Tool windows - Checkstyle and clicking Check project. Ensure that Google Checks ruleset is activated. (command line: ./mvnw validate)