ldap:run

Full name:

com.btmatthews.maven.plugins:ldap-maven-plugin:1.1.0:run

Description:

This Mojo implements the run goal which launches an embedded LDAP server using Apache Directory Server.

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 1.1.0.
  • Binds by default to the lifecycle phase: pre-integration-test.

Required Parameters

Name Type Since Description
monitorKey String 1.1.0 Key to provide when sending commands to the mail apache.
User property is: monitor.key.
monitorPort int 1.1.0 The port to listen on for the monitor commands.
User property is: monitor.port.
outputDirectory File 1.1.0 The build target directory.
Default value is: ${project.build.directory}.
rootDn String 1.1.0 The root DN for the LDAP server.
User property is: ldap.root.

Optional Parameters

Name Type Since Description
daemon boolean 1.1.0 If true the server is run as a daemon.
Default value is: false.
User property is: monitor.daemon.
ldapPort int 1.1.0 The port for the LDAP server.
Default value is: 389.
User property is: ldap.port.
ldifFile File 1.1.0 An optional LDIF file that can be used to seed the embedded LDAP server.
User property is: ldap.ldif.

Parameter Details

daemon:

If true the server is run as a daemon.
  • Type: boolean
  • Since: 1.1.0
  • Required: No
  • User Property: monitor.daemon
  • Default: false

ldapPort:

The port for the LDAP server.
  • Type: int
  • Since: 1.1.0
  • Required: No
  • User Property: ldap.port
  • Default: 389

ldifFile:

An optional LDIF file that can be used to seed the embedded LDAP server.
  • Type: java.io.File
  • Since: 1.1.0
  • Required: No
  • User Property: ldap.ldif

monitorKey:

Key to provide when sending commands to the mail apache.
  • Type: java.lang.String
  • Since: 1.1.0
  • Required: Yes
  • User Property: monitor.key

monitorPort:

The port to listen on for the monitor commands.
  • Type: int
  • Since: 1.1.0
  • Required: Yes
  • User Property: monitor.port

outputDirectory:

The build target directory.
  • Type: java.io.File
  • Since: 1.1.0
  • Required: Yes
  • Default: ${project.build.directory}

rootDn:

The root DN for the LDAP server.
  • Type: java.lang.String
  • Since: 1.1.0
  • Required: Yes
  • User Property: ldap.root