OpenDJ Maven Plugin
Set of build tools for OpenDJ project.
org.forgerock.opendj
opendj-maven-plugin
3.0.0-SNAPSHOT
opendj
false
true
generate-config
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>
compile+runtime
false
true
false
false
false
true
generate-sources
org.forgerock.opendj.maven.GenerateConfigMojo
java
per-lookup
once-per-session
false
isExtension
java.lang.Boolean
true
true
Package name for which artifacts are generated.
<p>
This relative path is used to locate xml definition files and to locate
generated artifacts.
packageName
java.lang.String
true
true
Package name for which artifacts are generated.
<p>
This relative path is used to locate xml definition files and to locate
generated artifacts.
project
org.apache.maven.project.MavenProject
true
false
The Maven Project.
${project}
generate-manifest
Generate a class path suitable for the Class-Path header of a Manifest file,
allowing to filter on included jars, using excludes/includes properties.
<p>
There is a single goal that generates a property given by 'classPathProperty'
parameter, with the generated classpath as the value.
compile+runtime
false
true
false
false
false
true
validate
org.forgerock.opendj.maven.GenerateManifestClassPathMojo
java
per-lookup
once-per-session
false
additionalJars
java.util.List
false
true
List of additional JARs to include in the classpath. Each item must be of format "file.jar".
classPathProperty
java.lang.String
true
true
A property to set to the content of the generated classpath string.
excludes
java.util.List
false
true
List of artifacts to exclude from the classpath. Each item must be of format "groupId:artifactId".
includes
java.util.List
false
true
List of artifacts to include in the classpath. Each item must be of format "groupId:artifactId".
productJarName
java.lang.String
false
true
Name of product jar, e.g. "OpenDJ".
project
org.apache.maven.project.MavenProject
true
false
The Maven Project.
supportedLocales
java.lang.String
false
true
List of supported locales, separated by a ",".
<p>
Example: "fr,es,de"
${project}
concat
Concatenates the contents of the files in the schema directory to create a
base schema that may be used during the upgrade process. Each element will
also include the X-SCHEMA-FILE extension to indicate the source schema file.
<p>
There is a single goal that generates the base schema.
<p>
false
true
false
false
false
true
generate-sources
org.forgerock.opendj.maven.ConcatSchemaMojo
java
per-lookup
once-per-session
false
outputDirectory
java.lang.String
true
true
The directory path of the concatenated schema file to create. Must be in ${project.build.directory}
outputFile
java.lang.String
true
true
The file name of the concatenated schema file to create.
project
org.apache.maven.project.MavenProject
true
false
The Maven Project.
schemaDirectory
java.lang.String
true
true
The path to the directory containing the schema files.
${project}
org.forgerock.commons
forgerock-util
jar
2.0.0-20150825.212318-40
org.slf4j
slf4j-api
jar
1.7.5
org.twdata.maven
mojo-executor
jar
2.2.0
org.apache.maven
maven-core
jar
3.0
org.apache.maven
maven-settings
jar
3.0
org.apache.maven
maven-settings-builder
jar
3.0
org.apache.maven
maven-repository-metadata
jar
3.0
org.apache.maven
maven-model-builder
jar
3.0
org.apache.maven
maven-aether-provider
jar
3.0
org.sonatype.aether
aether-impl
jar
1.7
org.sonatype.aether
aether-spi
jar
1.7
org.sonatype.aether
aether-api
jar
1.7
org.sonatype.aether
aether-util
jar
1.7
org.sonatype.sisu
sisu-inject-plexus
jar
1.4.2
org.sonatype.sisu
sisu-inject-bean
jar
1.4.2
org.sonatype.sisu
sisu-guice
jar
2.1.7
org.codehaus.plexus
plexus-interpolation
jar
1.14
org.codehaus.plexus
plexus-classworlds
jar
2.2.3
org.codehaus.plexus
plexus-component-annotations
jar
1.5.5
org.sonatype.plexus
plexus-sec-dispatcher
jar
1.3
org.sonatype.plexus
plexus-cipher
jar
1.4
org.apache.maven
maven-model
jar
3.0
org.apache.maven
maven-plugin-api
jar
3.0
org.codehaus.plexus
plexus-utils
jar
1.5.1
org.apache.maven
maven-artifact
jar
3.0