ldap:load

Full name:

com.btmatthews.maven.plugins:ldap-maven-plugin:1.3.2:load

Description:

Implement the goal that loads a LDIF or DSML file into the LDAP directory server.

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 1.2.0.

Required Parameters

Name Type Since Description
authDn String 1.2.0 The distinguished name used if authentication is required.
passwd String 1.2.0 The password used if authentication is required.
sources Source[] 1.2.0 The LDIF and DSML files to be processed.

Optional Parameters

Name Type Since Description
connectionRetries int 1.2.0 The maximum number of connection attempts before failing.
Default value is: 3.
connectionTimeout int 1.2.0 The connection timeout.
Default value is: 5000.
continueOnError boolean 1.2.0 Indicates if the plugin should continue if there is an error. The default is to halt on error.
Default value is: false.
host String 1.2.0 The host name of the LDAP directory server. Defaults to localhost.
Default value is: localhost.
port int 1.2.0 The port number of the LDAP directory server. Defaults to 389.
Default value is: 389.
skip boolean 1.2.0 To skip execution of the plugin
Default value is: false.

Parameter Details

authDn:

The distinguished name used if authentication is required.
  • Type: java.lang.String
  • Since: 1.2.0
  • Required: Yes

connectionRetries:

The maximum number of connection attempts before failing.
  • Type: int
  • Since: 1.2.0
  • Required: No
  • Default: 3

connectionTimeout:

The connection timeout.
  • Type: int
  • Since: 1.2.0
  • Required: No
  • Default: 5000

continueOnError:

Indicates if the plugin should continue if there is an error. The default is to halt on error.
  • Type: boolean
  • Since: 1.2.0
  • Required: No
  • Default: false

host:

The host name of the LDAP directory server. Defaults to localhost.
  • Type: java.lang.String
  • Since: 1.2.0
  • Required: No
  • Default: localhost

passwd:

The password used if authentication is required.
  • Type: java.lang.String
  • Since: 1.2.0
  • Required: Yes

port:

The port number of the LDAP directory server. Defaults to 389.
  • Type: int
  • Since: 1.2.0
  • Required: No
  • Default: 389

skip:

To skip execution of the plugin
  • Type: boolean
  • Since: 1.2.0
  • Required: No
  • Default: false

sources:

The LDIF and DSML files to be processed.
  • Type: com.btmatthews.maven.plugins.ldap.mojo.Source[]
  • Since: 1.2.0
  • Required: Yes