Tibor17 commented on a change in pull request #443:
URL: https://github.com/apache/maven-surefire/pull/443#discussion_r786202256



##########
File path: surefire-shared-utils/pom.xml
##########
@@ -100,5 +102,35 @@
             </plugin>
         </plugins>
     </build>
-
+    <profiles>
+        <profile>
+            <!-- First, install the project without tests -> mvn install 
-DskipTests
+            This is a workaround for IntelliJ IDEA, see 
https://youtrack.jetbrains.com/issue/IDEA-148573
+            IDEA is able to recognize external artifacts with classifiers. But 
IDEA expects modules and their artifacts
+            without classifier. If the version differs from project, the idea 
would understand it as external artifact.
+            -->
+            <id>ide-development</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <artifactId>maven-install-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>install-devel-jar</id>
+                                <phase>install</phase>
+                                <goals>
+                                    <goal>install-file</goal>
+                                </goals>
+                                <configuration>
+                                    
<artifactId>surefire-shared-utils</artifactId>
+                                    <version>3-SNAPSHOT</version>

Review comment:
       @eoliveli I can change this number. Let me know pls.




-- 
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-unsubscr...@maven.apache.org

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


Reply via email to