Skip to content

Commit 4d31098

Browse files
committed
Band-aid fix for compile error in IntelliJ in ldap plugin
1 parent c6d2f55 commit 4d31098

File tree

1 file changed

+3
-0
lines changed
  • apm-agent-plugins/apm-java-ldap-plugin

1 file changed

+3
-0
lines changed

apm-agent-plugins/apm-java-ldap-plugin/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
<properties>
1616
<apm-agent-parent.base.dir>${project.basedir}/../..</apm-agent-parent.base.dir>
1717
<animal.sniffer.skip>true</animal.sniffer.skip>
18+
<!-- Avoids that the IntelliJ profile sets the source and target to 11 which leads to errors for the com.sun.jndi.ldap imports -->
19+
<maven.compiler.source>1.7</maven.compiler.source>
20+
<maven.compiler.target>1.7</maven.compiler.target>
1821
</properties>
1922

2023
<dependencies>

0 commit comments

Comments
 (0)