Remove IntelliJ workaround now that IDEA-85478 is fixed. (#4710)

Remove IntelliJ workaround now that IDEA-85478 is fixed.
This commit is contained in:
michaelabuckley 2023-04-03 16:04:18 -04:00 committed by GitHub
parent a2bc9a7212
commit fa00ef23e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 30 deletions

View File

@ -0,0 +1,4 @@
---
type: change
issue: 4710
title: "Removed maven configuration hack for IntelliJ now that Jetbrains supports different java versions in test and main (IDEA-85478)."

30
pom.xml
View File

@ -2989,36 +2989,6 @@
</plugins>
</build>
</profile>
<!--
This profile is basically here to work around an IJ bug where the
<testSource> tag is ignored in IJ's compiler. See:
https://youtrack.jetbrains.com/issue/IDEA-85478
-->
<profile>
<id>ide</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>idea.maven.embedder.version</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>17</source>
<target>17</target>
<release>17</release>
<testSource>17</testSource>
<testTarget>17</testTarget>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>ossrh-repo</id>
<activation>