Skip to content

Commit

Permalink
Fix ldap
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Jul 25, 2024
1 parent 18e7b01 commit 38c19dc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@
</plugins>
</build>
</profile>

<profile>
<id>jdk8</id>
<properties>
Expand Down Expand Up @@ -204,6 +205,15 @@
</plugins>
</build>
</profile>
<profile>
<id>jdk11</id>
</profile>
<profile>
<id>jdk17</id>
</profile>
<profile>
<id>jdk21</id>
</profile>

<profile>
<id>ci</id>
Expand Down
25 changes: 8 additions & 17 deletions sshd-ldap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<properties>
<projectRoot>${project.basedir}/..</projectRoot>
<apacheds.version>2.0.0.AM26</apacheds.version>
<surefire.argLine>--add-opens=java.base/sun.security.util=ALL-UNNAMED --add-opens=java.base/sun.security.x509=ALL-UNNAMED</surefire.argLine>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -127,6 +128,9 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<useModulePath>false</useModulePath>
<!-- See https://issues.apache.org/jira/browse/DIRSTUDIO-1277 -->
<argLine>${surefire.argLine}</argLine>
</configuration>
</plugin>
<plugin>
Expand All @@ -141,23 +145,10 @@

<profiles>
<profile>
<id>test-on-java16+</id>
<activation>
<jdk>[16,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<useModulePath>false</useModulePath>
<!-- See https://issues.apache.org/jira/browse/DIRSTUDIO-1277 -->
<argLine>--add-opens=java.base/sun.security.util=ALL-UNNAMED --add-opens=java.base/sun.security.x509=ALL-UNNAMED</argLine>
</configuration>
</plugin>
</plugins>
</build>
<id>jdk8</id>
<properties>
<surefire.argLine />
</properties>
</profile>
</profiles>
</project>

0 comments on commit 38c19dc

Please sign in to comment.