Skip to content

Commit

Permalink
Update apacheds.version (#314)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Nov 4, 2024
1 parent 0a5428a commit b4c14f5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 30 deletions.
35 changes: 9 additions & 26 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<properties>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
<apacheds.version>2.0.0.AM25</apacheds.version>
<apacheds.version>2.0.0.AM27</apacheds.version>
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
<jenkins.baseline>2.479</jenkins.baseline>
<jenkins.version>${jenkins.baseline}.1</jenkins.version>
Expand Down Expand Up @@ -119,11 +119,11 @@
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<artifactId>bcpkix-jdk15on</artifactId>
</exclusion>
<exclusion> <!-- core provides something else -->
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
</exclusion>
</exclusions>
</dependency>
Expand Down Expand Up @@ -163,27 +163,13 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.directory.server</groupId>
<artifactId>apacheds-interceptor-kerberos</artifactId>
<version>${apacheds.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.directory.server</groupId>
<artifactId>apacheds-jdbm-partition</artifactId>
<version>${apacheds.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.directory.server</groupId>
<artifactId>apacheds-kerberos-codec</artifactId>
<version>${apacheds.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.directory.server</groupId>
<artifactId>apacheds-ldif-partition</artifactId>
Expand All @@ -205,19 +191,16 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.directory.server</groupId>
<artifactId>apacheds-protocol-kerberos</artifactId>
<version>${apacheds.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.directory.server</groupId>
<artifactId>apacheds-protocol-ldap</artifactId>
<version>${apacheds.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
</exclusion>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions src/test/java/jenkins/security/plugins/ldap/LDAPRule.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
import org.apache.directory.api.util.exception.Exceptions;
import org.apache.directory.server.constants.ServerDNConstants;
import org.apache.directory.server.core.DefaultDirectoryService;
import org.apache.directory.server.core.api.CacheService;
import org.apache.directory.server.core.api.CoreSession;
import org.apache.directory.server.core.api.DirectoryService;
import org.apache.directory.server.core.api.InstanceLayout;
Expand Down Expand Up @@ -266,9 +265,6 @@ private void initDirectoryService(File workDir) throws Exception {
service = new DefaultDirectoryService();
service.setInstanceId(currentTest.getDisplayName());
service.setInstanceLayout(new InstanceLayout(workDir));
CacheService cacheService = new CacheService();
cacheService.initialize(service.getInstanceLayout(), "test");
service.setCacheService(cacheService);

factory = new JdbmPartitionFactory();

Expand Down

0 comments on commit b4c14f5

Please sign in to comment.