Modify the POM file located at C:\AdobeCQ\echoproject\content to add support for JSP compilation in IntelliJ. The Maven setup described so far creates a content package that can also include components and their corresponding JSPs. However, Maven treats them as any other file that is part of the content package and does not even recognize them as JSPs.
The resulting components work in AEM all the same, but making Maven aware of the JSPs has two major benefits:
- It allows Maven to fail if the JSPs contain errors, so that these are surfaced at build time and not when they are first compiled in AEM
- For IDEs that can import Maven projects, this also enables code completion and tag library support in the JSPs