You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/10/28 10:22:55 UTC

[GitHub] [maven-surefire] slawekjaranowski commented on a diff in pull request #573: [SUREFIRE-2122] Document workaround for maven-shade-plugin in IntelliJ

slawekjaranowski commented on code in PR #573:
URL: https://github.com/apache/maven-surefire/pull/573#discussion_r1007907761


##########
README.md:
##########
@@ -81,7 +81,10 @@ Build the Surefire project using **Maven 3.2.5+** and **JDK 1.8+**.
      * Check module `surefire-grouper` has source folder `target/generated-sources/javacc`.
        If not, add it manually in the module's project properties
 
-* Setup for development in [IntelliJ IDEA](https://www.jetbrains.com/idea/) should work out of the box.
+* Setup for development in [IntelliJ IDEA](https://www.jetbrains.com/idea/) works largely out of the box. There may be unresolved symbols because [IntelliJ does not support the maven-shade-plugin](https://youtrack.jetbrains.com/issue/IDEA-126596). As a workaround:
+
+    * In IntelliJ, right click `surefire-shared-utils/pom.xml` and choose "Maven" -> "Ignore Projects". Don't remove the module if prompted.
+    * Right click the parent `pom.xml` and choose "Maven" -> "Reload project"

Review Comment:
   Steps for Eclipse are also needed for InteliJ 
    - install ... shared
    - compile ... grouper
   
   After it you need select `ide-development` in Maven project and refresh
   
   ![image](https://user-images.githubusercontent.com/3578921/198565030-e1998ada-8eeb-44a7-b5cd-d0b26e8504f4.png)
   
   
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org