From 23ab7b85e3631cb4c75a6f9277c1d1aa7a7bfbd6 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Tue, 14 Jan 2014 22:53:17 +0000
Subject: [PATCH] Move XSLT stylesheets and core XML descriptors to opendj-config-maven-plugin:
---
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GSSAPISASLMechanismHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/catalog.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CramMD5SASLMechanismHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDIFBackendConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PBKDF2PasswordStorageSchemeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/aggregation.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/StaticGroupImplementationConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DirectoryStringAttributeSyntaxConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileSystemEntryCacheConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationServerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SASLMechanismHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RC4PasswordStorageSchemeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedAuditLogPublisherConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SizeLimitLogRetentionPolicyConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/admin.xsd | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AdministrationConnectorConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/KeyManagerProviderConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/Base64PasswordStorageSchemeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PlainSASLMechanismHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MD5PasswordStorageSchemeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SchemaBackendConfiguration.xml | 0
opendj-server-example-plugin/src/main/java/com/example/opendj/ExamplePlugin.java | 89 ----
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DynamicGroupImplementationConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RegularExpressionIdentityMapperConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA256PasswordStorageSchemeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CertificateAttributeSyntaxConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PKCS11KeyManagerProviderConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CollationMatchingRuleConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicyImportPluginConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CryptoManagerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalDBIndexConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/StartTLSExtendedOperationHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/WorkflowElementConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CollectiveAttributeSubentriesVirtualAttributeConfiguration.xml | 0
pom.xml | 4
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDIFConnectionHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/NetworkGroupPluginConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/duration.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/VersionMonitorProviderConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SynchronizationProviderConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SystemInfoMonitorProviderConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/manifestMO.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CertificateMapperConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AuthenticationPolicyConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/BackupBackendConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SMTPAlertHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/size.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RepeatedCharactersPasswordValidatorConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeCleanupPluginConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/JPEGAttributeSyntaxConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/UniqueAttributePluginConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeTypeDescriptionAttributeSyntaxConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PluginConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ErrorLogAccountStatusNotificationHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SMTPAccountStatusNotificationHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/integer.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDAPConnectionHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/package-info.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FreeDiskSpaceLogRetentionPolicyConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/attribute-type.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FIFOEntryCacheConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DebugLogPublisherConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExternalChangelogDomainConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/NetworkGroupConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicyConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/StructuralObjectClassVirtualAttributeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/WorkQueueConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MonitorProviderConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SevenBitCleanPluginConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ParallelWorkQueueConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/QOSPolicyConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ConfigFileHandlerBackendConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDNUserConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/password.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/ldapMOProfile.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/enumeration.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA384PasswordStorageSchemeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/abbreviations.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordValidatorConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccessControlHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SHA1PasswordStorageSchemeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TripleDESPasswordStorageSchemeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/UserDefinedVirtualAttributeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccountStatusNotificationHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordGeneratorConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CharacterSetPasswordValidatorConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccessLogPublisherConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/HasSubordinatesVirtualAttributeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/admin-ldap.xsd | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TaskBackendConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/BlowfishPasswordStorageSchemeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AlertHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/Package.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedKeyManagerProviderConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/BackendConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA1PasswordStorageSchemeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedTrustManagerProviderConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FractionalLDIFImportPluginConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedErrorLogPublisherConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/NumSubordinatesVirtualAttributeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalDBVLVIndexConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MemoryBackendConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubjectEqualsDNCertificateMapperConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/VirtualAttributeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/HTTPConnectionHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedHTTPAccessLogPublisherConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LengthBasedPasswordValidatorConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/admin-preprocessor.xsd | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TrustStoreBackendConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/admin-cli.xsd | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/messagesMO.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeValuePasswordValidatorConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/oid.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GetConnectionIdExtendedOperationHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordExpirationTimeVirtualAttributeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DebugTargetConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ClearPasswordStorageSchemeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/preprocessor.xsl | 10
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryUUIDVirtualAttributeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DseeCompatAccessControlHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/JMXAlertHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SNMPConnectionHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/IdentityMapperConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedAccessLogPublisherConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LogRotationPolicyConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ErrorLogPublisherConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CountryStringAttributeSyntaxConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GlobalConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MatchingRuleConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubschemaSubentryVirtualAttributeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TraditionalWorkQueueConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ChangeNumberControlPluginConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/aci.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/java-class.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExactMatchIdentityMapperConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AESPasswordStorageSchemeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MonitorBackendConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/NullBackendConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/string.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/clientMO.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ProfilerPluginConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/extensible-matching-rule-type.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PluginRootConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/WhoAmIExtendedOperationHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReferentialIntegrityPluginConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/java-utilities.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/HTTPAccessLogPublisherConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SizeLimitLogRotationPolicyConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA512PasswordStorageSchemeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/IsMemberOfVirtualAttributeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDNConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/boolean.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryCacheMonitorProviderConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedDebugLogPublisherConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SoftReferenceEntryCacheConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LogPublisherConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/StackTraceMonitorProviderConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileCountLogRetentionPolicyConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ResourceLimitsQOSPolicyConfiguration.xml | 0
opendj-config-maven-plugin/src/main/java/org/forgerock/opendj/maven/GenerateConfigMojo.java | 448 ++++++++++++++++++++++++
opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/ip-address.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SambaPasswordPluginConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/conditions.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExternalSASLMechanismHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LastModPluginConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AnonymousSASLMechanismHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalDBBackendConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubjectDNToUserAttributeCertificateMapperConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/cliMOProfile.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDAPPassThroughAuthenticationPolicyConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SimilarityBasedPasswordValidatorConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TelephoneNumberAttributeSyntaxConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DigestMD5SASLMechanismHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/dn.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MemberVirtualAttributeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationSynchronizationProviderConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordModifyExtendedOperationHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ConnectionHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/VirtualStaticGroupImplementationConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GroupImplementationConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/xml.xsd | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDAPAttributeDescriptionListPluginConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryUUIDPluginConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExtensionConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/JMXConnectionHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/UniqueCharactersPasswordValidatorConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DictionaryPasswordValidatorConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MemoryUsageMonitorProviderConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GetSymmetricKeyExtendedOperationHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TimeLimitLogRotationPolicyConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/BlindTrustManagerProviderConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDSEBackendConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeSyntaxConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExtendedOperationHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RequestFilteringQOSPolicyConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryDNVirtualAttributeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TrustManagerProviderConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CancelExtendedOperationHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/metaMO.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccessLogFilteringCriteriaConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryCacheConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicyStateExtendedOperationHandlerConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/text-utilities.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubjectAttributeToUserAttributeCertificateMapperConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CryptPasswordStorageSchemeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordStorageSchemeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FixedTimeLogRotationPolicyConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/WorkflowConfiguration.xml | 0
opendj-server-example-plugin/pom.xml | 4
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalBackendWorkflowElementConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationDomainConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/ip-address-mask.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RandomPasswordGeneratorConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GoverningStructureRuleVirtualAttributeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicySubentryVirtualAttributeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedMD5PasswordStorageSchemeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LogRetentionPolicyConfiguration.xml | 0
opendj-server/pom.xml | 2
/dev/null | 498 ---------------------------
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntityTagVirtualAttributeConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FingerprintCertificateMapperConfiguration.xml | 0
opendj-config-maven-plugin/src/main/resources/config/stylesheets/serverMO.xsl | 0
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ClientConnectionMonitorProviderConfiguration.xml | 0
225 files changed, 472 insertions(+), 583 deletions(-)
diff --git a/opendj-config-maven-plugin/src/main/java/org/forgerock/opendj/maven/AbstractBuildMojo.java b/opendj-config-maven-plugin/src/main/java/org/forgerock/opendj/maven/AbstractBuildMojo.java
deleted file mode 100644
index bdef6ff..0000000
--- a/opendj-config-maven-plugin/src/main/java/org/forgerock/opendj/maven/AbstractBuildMojo.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
- * or http://forgerock.org/license/CDDLv1.0.html.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at legal-notices/CDDLv1_0.txt.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information:
- * Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- *
- *
- * Copyright 2013 ForgeRock AS.
- */
-package org.forgerock.opendj.maven;
-
-import org.apache.maven.execution.MavenSession;
-import org.apache.maven.plugin.AbstractMojo;
-import org.apache.maven.plugin.BuildPluginManager;
-import org.apache.maven.project.MavenProject;
-
-/**
- * AbstractMojo implementation for generation of opendj server configuration
- * classes.
- */
-abstract class AbstractBuildMojo extends AbstractMojo {
-
- /**
- * The Maven Project.
- *
- * @parameter property="project"
- * @required
- * @readonly
- */
- private MavenProject project;
-
- /**
- * The Maven Session.
- *
- * @parameter property="session"
- * @required
- * @readonly
- */
- private MavenSession session;
-
- /**
- * The Maven PluginManager.
- *
- * @component
- * @required
- */
- private BuildPluginManager pluginManager;
-
- /**
- * The Maven Project.
- *
- * @return the project
- */
- public MavenProject getProject() {
- return project;
- }
-
- /**
- * The Maven Session.
- *
- * @return the session
- */
- public MavenSession getSession() {
- return session;
- }
-
- /**
- * The Maven PluginManager.
- *
- * @return the plugin manager
- */
- public BuildPluginManager getPluginManager() {
- return pluginManager;
- }
-}
diff --git a/opendj-config-maven-plugin/src/main/java/org/forgerock/opendj/maven/GenerateConfigMojo.java b/opendj-config-maven-plugin/src/main/java/org/forgerock/opendj/maven/GenerateConfigMojo.java
new file mode 100644
index 0000000..4226ec6
--- /dev/null
+++ b/opendj-config-maven-plugin/src/main/java/org/forgerock/opendj/maven/GenerateConfigMojo.java
@@ -0,0 +1,448 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (the "License"). You may not use this file except in compliance
+ * with the License.
+ *
+ * You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
+ * or http://forgerock.org/license/CDDLv1.0.html.
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at legal-notices/CDDLv1_0.txt.
+ * If applicable, add the following below this CDDL HEADER, with the
+ * fields enclosed by brackets "[]" replaced with your own identifying
+ * information:
+ * Portions Copyright [yyyy] [name of copyright owner]
+ *
+ * CDDL HEADER END
+ *
+ *
+ * Copyright 2013 ForgeRock AS.
+ */
+package org.forgerock.opendj.maven;
+
+import java.io.File;
+import java.io.FileFilter;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.net.JarURLConnection;
+import java.net.URL;
+import java.util.Enumeration;
+import java.util.LinkedHashMap;
+import java.util.LinkedList;
+import java.util.List;
+import java.util.Map;
+import java.util.concurrent.Callable;
+import java.util.concurrent.ExecutorService;
+import java.util.concurrent.Executors;
+import java.util.concurrent.Future;
+import java.util.jar.JarEntry;
+import java.util.jar.JarFile;
+
+import javax.xml.transform.Source;
+import javax.xml.transform.Templates;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerConfigurationException;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.URIResolver;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.project.MavenProject;
+
+/**
+ * Generate configuration classes from XML definition files for OpenDJ server.
+ * <p>
+ * There is a single goal that generate java sources, manifest files, I18N
+ * messages and cli/ldap profiles. Resources will be looked for in the following
+ * places depending on whether the plugin is executing for the core config or an
+ * extension:
+ * <table border="1">
+ * <tr>
+ * <th></th>
+ * <th>Location</th>
+ * </tr>
+ * <tr>
+ * <th align="left">XSLT stylesheets</th>
+ * <td>Internal: /config/stylesheets</td>
+ * </tr>
+ * <tr>
+ * <th align="left">XML core definitions</th>
+ * <td>Internal: /config/xml</td>
+ * </tr>
+ * <tr>
+ * <th align="left">XML extension definitions</th>
+ * <td>${basedir}/src/main/java</td>
+ * </tr>
+ * <tr>
+ * <th align="left">Generated Java APIs</th>
+ * <td>${project.build.directory}/generated-sources/config</td>
+ * </tr>
+ * <tr>
+ * <th align="left">Generated I18N messages</th>
+ * <td>${project.build.outputDirectory}/config/messages</td>
+ * </tr>
+ * <tr>
+ * <th align="left">Generated profiles</th>
+ * <td>${project.build.outputDirectory}/config/profiles/${profile}</td>
+ * </tr>
+ * <tr>
+ * <th align="left">Generated manifest</th>
+ * <td>${project.build.outputDirectory}/META-INF/services/org.forgerock.opendj.
+ * config.AbstractManagedObjectDefinition</td>
+ * </tr>
+ * </table>
+ *
+ * @Checkstyle:ignoreFor 3
+ * @goal generate
+ * @phase generate-sources
+ * @requiresDependencyResolution compile+runtime
+ */
+public final class GenerateConfigMojo extends AbstractMojo {
+ private static interface StreamSourceFactory {
+ StreamSource newStreamSource() throws IOException;
+ }
+
+ /**
+ * The Maven Project.
+ *
+ * @parameter property="project"
+ * @required
+ * @readonly
+ */
+ private MavenProject project;
+
+ /**
+ * Package name for which artifacts are generated.
+ * <p>
+ * This relative path is used to locate xml definition files and to locate
+ * generated artifacts.
+ *
+ * @parameter
+ * @required
+ */
+ private String packageName;
+
+ /**
+ * Package name for which artifacts are generated.
+ * <p>
+ * This relative path is used to locate xml definition files and to locate
+ * generated artifacts.
+ *
+ * @parameter default-value="true"
+ * @required
+ */
+ private Boolean isExtension;
+
+ private final Map<String, StreamSourceFactory> componentDescriptors =
+ new LinkedHashMap<String, StreamSourceFactory>();
+ private TransformerFactory stylesheetFactory;
+ private Templates stylesheetMetaJava;
+ private Templates stylesheetServerJava;
+ private Templates stylesheetClientJava;
+ private Templates stylesheetMetaPackageInfo;
+ private Templates stylesheetServerPackageInfo;
+ private Templates stylesheetClientPackageInfo;
+ private Templates stylesheetProfileLDAP;
+ private Templates stylesheetProfileCLI;
+ private Templates stylesheetMessages;
+ private Templates stylesheetManifest;
+ private final List<Future<?>> tasks = new LinkedList<Future<?>>();
+ private final ExecutorService executor = Executors.newCachedThreadPool();
+ private final URIResolver resolver = new URIResolver() {
+
+ @Override
+ public synchronized Source resolve(final String href, final String base)
+ throws TransformerException {
+ if (href.endsWith(".xsl")) {
+ final String stylesheet;
+ if (href.startsWith("../")) {
+ stylesheet = "/config/stylesheets/" + href.substring(3);
+ } else {
+ stylesheet = "/config/stylesheets/" + href;
+ }
+ getLog().debug("#### Resolved stylesheet " + href + " to " + stylesheet);
+ return new StreamSource(getClass().getResourceAsStream(stylesheet));
+ } else if (href.endsWith(".xml")) {
+ if (href.startsWith("org/forgerock/opendj/server/config/")) {
+ final String coreXML = "/config/xml/" + href;
+ getLog().debug("#### Resolved core XML definition " + href + " to " + coreXML);
+ return new StreamSource(getClass().getResourceAsStream(coreXML));
+ } else {
+ final String extXML = getXMLDirectory() + "/" + href;
+ getLog().debug(
+ "#### Resolved extension XML definition " + href + " to " + extXML);
+ return new StreamSource(new File(extXML));
+ }
+ } else {
+ throw new TransformerException("Unable to resolve URI " + href);
+ }
+ }
+ };
+
+ @Override
+ public final void execute() throws MojoExecutionException {
+ if (getPackagePath() == null) {
+ throw new MojoExecutionException("<packagePath> must be set.");
+ } else if (!isXMLPackageDirectoryValid()) {
+ throw new MojoExecutionException("The XML definition directory \""
+ + getXMLPackageDirectory() + "\" does not exist.");
+ } else if (getClass().getResource(getStylesheetDirectory()) == null) {
+ throw new MojoExecutionException("The XSLT stylesheet directory \""
+ + getStylesheetDirectory() + "\" does not exist.");
+ }
+
+ // Validate and transform.
+ try {
+ initializeStylesheets();
+ loadXMLDescriptors();
+ executeValidateXMLDefinitions();
+ executeTransformXMLDefinitions();
+ getLog().info(
+ "Adding source directory \"" + getGeneratedSourcesDirectory()
+ + "\" to build path...");
+ project.addCompileSourceRoot(getGeneratedSourcesDirectory());
+ } catch (final Exception e) {
+ throw new MojoExecutionException("XSLT configuration transformation failed", e);
+ } finally {
+ executor.shutdown();
+ }
+
+ }
+
+ private void createTransformTask(final StreamSource input, final StreamResult output,
+ final Templates stylesheet, final ExecutorService executor, final String... parameters)
+ throws Exception {
+ final Transformer transformer = stylesheet.newTransformer();
+ transformer.setURIResolver(resolver);
+ for (int i = 0; i < parameters.length; i += 2) {
+ transformer.setParameter(parameters[i], parameters[i + 1]);
+ }
+ final Future<Void> future = executor.submit(new Callable<Void>() {
+ @Override
+ public Void call() throws Exception {
+ transformer.transform(input, output);
+ return null;
+ }
+ });
+ tasks.add(future);
+ }
+
+ private void createTransformTask(final StreamSource input, final String outputFileName,
+ final Templates stylesheet, final String... parameters) throws Exception {
+ final File outputFile = new File(outputFileName);
+ outputFile.getParentFile().mkdirs();
+ final StreamResult output = new StreamResult(outputFile);
+ createTransformTask(input, output, stylesheet, executor, parameters);
+ }
+
+ private void executeTransformXMLDefinitions() throws Exception {
+ getLog().info("Transforming XML definitions...");
+
+ /*
+ * The manifest is a single file containing the concatenated output of
+ * many transformations. Therefore we must ensure that output is
+ * serialized by using a single threaded executor.
+ */
+ final ExecutorService sequentialExecutor = Executors.newSingleThreadExecutor();
+ final File manifestFile = new File(getGeneratedManifestFile());
+ manifestFile.getParentFile().mkdirs();
+ final FileOutputStream manifestFileOutputStream = new FileOutputStream(manifestFile);
+ final StreamResult manifest = new StreamResult(manifestFileOutputStream);
+
+ /*
+ * Generate Java classes and resources for each XML definition.
+ */
+ final String javaDir = getGeneratedSourcesDirectory() + "/" + getPackagePath() + "/";
+ final String metaDir = javaDir + "meta/";
+ final String serverDir = javaDir + "server/";
+ final String clientDir = javaDir + "client/";
+
+ final String ldapProfileDir =
+ getGeneratedProfilesDirectory("ldap") + "/" + getPackagePath() + "/meta/";
+ final String cliProfileDir =
+ getGeneratedProfilesDirectory("cli") + "/" + getPackagePath() + "/meta/";
+ final String i18nDir = getGeneratedMessagesDirectory() + "/" + getPackagePath() + "/meta/";
+
+ for (final Map.Entry<String, StreamSourceFactory> entry : componentDescriptors.entrySet()) {
+ final String meta = metaDir + entry.getKey() + "CfgDefn.java";
+ createTransformTask(entry.getValue().newStreamSource(), meta, stylesheetMetaJava);
+
+ final String server = serverDir + entry.getKey() + "Cfg.java";
+ createTransformTask(entry.getValue().newStreamSource(), server, stylesheetServerJava);
+
+ final String client = clientDir + entry.getKey() + "CfgClient.java";
+ createTransformTask(entry.getValue().newStreamSource(), client, stylesheetClientJava);
+
+ final String ldap = ldapProfileDir + entry.getKey() + "CfgDefn.properties";
+ createTransformTask(entry.getValue().newStreamSource(), ldap, stylesheetProfileLDAP);
+
+ final String cli = cliProfileDir + entry.getKey() + "CfgDefn.properties";
+ createTransformTask(entry.getValue().newStreamSource(), cli, stylesheetProfileCLI);
+
+ final String i18n = i18nDir + entry.getKey() + "CfgDefn.properties";
+ createTransformTask(entry.getValue().newStreamSource(), i18n, stylesheetMessages);
+
+ createTransformTask(entry.getValue().newStreamSource(), manifest, stylesheetManifest,
+ sequentialExecutor);
+ }
+
+ // Generate package-info.java files.
+ final Map<String, Templates> profileMap = new LinkedHashMap<String, Templates>();
+ profileMap.put("meta", stylesheetMetaPackageInfo);
+ profileMap.put("server", stylesheetServerPackageInfo);
+ profileMap.put("client", stylesheetClientPackageInfo);
+ for (final Map.Entry<String, Templates> entry : profileMap.entrySet()) {
+ final StreamSource source;
+ if (isExtension) {
+ source = new StreamSource(new File(getXMLPackageDirectory() + "/Package.xml"));
+ } else {
+ source =
+ new StreamSource(getClass().getResourceAsStream(
+ "/" + getXMLPackageDirectory() + "/Package.xml"));
+ }
+ final String profile = javaDir + "/" + entry.getKey() + "/package-info.java";
+ createTransformTask(source, profile, entry.getValue(), "type", entry.getKey());
+ }
+
+ // Wait for all transformations to complete and cleanup.
+ for (final Future<?> task : tasks) {
+ task.get();
+ }
+ sequentialExecutor.shutdown();
+ manifestFileOutputStream.close();
+ }
+
+ private void executeValidateXMLDefinitions() {
+ // TODO:
+ getLog().info("Validating XML definitions...");
+ }
+
+ private String getBaseDir() {
+ return project.getBasedir().toString();
+ }
+
+ private String getGeneratedManifestFile() {
+ return project.getBuild().getOutputDirectory()
+ + "/META-INF/services/org.forgerock.opendj.config.AbstractManagedObjectDefinition";
+ }
+
+ private String getGeneratedMessagesDirectory() {
+ return project.getBuild().getOutputDirectory() + "/config/messages";
+ }
+
+ private String getGeneratedProfilesDirectory(final String profileName) {
+ return project.getBuild().getOutputDirectory() + "/config/profiles/" + profileName;
+ }
+
+ private String getGeneratedSourcesDirectory() {
+ return project.getBuild().getDirectory() + "/generated-sources/config";
+ }
+
+ private String getPackagePath() {
+ return packageName.replace('.', '/');
+ }
+
+ private String getStylesheetDirectory() {
+ return "/config/stylesheets";
+ }
+
+ private String getXMLDirectory() {
+ if (isExtension) {
+ return getBaseDir() + "/src/main/java";
+ } else {
+ return "config/xml";
+ }
+ }
+
+ private String getXMLPackageDirectory() {
+ return getXMLDirectory() + "/" + getPackagePath();
+ }
+
+ private void initializeStylesheets() throws TransformerConfigurationException {
+ getLog().info("Loading XSLT stylesheets...");
+ stylesheetFactory = TransformerFactory.newInstance();
+ stylesheetFactory.setURIResolver(resolver);
+ stylesheetMetaJava = loadStylesheet("metaMO.xsl");
+ stylesheetMetaPackageInfo = loadStylesheet("package-info.xsl");
+ stylesheetServerJava = loadStylesheet("serverMO.xsl");
+ stylesheetServerPackageInfo = loadStylesheet("package-info.xsl");
+ stylesheetClientJava = loadStylesheet("clientMO.xsl");
+ stylesheetClientPackageInfo = loadStylesheet("package-info.xsl");
+ stylesheetProfileLDAP = loadStylesheet("ldapMOProfile.xsl");
+ stylesheetProfileCLI = loadStylesheet("cliMOProfile.xsl");
+ stylesheetMessages = loadStylesheet("messagesMO.xsl");
+ stylesheetManifest = loadStylesheet("manifestMO.xsl");
+ }
+
+ private boolean isXMLPackageDirectoryValid() {
+ if (isExtension) {
+ return new File(getXMLPackageDirectory()).isDirectory();
+ } else {
+ // Not an extension, so always valid.
+ return true;
+ }
+ }
+
+ private Templates loadStylesheet(final String stylesheet)
+ throws TransformerConfigurationException {
+ final Source xslt =
+ new StreamSource(getClass().getResourceAsStream(
+ getStylesheetDirectory() + "/" + stylesheet));
+ return stylesheetFactory.newTemplates(xslt);
+ }
+
+ private void loadXMLDescriptors() throws IOException {
+ getLog().info("Loading XML descriptors...");
+ final String parentPath = getXMLPackageDirectory();
+ if (isExtension) {
+ final File dir = new File(parentPath);
+ dir.listFiles(new FileFilter() {
+ @Override
+ public boolean accept(final File path) {
+ final String name = path.getName();
+ if (path.isFile() && name.endsWith("Configuration.xml")) {
+ final String key =
+ name.substring(0, name.length() - "Configuration.xml".length());
+ componentDescriptors.put(key, new StreamSourceFactory() {
+ @Override
+ public StreamSource newStreamSource() {
+ return new StreamSource(path);
+ }
+ });
+ }
+ return true; // Don't care about the result.
+ }
+ });
+ } else {
+ final URL dir = getClass().getClassLoader().getResource(parentPath);
+ final JarURLConnection connection = (JarURLConnection) dir.openConnection();
+ final JarFile jar = connection.getJarFile();
+ final Enumeration<JarEntry> entries = jar.entries();
+ while (entries.hasMoreElements()) {
+ final JarEntry entry = entries.nextElement();
+ final String name = entry.getName();
+ if (name.startsWith(parentPath) && name.endsWith("Configuration.xml")) {
+ final int startPos = name.lastIndexOf('/') + 1;
+ final int endPos = name.length() - "Configuration.xml".length();
+ final String key = name.substring(startPos, endPos);
+ componentDescriptors.put(key, new StreamSourceFactory() {
+ @Override
+ public StreamSource newStreamSource() throws IOException {
+ return new StreamSource(jar.getInputStream(entry));
+ }
+ });
+ }
+ }
+ }
+ getLog().info("Found " + componentDescriptors.size() + " XML descriptors");
+ }
+
+}
diff --git a/opendj-config-maven-plugin/src/main/java/org/forgerock/opendj/maven/OpendjConfigMojo.java b/opendj-config-maven-plugin/src/main/java/org/forgerock/opendj/maven/OpendjConfigMojo.java
deleted file mode 100644
index f12e2c2..0000000
--- a/opendj-config-maven-plugin/src/main/java/org/forgerock/opendj/maven/OpendjConfigMojo.java
+++ /dev/null
@@ -1,498 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
- * or http://forgerock.org/license/CDDLv1.0.html.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at legal-notices/CDDLv1_0.txt.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information:
- * Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- *
- *
- * Copyright 2013 ForgeRock AS.
- */
-package org.forgerock.opendj.maven;
-
-import java.io.File;
-import java.util.ArrayList;
-import java.util.List;
-
-import org.apache.commons.io.FilenameUtils;
-import org.apache.maven.model.Dependency;
-import org.apache.maven.model.Plugin;
-import org.apache.maven.plugin.MojoExecutionException;
-import org.twdata.maven.mojoexecutor.MojoExecutor;
-
-/**
- * Generate configuration classes from XML definition files for OpenDJ server.
- * <p>
- * There is a single goal that generate java sources, manifest files, I18N messages
- * and cli/ldap profiles.
- *
- * @Checkstyle:ignoreFor 3
- * @goal generate
- * @phase generate-sources
- * @requiresDependencyResolution compile+runtime
- */
-public class OpendjConfigMojo extends AbstractBuildMojo {
-
- /**
- * Package name for which artifacts are generated.
- * <p>
- * This relative path is used to locate xml definition files and to locate
- * generated artifacts.
- *
- * @parameter
- * @required
- */
- private String packageName;
-
- /**
- * Package name for which artifacts are generated.
- * <p>
- * This relative path is used to locate xml definition files and to locate
- * generated artifacts.
- *
- * @parameter default-value="true"
- * @required
- */
- private Boolean isExtension;
-
- /**
- * Root directory where definitions of configuration as xml files are
- * located.
- *
- * @parameter default-value="${basedir}/src/main/resources/config/xml"
- * @required
- */
- private String xmlDefinitionsRootDir;
-
- /**
- * Directory containing stylesheets (xsl files) to generate code and other
- * artefacts.
- *
- * @parameter default-value="${basedir}/src/main/resources/config/stylesheets"
- * @required
- */
- private String xslDir;
-
- /**
- * Root directory containing generated sources for configuration.
- *
- * @parameter default-value="${project.build.directory}/generated-sources/config"
- * @required
- */
- private String generatedSourcesRootDir;
-
- /**
- * Temporary directory containing generated manifests.
- * <p>
- * There is one manifest file generated by component. It is the
- * responsibility of project that use this plugin to concatenate all
- * generated files into a single file.
- *
- * @parameter default-value="${project.build.directory}/config"
- * @required
- */
- private String generatedManifestsTempDir;
-
- /**
- * Temporary directory containing generated manifests.
- * <p>
- * There is one manifest file generated by component. It is the
- * responsibility of project that use this plugin to concatenate all
- * generated files into a single file.
- *
- * @Checkstyle:ignoreFor 1
- * @parameter default-value="${project.build.outputDirectory}/META-INF/services/org.forgerock.opendj.config.AbstractManagedObjectDefinition"
- * @required
- */
- private String generatedManifestsLocation;
-
- /**
- * Root directory containing generated messages for configuration.
- *
- * @parameter default-value="${project.build.outputDirectory}/config/messages"
- * @required
- */
- private String generatedMessagesRootDir;
-
- /**
- * Root directory containing generated profiles for configuration.
- *
- * @parameter default-value="${project.build.outputDirectory}/config/profiles"
- * @required
- */
- private String generatedProfilesRootDir;
-
- /**
- * Returns the package name in which artifacts are generated.
- *
- * @return the package name
- */
- public final String getPackageName() {
- return packageName;
- }
-
- /**
- * Returns the package path in which artifacts are generated.
- *
- * @return the package path
- */
- public final String getPackagePath() {
- return packageName.replace('.', '/');
- }
-
- /**
- * Returns the root directory for xml configuration files.
- *
- * @return {@code xmlDefinitionsRootDir}
- */
- public final File getXmlDefinitionsRootDirectory() {
- return new File(xmlDefinitionsRootDir);
- }
-
-
- /**
- * Returns the directory containing xml configuration files.
- *
- * @return the directory containing xml configuration files
- */
- public final File getXmlDefinitionsDirectory() {
- return new File(getXmlDefinitionsRootDirectory(), getPackagePath());
- }
-
- /**
- * Returns the directory containing xsl files to generate code.
- *
- * @return {@code xslDir}
- */
- public final File getXslDirectory() {
- return new File(xslDir);
- }
-
- /**
- * Returns the temporary directory containing generated manifests.
- *
- * @return {@code manifestsTempDir}
- */
- public final String getGeneratedManifestsTempDirectory() {
- return generatedManifestsTempDir;
- }
-
- /**
- * Returns the directory containing generated sources for configuration.
- *
- * @return {@code generatedSourcesDir}
- */
- public final File getGeneratedSourcesDirectory() {
- return new File(generatedSourcesRootDir, getPackagePath());
- }
-
- /**
- * Returns the directory containing generated messages for configuration.
- *
- * @return the directory containing generated messages
- */
- public final File getGeneratedMessagesDirectory() {
- return new File(generatedMessagesRootDir, getPackagePath() + "/" + "meta");
- }
-
- /**
- * Returns the directory containing generated profile for configuration.
- *
- * @param profileType
- * The type of profile (ldap or cli)
- *
- * @return the directory containing generated profiles for configuration
- */
- public final File getGeneratedProfilesDirectory(String profileType) {
- return new File(generatedProfilesRootDir, profileType + "/" + getPackagePath() + "/" + "meta");
- }
-
- /**
- * Version of xml-maven-plugin to use.
- *
- * @parameter default-value="1.0"
- * @required
- */
- private String xmlMavenPluginVersion;
-
- /**
- * Returns the version of xml-maven-plugin.
- *
- * @return {@code xmlMavenPluginVersion}
- */
- public final String getXmlMavenPluginVersion() {
- return xmlMavenPluginVersion;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public final void execute() throws MojoExecutionException {
- //checkDirectories();
-
- Executor exec = new Executor();
-
- getLog().info("Validate XML definition files");
- exec.validateXmlDefinitionsFiles();
-
- getLog().info("Generate meta, server and client APIs for components...");
- exec.generateSourcesAndManifests();
-
- getLog().info("Generate I18N messages and profiles...");
- exec.generateMessagesAndProfiles();
-
- getLog().info("Adding source directory " + generatedSourcesRootDir);
- getProject().addCompileSourceRoot(generatedSourcesRootDir);
- }
-
- void checkDirectories() throws MojoExecutionException {
- if (getPackagePath() == null) {
- throw new MojoExecutionException("<packagePath> must be set.");
- }
- if (getXmlDefinitionsDirectory() == null || !getXmlDefinitionsDirectory().exists()) {
- throw new MojoExecutionException("<xmlDefinitionsRootDir> and <packagePath> must be set and concatenation"
- + "of the two (with / separator) must correspond to an existing directory.");
- }
- if (getXslDirectory() == null || !getXslDirectory().exists()) {
- throw new MojoExecutionException("<xslDir> must be set and must correspond to an existing directory.");
- }
- }
-
- /**
- * Execute xml maven plugin with several executions and configurations.
- */
- private class Executor extends MojoExecutor {
-
- private static final String SAXON_LIBRARY_VERSION = "6.5.3";
-
- private static final String FILE_EXTENSION_MAPPER =
- "org.codehaus.plexus.components.io.filemappers.FileExtensionMapper";
-
- private static final String REGEXP_FILE_MAPPER =
- "org.codehaus.plexus.components.io.filemappers.RegExpFileMapper";
-
- private static final String CLIENT = "client";
-
- private static final String SERVER = "server";
-
- private static final String META = "meta";
-
- private static final String PROPERTIES_FILE_REPLACEMENT_PATTERN = "$1CfgDefn.properties";
-
- /** Pattern to identify a xml definition file for java package. */
- private static final String XML_CONFIG_PACKAGE_FILE_PATTERN = "^Package\\.xml$";
-
- /** Pattern to identify a xml definition file for java class. */
- private static final String XML_CONFIG_FILE_PATTERN = "^([^/]+)Configuration\\.xml$";
-
- /**
- * Generate sources for configuration.
- */
- void generateSourcesAndManifests() throws MojoExecutionException {
- executeMojo(
- xmlPlugin(),
- goal("transform"),
- configuration(
- element(name("transformationSets"),
- transformationSetForClasses(META, "$1CfgDefn.java"),
- transformationSetForPackage(META),
- transformationSetForClasses(SERVER, "$1Cfg.java"),
- transformationSetForPackage(SERVER),
- transformationSetForClasses(CLIENT, "$1CfgClient.java"),
- transformationSetForPackage(CLIENT),
- transformationSetForManifests()
- )),
- executionEnvironment(getProject(), getSession(), getPluginManager()));
-
- /*
- * Concatenate all single manifest files to a single manifest for
- * core administration components.
- */
- executeMojo(
- plugin(
- groupId("org.apache.maven.plugins"),
- artifactId("maven-antrun-plugin"),
- version("1.7")),
- goal("run"),
- configuration(
- element(name("target"),
- element(name("concat"),
- attribute("destfile", generatedManifestsLocation),
- element(name("fileset"),
- attributes(
- attribute("dir", generatedManifestsTempDir),
- attribute("includes", "**/*.manifest")))),
- element(name("delete"), attribute("dir", generatedManifestsTempDir))
- )
- ),
- executionEnvironment(getProject(), getSession(), getPluginManager()));
- }
-
- /**
- * Validate xml configuration files.
- */
- void validateXmlDefinitionsFiles() throws MojoExecutionException {
- executeMojo(
- xmlPlugin(),
- goal("validate"),
- configuration(
- element(name("validationSets"),
- element(name("validationSet"),
- directoryElement(),
- element(name("systemId"), filePath(getXslDirectory()) + "/" + "admin.xsd"))),
- element(name("catalogs"),
- element(name("catalog"), filePath(getXslDirectory()) + "/" + "catalog.xml"))),
- executionEnvironment(getProject(), getSession(), getPluginManager()));
- }
-
- /**
- * Generate I18N messages and LDAP/CLI profiles for configuration.
- */
- void generateMessagesAndProfiles() throws MojoExecutionException {
- executeMojo(xmlPlugin(),
- goal("transform"),
- configuration(
- element(name("transformationSets"),
- transformationSetForResource(filePath(getGeneratedMessagesDirectory()), "messagesMO.xsl"),
- transformationSetForResource(filePath(getGeneratedProfilesDirectory("ldap")),
- "ldapMOProfile.xsl"),
- transformationSetForResource(filePath(getGeneratedProfilesDirectory("cli")),
- "cliMOProfile.xsl")
- )),
- executionEnvironment(getProject(), getSession(), getPluginManager()));
- }
-
- private Plugin xmlPlugin() {
- Dependency xsltLibrary = new Dependency();
- xsltLibrary.setGroupId("saxon");
- xsltLibrary.setArtifactId("saxon");
- xsltLibrary.setVersion(SAXON_LIBRARY_VERSION);
-
- List<Dependency> deps = new ArrayList<Dependency>();
- deps.add(xsltLibrary);
-
- if (isExtension) {
- Dependency opendjConfig = new Dependency();
- opendjConfig.setGroupId("org.forgerock.opendj");
- opendjConfig.setArtifactId("opendj-config");
- opendjConfig.setVersion("3.0.0-SNAPSHOT");
- deps.add(opendjConfig);
- }
-
- return plugin(groupId("org.codehaus.mojo"), artifactId("xml-maven-plugin"),
- version(getXmlMavenPluginVersion()), deps);
- }
-
- private MojoExecutor.Element transformationSetForClasses(String type, String patternReplacement) {
- String xslFileName = type + "MO.xsl";
- return transformationSetForSource(type, xslFileName, packageElement(false), XML_CONFIG_FILE_PATTERN,
- patternReplacement, baseDirParameter());
- }
-
- private MojoExecutor.Element transformationSetForPackage(String type) {
- return transformationSetForSource(type, "package-info.xsl", packageElement(true),
- XML_CONFIG_PACKAGE_FILE_PATTERN, "package-info.java", typeParameter(type));
- }
-
- /**
- * Returns a transformation set element for source code.
- */
- private MojoExecutor.Element transformationSetForSource(String finalOutputDir, String xslName,
- MojoExecutor.Element packageElement, String pattern, String patternReplacement,
- MojoExecutor.Element parameter) {
- return element(name("transformationSet"),
- directoryElement(),
- outputDirElement(filePath(getGeneratedSourcesDirectory()) + "/" + finalOutputDir),
- styleSheetElement(xslName),
- packageElement,
- element(name("fileMappers"), element(name("fileMapper"),
- attribute("implementation", REGEXP_FILE_MAPPER),
- element(name("pattern"), pattern),
- element(name("replacement"), patternReplacement))),
- element(name("parameters"), parameter));
- }
-
- /**
- * Returns a transformation set element for manifests.
- */
- private MojoExecutor.Element transformationSetForManifests() {
- return element(name("transformationSet"),
- directoryElement(),
- outputDirElement(getGeneratedManifestsTempDirectory()),
- styleSheetElement("manifestMO.xsl"),
- packageElement(false),
- element(name("fileMappers"), element(name("fileMapper"),
- attribute("implementation", FILE_EXTENSION_MAPPER),
- element(name("targetExtension"), ".manifest"))));
- }
-
- /**
- * Returns a transformation set element for source code.
- */
- private MojoExecutor.Element transformationSetForResource(String outputDir, String xslName) {
- return element(name("transformationSet"),
- directoryElement(),
- outputDirElement(outputDir),
- styleSheetElement(xslName),
- packageElement(false),
- element(name("fileMappers"), element(name("fileMapper"),
- attribute("implementation", REGEXP_FILE_MAPPER),
- element(name("pattern"), XML_CONFIG_FILE_PATTERN),
- element(name("replacement"), PROPERTIES_FILE_REPLACEMENT_PATTERN))),
- element(name("parameters"), baseDirParameter()));
-
- }
-
- private Element outputDirElement(String outputDir) {
- return element(name("outputDir"), outputDir);
- }
-
- private Element styleSheetElement(String xslName) {
- return element(name("stylesheet"), filePath(getXslDirectory()) + "/" + xslName);
- }
-
- private Element directoryElement() {
- return element(name("dir"), filePath(getXmlDefinitionsDirectory()));
- }
-
- private MojoExecutor.Element baseDirParameter() {
- return element(name("parameter"), element(name("name"), "base-dir"),
- element(name("value"), filePath(getXmlDefinitionsRootDirectory())));
- }
-
- private MojoExecutor.Element typeParameter(String value) {
- return element(name("parameter"),
- element(name("name"), "type"),
- element(name("value"), value));
- }
-
- /** Package element either include "package.xml" file or exclude it. */
- private MojoExecutor.Element packageElement(boolean include) {
- String tag = include ? "include" : "exclude";
- String pluralTag = tag + "s";
- return element(name(pluralTag), element(name(tag), "Package.xml"));
- }
-
- /** Returns the string path from the provided file. */
- private String filePath(File file) {
- return FilenameUtils.separatorsToUnix(file.getPath());
- }
-
- }
-}
diff --git a/opendj-config/src/main/resources/config/stylesheets/abbreviations.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/abbreviations.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/abbreviations.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/abbreviations.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/admin-cli.xsd b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/admin-cli.xsd
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/admin-cli.xsd
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/admin-cli.xsd
diff --git a/opendj-config/src/main/resources/config/stylesheets/admin-ldap.xsd b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/admin-ldap.xsd
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/admin-ldap.xsd
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/admin-ldap.xsd
diff --git a/opendj-config/src/main/resources/config/stylesheets/admin-preprocessor.xsd b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/admin-preprocessor.xsd
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/admin-preprocessor.xsd
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/admin-preprocessor.xsd
diff --git a/opendj-config/src/main/resources/config/stylesheets/admin.xsd b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/admin.xsd
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/admin.xsd
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/admin.xsd
diff --git a/opendj-config/src/main/resources/config/stylesheets/catalog.xml b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/catalog.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/catalog.xml
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/catalog.xml
diff --git a/opendj-config/src/main/resources/config/stylesheets/cliMOProfile.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/cliMOProfile.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/cliMOProfile.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/cliMOProfile.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/clientMO.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/clientMO.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/clientMO.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/clientMO.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/conditions.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/conditions.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/conditions.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/conditions.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/java-utilities.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/java-utilities.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/java-utilities.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/java-utilities.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/ldapMOProfile.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/ldapMOProfile.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/ldapMOProfile.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/ldapMOProfile.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/manifestMO.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/manifestMO.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/manifestMO.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/manifestMO.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/messagesMO.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/messagesMO.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/messagesMO.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/messagesMO.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/metaMO.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/metaMO.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/metaMO.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/metaMO.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/package-info.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/package-info.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/package-info.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/package-info.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/preprocessor.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/preprocessor.xsl
similarity index 98%
rename from opendj-config/src/main/resources/config/stylesheets/preprocessor.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/preprocessor.xsl
index 91dc928..1285e94 100644
--- a/opendj-config/src/main/resources/config/stylesheets/preprocessor.xsl
+++ b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/preprocessor.xsl
@@ -27,15 +27,14 @@
<xsl:stylesheet version="1.0" xmlns:adm="http://opendj.forgerock.org/admin"
xmlns:admpp="http://opendj.forgerock.org/admin-preprocessor"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:exsl="http://exslt.org/common"
- xmlns:file="xalan://java.io.File">
+ xmlns:exsl="http://exslt.org/common">
<xsl:import href="java-utilities.xsl" />
<xsl:output method="xml" indent="yes" />
<!--
Global parameter: the absolute path of the base directory where
XML managed object definitions can be found.
-->
- <xsl:param name="base-dir" select="'src/main/java'" />
+ <xsl:param name="base-dir" select="''" />
<!--
Get an absolute URI from a package, object name, and suffix.
-->
@@ -58,10 +57,7 @@
<!--
Get the absolute path.
-->
- <xsl:variable name="base-file" select="file:new($base-dir)" />
- <xsl:variable name="base-dir-uri" select="file:toURI($base-file)" />
- <xsl:value-of
- select="concat($base-dir-uri, '/', $rpath, '/', $java-name, $suffix)" />
+ <xsl:value-of select="concat($base-dir, $rpath, '/', $java-name, $suffix)" />
</xsl:template>
<!--
Get the URI of the named package definition.
diff --git a/opendj-config/src/main/resources/config/stylesheets/property-types.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/property-types.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/property-types/aci.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/aci.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/property-types/aci.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/aci.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/property-types/aggregation.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/aggregation.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/property-types/aggregation.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/aggregation.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/property-types/attribute-type.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/attribute-type.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/property-types/attribute-type.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/attribute-type.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/property-types/boolean.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/boolean.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/property-types/boolean.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/boolean.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/property-types/dn.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/dn.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/property-types/dn.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/dn.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/property-types/duration.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/duration.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/property-types/duration.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/duration.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/property-types/enumeration.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/enumeration.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/property-types/enumeration.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/enumeration.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/property-types/extensible-matching-rule-type.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/extensible-matching-rule-type.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/property-types/extensible-matching-rule-type.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/extensible-matching-rule-type.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/property-types/integer.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/integer.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/property-types/integer.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/integer.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/property-types/ip-address-mask.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/ip-address-mask.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/property-types/ip-address-mask.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/ip-address-mask.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/property-types/ip-address.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/ip-address.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/property-types/ip-address.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/ip-address.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/property-types/java-class.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/java-class.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/property-types/java-class.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/java-class.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/property-types/oid.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/oid.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/property-types/oid.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/oid.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/property-types/password.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/password.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/property-types/password.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/password.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/property-types/size.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/size.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/property-types/size.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/size.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/property-types/string.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/string.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/property-types/string.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/property-types/string.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/serverMO.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/serverMO.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/serverMO.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/serverMO.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/text-utilities.xsl b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/text-utilities.xsl
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/text-utilities.xsl
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/text-utilities.xsl
diff --git a/opendj-config/src/main/resources/config/stylesheets/xml.xsd b/opendj-config-maven-plugin/src/main/resources/config/stylesheets/xml.xsd
similarity index 100%
rename from opendj-config/src/main/resources/config/stylesheets/xml.xsd
rename to opendj-config-maven-plugin/src/main/resources/config/stylesheets/xml.xsd
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AESPasswordStorageSchemeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AESPasswordStorageSchemeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AESPasswordStorageSchemeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AESPasswordStorageSchemeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccessControlHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccessControlHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccessControlHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccessControlHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccessLogFilteringCriteriaConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccessLogFilteringCriteriaConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccessLogFilteringCriteriaConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccessLogFilteringCriteriaConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccessLogPublisherConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccessLogPublisherConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccessLogPublisherConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccessLogPublisherConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccountStatusNotificationHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccountStatusNotificationHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccountStatusNotificationHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AccountStatusNotificationHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AdministrationConnectorConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AdministrationConnectorConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AdministrationConnectorConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AdministrationConnectorConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AlertHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AlertHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AlertHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AlertHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AnonymousSASLMechanismHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AnonymousSASLMechanismHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AnonymousSASLMechanismHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AnonymousSASLMechanismHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeCleanupPluginConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeCleanupPluginConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeCleanupPluginConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeCleanupPluginConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeSyntaxConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeSyntaxConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeSyntaxConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeSyntaxConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeTypeDescriptionAttributeSyntaxConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeTypeDescriptionAttributeSyntaxConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeTypeDescriptionAttributeSyntaxConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeTypeDescriptionAttributeSyntaxConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeValuePasswordValidatorConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeValuePasswordValidatorConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeValuePasswordValidatorConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AttributeValuePasswordValidatorConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AuthenticationPolicyConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AuthenticationPolicyConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/AuthenticationPolicyConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AuthenticationPolicyConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/BackendConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/BackendConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/BackendConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/BackendConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/BackupBackendConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/BackupBackendConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/BackupBackendConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/BackupBackendConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/Base64PasswordStorageSchemeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/Base64PasswordStorageSchemeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/Base64PasswordStorageSchemeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/Base64PasswordStorageSchemeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/BlindTrustManagerProviderConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/BlindTrustManagerProviderConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/BlindTrustManagerProviderConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/BlindTrustManagerProviderConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/BlowfishPasswordStorageSchemeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/BlowfishPasswordStorageSchemeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/BlowfishPasswordStorageSchemeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/BlowfishPasswordStorageSchemeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CancelExtendedOperationHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CancelExtendedOperationHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CancelExtendedOperationHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CancelExtendedOperationHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CertificateAttributeSyntaxConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CertificateAttributeSyntaxConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CertificateAttributeSyntaxConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CertificateAttributeSyntaxConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CertificateMapperConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CertificateMapperConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CertificateMapperConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CertificateMapperConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ChangeNumberControlPluginConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ChangeNumberControlPluginConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ChangeNumberControlPluginConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ChangeNumberControlPluginConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CharacterSetPasswordValidatorConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CharacterSetPasswordValidatorConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CharacterSetPasswordValidatorConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CharacterSetPasswordValidatorConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ClearPasswordStorageSchemeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ClearPasswordStorageSchemeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ClearPasswordStorageSchemeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ClearPasswordStorageSchemeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ClientConnectionMonitorProviderConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ClientConnectionMonitorProviderConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ClientConnectionMonitorProviderConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ClientConnectionMonitorProviderConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CollationMatchingRuleConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CollationMatchingRuleConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CollationMatchingRuleConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CollationMatchingRuleConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CollectiveAttributeSubentriesVirtualAttributeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CollectiveAttributeSubentriesVirtualAttributeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CollectiveAttributeSubentriesVirtualAttributeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CollectiveAttributeSubentriesVirtualAttributeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ConfigFileHandlerBackendConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ConfigFileHandlerBackendConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ConfigFileHandlerBackendConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ConfigFileHandlerBackendConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ConnectionHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ConnectionHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ConnectionHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ConnectionHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CountryStringAttributeSyntaxConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CountryStringAttributeSyntaxConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CountryStringAttributeSyntaxConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CountryStringAttributeSyntaxConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CramMD5SASLMechanismHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CramMD5SASLMechanismHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CramMD5SASLMechanismHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CramMD5SASLMechanismHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CryptPasswordStorageSchemeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CryptPasswordStorageSchemeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CryptPasswordStorageSchemeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CryptPasswordStorageSchemeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CryptoManagerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CryptoManagerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/CryptoManagerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CryptoManagerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/DebugLogPublisherConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DebugLogPublisherConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/DebugLogPublisherConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DebugLogPublisherConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/DebugTargetConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DebugTargetConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/DebugTargetConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DebugTargetConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/DictionaryPasswordValidatorConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DictionaryPasswordValidatorConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/DictionaryPasswordValidatorConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DictionaryPasswordValidatorConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/DigestMD5SASLMechanismHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DigestMD5SASLMechanismHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/DigestMD5SASLMechanismHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DigestMD5SASLMechanismHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/DirectoryStringAttributeSyntaxConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DirectoryStringAttributeSyntaxConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/DirectoryStringAttributeSyntaxConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DirectoryStringAttributeSyntaxConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/DseeCompatAccessControlHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DseeCompatAccessControlHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/DseeCompatAccessControlHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DseeCompatAccessControlHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/DynamicGroupImplementationConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DynamicGroupImplementationConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/DynamicGroupImplementationConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/DynamicGroupImplementationConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntityTagVirtualAttributeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntityTagVirtualAttributeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntityTagVirtualAttributeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntityTagVirtualAttributeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryCacheConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryCacheConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryCacheConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryCacheConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryCacheMonitorProviderConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryCacheMonitorProviderConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryCacheMonitorProviderConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryCacheMonitorProviderConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryDNVirtualAttributeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryDNVirtualAttributeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryDNVirtualAttributeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryDNVirtualAttributeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryUUIDPluginConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryUUIDPluginConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryUUIDPluginConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryUUIDPluginConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryUUIDVirtualAttributeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryUUIDVirtualAttributeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryUUIDVirtualAttributeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/EntryUUIDVirtualAttributeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ErrorLogAccountStatusNotificationHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ErrorLogAccountStatusNotificationHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ErrorLogAccountStatusNotificationHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ErrorLogAccountStatusNotificationHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ErrorLogPublisherConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ErrorLogPublisherConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ErrorLogPublisherConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ErrorLogPublisherConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExactMatchIdentityMapperConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExactMatchIdentityMapperConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExactMatchIdentityMapperConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExactMatchIdentityMapperConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExtendedOperationHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExtendedOperationHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExtendedOperationHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExtendedOperationHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExtensionConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExtensionConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExtensionConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExtensionConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExternalChangelogDomainConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExternalChangelogDomainConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExternalChangelogDomainConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExternalChangelogDomainConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExternalSASLMechanismHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExternalSASLMechanismHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExternalSASLMechanismHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ExternalSASLMechanismHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FIFOEntryCacheConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FIFOEntryCacheConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FIFOEntryCacheConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FIFOEntryCacheConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedAccessLogPublisherConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedAccessLogPublisherConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedAccessLogPublisherConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedAccessLogPublisherConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedAuditLogPublisherConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedAuditLogPublisherConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedAuditLogPublisherConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedAuditLogPublisherConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedDebugLogPublisherConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedDebugLogPublisherConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedDebugLogPublisherConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedDebugLogPublisherConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedErrorLogPublisherConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedErrorLogPublisherConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedErrorLogPublisherConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedErrorLogPublisherConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedHTTPAccessLogPublisherConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedHTTPAccessLogPublisherConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedHTTPAccessLogPublisherConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedHTTPAccessLogPublisherConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedKeyManagerProviderConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedKeyManagerProviderConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedKeyManagerProviderConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedKeyManagerProviderConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedTrustManagerProviderConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedTrustManagerProviderConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedTrustManagerProviderConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileBasedTrustManagerProviderConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileCountLogRetentionPolicyConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileCountLogRetentionPolicyConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileCountLogRetentionPolicyConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileCountLogRetentionPolicyConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileSystemEntryCacheConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileSystemEntryCacheConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileSystemEntryCacheConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FileSystemEntryCacheConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FingerprintCertificateMapperConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FingerprintCertificateMapperConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FingerprintCertificateMapperConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FingerprintCertificateMapperConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FixedTimeLogRotationPolicyConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FixedTimeLogRotationPolicyConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FixedTimeLogRotationPolicyConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FixedTimeLogRotationPolicyConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FractionalLDIFImportPluginConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FractionalLDIFImportPluginConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FractionalLDIFImportPluginConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FractionalLDIFImportPluginConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FreeDiskSpaceLogRetentionPolicyConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FreeDiskSpaceLogRetentionPolicyConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/FreeDiskSpaceLogRetentionPolicyConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/FreeDiskSpaceLogRetentionPolicyConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/GSSAPISASLMechanismHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GSSAPISASLMechanismHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/GSSAPISASLMechanismHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GSSAPISASLMechanismHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/GetConnectionIdExtendedOperationHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GetConnectionIdExtendedOperationHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/GetConnectionIdExtendedOperationHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GetConnectionIdExtendedOperationHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/GetSymmetricKeyExtendedOperationHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GetSymmetricKeyExtendedOperationHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/GetSymmetricKeyExtendedOperationHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GetSymmetricKeyExtendedOperationHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/GlobalConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GlobalConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/GlobalConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GlobalConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/GoverningStructureRuleVirtualAttributeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GoverningStructureRuleVirtualAttributeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/GoverningStructureRuleVirtualAttributeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GoverningStructureRuleVirtualAttributeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/GroupImplementationConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GroupImplementationConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/GroupImplementationConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GroupImplementationConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/HTTPAccessLogPublisherConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/HTTPAccessLogPublisherConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/HTTPAccessLogPublisherConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/HTTPAccessLogPublisherConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/HTTPConnectionHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/HTTPConnectionHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/HTTPConnectionHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/HTTPConnectionHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/HasSubordinatesVirtualAttributeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/HasSubordinatesVirtualAttributeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/HasSubordinatesVirtualAttributeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/HasSubordinatesVirtualAttributeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/IdentityMapperConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/IdentityMapperConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/IdentityMapperConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/IdentityMapperConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/IsMemberOfVirtualAttributeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/IsMemberOfVirtualAttributeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/IsMemberOfVirtualAttributeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/IsMemberOfVirtualAttributeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/JMXAlertHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/JMXAlertHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/JMXAlertHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/JMXAlertHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/JMXConnectionHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/JMXConnectionHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/JMXConnectionHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/JMXConnectionHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/JPEGAttributeSyntaxConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/JPEGAttributeSyntaxConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/JPEGAttributeSyntaxConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/JPEGAttributeSyntaxConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/KeyManagerProviderConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/KeyManagerProviderConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/KeyManagerProviderConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/KeyManagerProviderConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDAPAttributeDescriptionListPluginConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDAPAttributeDescriptionListPluginConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDAPAttributeDescriptionListPluginConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDAPAttributeDescriptionListPluginConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDAPConnectionHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDAPConnectionHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDAPConnectionHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDAPConnectionHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDAPPassThroughAuthenticationPolicyConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDAPPassThroughAuthenticationPolicyConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDAPPassThroughAuthenticationPolicyConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDAPPassThroughAuthenticationPolicyConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDIFBackendConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDIFBackendConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDIFBackendConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDIFBackendConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDIFConnectionHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDIFConnectionHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDIFConnectionHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LDIFConnectionHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LastModPluginConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LastModPluginConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LastModPluginConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LastModPluginConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LengthBasedPasswordValidatorConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LengthBasedPasswordValidatorConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LengthBasedPasswordValidatorConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LengthBasedPasswordValidatorConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalBackendWorkflowElementConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalBackendWorkflowElementConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalBackendWorkflowElementConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalBackendWorkflowElementConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalDBBackendConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalDBBackendConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalDBBackendConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalDBBackendConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalDBIndexConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalDBIndexConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalDBIndexConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalDBIndexConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalDBVLVIndexConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalDBVLVIndexConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalDBVLVIndexConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LocalDBVLVIndexConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LogPublisherConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LogPublisherConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LogPublisherConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LogPublisherConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LogRetentionPolicyConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LogRetentionPolicyConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LogRetentionPolicyConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LogRetentionPolicyConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LogRotationPolicyConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LogRotationPolicyConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/LogRotationPolicyConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/LogRotationPolicyConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/MD5PasswordStorageSchemeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MD5PasswordStorageSchemeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/MD5PasswordStorageSchemeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MD5PasswordStorageSchemeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/MatchingRuleConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MatchingRuleConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/MatchingRuleConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MatchingRuleConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/MemberVirtualAttributeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MemberVirtualAttributeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/MemberVirtualAttributeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MemberVirtualAttributeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/MemoryBackendConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MemoryBackendConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/MemoryBackendConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MemoryBackendConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/MemoryUsageMonitorProviderConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MemoryUsageMonitorProviderConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/MemoryUsageMonitorProviderConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MemoryUsageMonitorProviderConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/MonitorBackendConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MonitorBackendConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/MonitorBackendConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MonitorBackendConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/MonitorProviderConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MonitorProviderConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/MonitorProviderConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/MonitorProviderConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/NetworkGroupConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/NetworkGroupConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/NetworkGroupConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/NetworkGroupConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/NetworkGroupPluginConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/NetworkGroupPluginConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/NetworkGroupPluginConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/NetworkGroupPluginConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/NullBackendConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/NullBackendConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/NullBackendConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/NullBackendConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/NumSubordinatesVirtualAttributeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/NumSubordinatesVirtualAttributeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/NumSubordinatesVirtualAttributeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/NumSubordinatesVirtualAttributeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PBKDF2PasswordStorageSchemeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PBKDF2PasswordStorageSchemeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PBKDF2PasswordStorageSchemeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PBKDF2PasswordStorageSchemeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PKCS11KeyManagerProviderConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PKCS11KeyManagerProviderConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PKCS11KeyManagerProviderConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PKCS11KeyManagerProviderConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/Package.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/Package.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/Package.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/Package.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ParallelWorkQueueConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ParallelWorkQueueConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ParallelWorkQueueConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ParallelWorkQueueConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordExpirationTimeVirtualAttributeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordExpirationTimeVirtualAttributeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordExpirationTimeVirtualAttributeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordExpirationTimeVirtualAttributeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordGeneratorConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordGeneratorConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordGeneratorConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordGeneratorConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordModifyExtendedOperationHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordModifyExtendedOperationHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordModifyExtendedOperationHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordModifyExtendedOperationHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicyConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicyConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicyConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicyConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicyImportPluginConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicyImportPluginConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicyImportPluginConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicyImportPluginConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicyStateExtendedOperationHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicyStateExtendedOperationHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicyStateExtendedOperationHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicyStateExtendedOperationHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicySubentryVirtualAttributeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicySubentryVirtualAttributeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicySubentryVirtualAttributeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordPolicySubentryVirtualAttributeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordStorageSchemeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordStorageSchemeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordStorageSchemeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordStorageSchemeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordValidatorConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordValidatorConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordValidatorConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PasswordValidatorConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PlainSASLMechanismHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PlainSASLMechanismHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PlainSASLMechanismHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PlainSASLMechanismHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PluginConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PluginConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PluginConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PluginConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PluginRootConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PluginRootConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/PluginRootConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PluginRootConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ProfilerPluginConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ProfilerPluginConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ProfilerPluginConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ProfilerPluginConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/QOSPolicyConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/QOSPolicyConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/QOSPolicyConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/QOSPolicyConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/RC4PasswordStorageSchemeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RC4PasswordStorageSchemeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/RC4PasswordStorageSchemeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RC4PasswordStorageSchemeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/RandomPasswordGeneratorConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RandomPasswordGeneratorConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/RandomPasswordGeneratorConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RandomPasswordGeneratorConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReferentialIntegrityPluginConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReferentialIntegrityPluginConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReferentialIntegrityPluginConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReferentialIntegrityPluginConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/RegularExpressionIdentityMapperConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RegularExpressionIdentityMapperConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/RegularExpressionIdentityMapperConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RegularExpressionIdentityMapperConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/RepeatedCharactersPasswordValidatorConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RepeatedCharactersPasswordValidatorConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/RepeatedCharactersPasswordValidatorConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RepeatedCharactersPasswordValidatorConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationDomainConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationDomainConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationDomainConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationDomainConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationServerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationServerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationServerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationServerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationSynchronizationProviderConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationSynchronizationProviderConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationSynchronizationProviderConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationSynchronizationProviderConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/RequestFilteringQOSPolicyConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RequestFilteringQOSPolicyConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/RequestFilteringQOSPolicyConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RequestFilteringQOSPolicyConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ResourceLimitsQOSPolicyConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ResourceLimitsQOSPolicyConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/ResourceLimitsQOSPolicyConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ResourceLimitsQOSPolicyConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDNConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDNConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDNConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDNConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDNUserConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDNUserConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDNUserConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDNUserConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDSEBackendConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDSEBackendConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDSEBackendConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDSEBackendConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SASLMechanismHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SASLMechanismHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SASLMechanismHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SASLMechanismHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SHA1PasswordStorageSchemeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SHA1PasswordStorageSchemeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SHA1PasswordStorageSchemeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SHA1PasswordStorageSchemeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SMTPAccountStatusNotificationHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SMTPAccountStatusNotificationHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SMTPAccountStatusNotificationHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SMTPAccountStatusNotificationHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SMTPAlertHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SMTPAlertHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SMTPAlertHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SMTPAlertHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SNMPConnectionHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SNMPConnectionHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SNMPConnectionHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SNMPConnectionHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedMD5PasswordStorageSchemeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedMD5PasswordStorageSchemeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedMD5PasswordStorageSchemeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedMD5PasswordStorageSchemeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA1PasswordStorageSchemeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA1PasswordStorageSchemeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA1PasswordStorageSchemeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA1PasswordStorageSchemeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA256PasswordStorageSchemeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA256PasswordStorageSchemeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA256PasswordStorageSchemeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA256PasswordStorageSchemeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA384PasswordStorageSchemeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA384PasswordStorageSchemeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA384PasswordStorageSchemeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA384PasswordStorageSchemeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA512PasswordStorageSchemeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA512PasswordStorageSchemeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA512PasswordStorageSchemeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SaltedSHA512PasswordStorageSchemeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SambaPasswordPluginConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SambaPasswordPluginConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SambaPasswordPluginConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SambaPasswordPluginConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SchemaBackendConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SchemaBackendConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SchemaBackendConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SchemaBackendConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SevenBitCleanPluginConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SevenBitCleanPluginConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SevenBitCleanPluginConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SevenBitCleanPluginConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SimilarityBasedPasswordValidatorConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SimilarityBasedPasswordValidatorConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SimilarityBasedPasswordValidatorConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SimilarityBasedPasswordValidatorConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SizeLimitLogRetentionPolicyConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SizeLimitLogRetentionPolicyConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SizeLimitLogRetentionPolicyConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SizeLimitLogRetentionPolicyConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SizeLimitLogRotationPolicyConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SizeLimitLogRotationPolicyConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SizeLimitLogRotationPolicyConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SizeLimitLogRotationPolicyConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SoftReferenceEntryCacheConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SoftReferenceEntryCacheConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SoftReferenceEntryCacheConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SoftReferenceEntryCacheConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/StackTraceMonitorProviderConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/StackTraceMonitorProviderConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/StackTraceMonitorProviderConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/StackTraceMonitorProviderConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/StartTLSExtendedOperationHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/StartTLSExtendedOperationHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/StartTLSExtendedOperationHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/StartTLSExtendedOperationHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/StaticGroupImplementationConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/StaticGroupImplementationConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/StaticGroupImplementationConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/StaticGroupImplementationConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/StructuralObjectClassVirtualAttributeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/StructuralObjectClassVirtualAttributeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/StructuralObjectClassVirtualAttributeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/StructuralObjectClassVirtualAttributeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubjectAttributeToUserAttributeCertificateMapperConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubjectAttributeToUserAttributeCertificateMapperConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubjectAttributeToUserAttributeCertificateMapperConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubjectAttributeToUserAttributeCertificateMapperConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubjectDNToUserAttributeCertificateMapperConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubjectDNToUserAttributeCertificateMapperConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubjectDNToUserAttributeCertificateMapperConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubjectDNToUserAttributeCertificateMapperConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubjectEqualsDNCertificateMapperConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubjectEqualsDNCertificateMapperConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubjectEqualsDNCertificateMapperConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubjectEqualsDNCertificateMapperConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubschemaSubentryVirtualAttributeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubschemaSubentryVirtualAttributeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubschemaSubentryVirtualAttributeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SubschemaSubentryVirtualAttributeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SynchronizationProviderConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SynchronizationProviderConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SynchronizationProviderConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SynchronizationProviderConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SystemInfoMonitorProviderConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SystemInfoMonitorProviderConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/SystemInfoMonitorProviderConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/SystemInfoMonitorProviderConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/TaskBackendConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TaskBackendConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/TaskBackendConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TaskBackendConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/TelephoneNumberAttributeSyntaxConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TelephoneNumberAttributeSyntaxConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/TelephoneNumberAttributeSyntaxConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TelephoneNumberAttributeSyntaxConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/TimeLimitLogRotationPolicyConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TimeLimitLogRotationPolicyConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/TimeLimitLogRotationPolicyConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TimeLimitLogRotationPolicyConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/TraditionalWorkQueueConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TraditionalWorkQueueConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/TraditionalWorkQueueConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TraditionalWorkQueueConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/TripleDESPasswordStorageSchemeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TripleDESPasswordStorageSchemeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/TripleDESPasswordStorageSchemeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TripleDESPasswordStorageSchemeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/TrustManagerProviderConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TrustManagerProviderConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/TrustManagerProviderConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TrustManagerProviderConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/TrustStoreBackendConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TrustStoreBackendConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/TrustStoreBackendConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/TrustStoreBackendConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/UniqueAttributePluginConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/UniqueAttributePluginConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/UniqueAttributePluginConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/UniqueAttributePluginConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/UniqueCharactersPasswordValidatorConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/UniqueCharactersPasswordValidatorConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/UniqueCharactersPasswordValidatorConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/UniqueCharactersPasswordValidatorConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/UserDefinedVirtualAttributeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/UserDefinedVirtualAttributeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/UserDefinedVirtualAttributeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/UserDefinedVirtualAttributeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/VersionMonitorProviderConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/VersionMonitorProviderConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/VersionMonitorProviderConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/VersionMonitorProviderConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/VirtualAttributeConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/VirtualAttributeConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/VirtualAttributeConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/VirtualAttributeConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/VirtualStaticGroupImplementationConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/VirtualStaticGroupImplementationConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/VirtualStaticGroupImplementationConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/VirtualStaticGroupImplementationConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/WhoAmIExtendedOperationHandlerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/WhoAmIExtendedOperationHandlerConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/WhoAmIExtendedOperationHandlerConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/WhoAmIExtendedOperationHandlerConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/WorkQueueConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/WorkQueueConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/WorkQueueConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/WorkQueueConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/WorkflowConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/WorkflowConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/WorkflowConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/WorkflowConfiguration.xml
diff --git a/opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/WorkflowElementConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/WorkflowElementConfiguration.xml
similarity index 100%
rename from opendj-config/src/main/resources/config/xml/org/forgerock/opendj/server/config/WorkflowElementConfiguration.xml
rename to opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/WorkflowElementConfiguration.xml
diff --git a/opendj-server-example-plugin/pom.xml b/opendj-server-example-plugin/pom.xml
index d94aa7c..2cf49f2 100644
--- a/opendj-server-example-plugin/pom.xml
+++ b/opendj-server-example-plugin/pom.xml
@@ -33,7 +33,7 @@
<version>3.0.0-SNAPSHOT</version>
</parent>
<artifactId>opendj-server-example-plugin</artifactId>
- <name>Example OpenDJ Server Plugin</name>
+ <name>OpenDJ Server Example Plugin</name>
<description>
An example OpenDJ Server plugin illustrating how custom components may be developed for OpenDJ.
</description>
@@ -91,8 +91,6 @@
</goals>
<configuration>
<packageName>com.example.opendj</packageName>
- <xslDir>config/stylesheets</xslDir>
- <xmlDefinitionsRootDir>${basedir}/src/main/java</xmlDefinitionsRootDir>
</configuration>
</execution>
</executions>
diff --git a/opendj-server-example-plugin/src/main/java/com/example/opendj/ExamplePlugin.java b/opendj-server-example-plugin/src/main/java/com/example/opendj/ExamplePlugin.java
index 705ac2a..7b2db4f 100644
--- a/opendj-server-example-plugin/src/main/java/com/example/opendj/ExamplePlugin.java
+++ b/opendj-server-example-plugin/src/main/java/com/example/opendj/ExamplePlugin.java
@@ -26,26 +26,24 @@
*/
package com.example.opendj;
-import static com.example.opendj.ExamplePluginMessages.*;
-
import java.util.List;
-import java.util.Set;
import org.forgerock.i18n.LocalizableMessage;
import org.forgerock.opendj.config.server.ConfigChangeResult;
-import org.forgerock.opendj.config.server.ConfigException;
import org.forgerock.opendj.config.server.ConfigurationChangeListener;
import org.forgerock.opendj.ldap.ResultCode;
-import org.forgerock.opendj.server.config.meta.PluginCfgDefn.PluginType;
-import org.opends.server.types.InitializationException;
+
+import com.example.opendj.server.ExamplePluginCfg;
/**
* The example plugin implementation class. This plugin will output the
* configured message to the error log during server start up.
*/
public class ExamplePlugin implements ConfigurationChangeListener<ExamplePluginCfg> {
+ // FIXME: fill in the remainder of this class once the server plugin API is migrated.
// The current configuration.
+ @SuppressWarnings("unused")
private ExamplePluginCfg config;
/**
@@ -56,72 +54,12 @@
}
/**
- * Performs any initialization necessary for this plugin. This will be
- * called as soon as the plugin has been loaded and before it is registered
- * with the server.
- *
- * @param pluginTypes
- * The set of plugin types that indicate the ways in which this
- * plugin will be invoked.
- * @param configuration
- * The configuration for this plugin.
- * @throws ConfigException
- * If the provided entry does not contain a valid configuration
- * for this plugin.
- * @throws InitializationException
- * If a problem occurs while initializing the plugin that is not
- * related to the server configuration.
- */
- @Override()
- public void initializePlugin(Set<PluginType> pluginTypes, ExamplePluginCfg configuration)
- throws ConfigException, InitializationException {
- // This plugin may only be used as a server startup plugin.
- for (PluginType t : pluginTypes) {
- switch (t) {
- case STARTUP:
- // This is fine.
- break;
- default:
- LocalizableMessage message = SEVERE_ERR_INITIALIZE_PLUGIN.get(String.valueOf(t));
- throw new ConfigException(message);
- }
- }
-
- // Register change listeners. These are not really necessary for
- // this plugin since it is only used during server start-up.
- configuration.addExampleChangeListener(this);
-
- // Save the configuration.
- this.config = configuration;
- }
-
- /**
- * Performs any processing that should be done when the Directory Server is
- * in the process of starting. This method will be called after virtually
- * all other initialization has been performed but before the connection
- * handlers are started.
- *
- * @return The result of the startup plugin processing.
+ * {@inheritDoc}
*/
@Override
- public PluginResult.Startup doStartup() {
- // Log the provided message.
- LocalizableMessage message = NOTICE_DO_STARTUP.get(String.valueOf(config.getMessage()));
- logError(message);
- return PluginResult.Startup.continueStartup();
- }
-
- public ConfigChangeResult applyConfigurationChange(ExamplePluginCfg config) {
+ public ConfigChangeResult applyConfigurationChange(final ExamplePluginCfg config) {
// The new configuration has already been validated.
- // Log a message to say that the configuration has changed. This
- // isn't necessary, but we'll do it just to show that the change
- // has taken effect.
- LocalizableMessage message =
- NOTICE_APPLY_CONFIGURATION_CHANGE.get(String.valueOf(this.config.getMessage()),
- String.valueOf(config.getMessage()));
- logError(message);
-
// Update the configuration.
this.config = config;
@@ -129,11 +67,16 @@
return new ConfigChangeResult(ResultCode.SUCCESS, false);
}
- public boolean isConfigurationChangeAcceptable(ExamplePluginCfg config,
- List<LocalizableMessage> messages) {
- // The only thing that can be validated here is the plugin's
- // message. However, it is always going to be valid, so let's
- // always return true.
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public boolean isConfigurationChangeAcceptable(final ExamplePluginCfg config,
+ final List<LocalizableMessage> messages) {
+ /*
+ * The only thing that can be validated here is the plugin's message.
+ * However, it is always going to be valid, so let's always return true.
+ */
return true;
}
}
diff --git a/opendj-server/pom.xml b/opendj-server/pom.xml
index 9d52cd5..281dce6 100644
--- a/opendj-server/pom.xml
+++ b/opendj-server/pom.xml
@@ -33,7 +33,7 @@
<version>3.0.0-SNAPSHOT</version>
</parent>
<artifactId>opendj-server</artifactId>
- <name>OpenDJ LDAP Directory Server</name>
+ <name>OpenDJ Server</name>
<description>
This module includes the core functionality of the OpenDJ LDAP Directory Server.
</description>
diff --git a/pom.xml b/pom.xml
index e5c8d96..3ef852d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -92,13 +92,15 @@
<module>opendj-config-maven-plugin</module>
<module>opendj-core</module>
<module>opendj-grizzly</module>
- <!-- <module>opendj-config</module> -->
+ <module>opendj-config</module>
<module>opendj-ldap-sdk</module>
<module>opendj-ldap-toolkit</module>
<module>opendj-ldap-sdk-examples</module>
<module>opendj-rest2ldap</module>
<module>opendj-rest2ldap-servlet</module>
<module>opendj-server2x-adapter</module>
+ <module>opendj-server</module>
+ <module>opendj-server-example-plugin</module>
</modules>
<properties>
<mavenRepoSnapshots>http://maven.forgerock.org/repo/snapshots</mavenRepoSnapshots>
--
Gitblit v1.10.0