mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Mark Craig
18.02.2016 591d43576eb17f6a5c797861d06ae4ea8fb31fb8
OPENDJ-2657 Activate docs profile in default build

Reference documentation generation has been partially extracted
into the `opendj-man-pages` git repository.

Rather than extract the remaining generation steps,
this patch simply activates the docs profile by default.

Advantages:

* Minimal changes to the code.
* Regressions that break doc generation show up immediately.

Disadvantages:

* Slightly longer build (~2 seconds)
* Build produces separate doc artifacts

Jenkins jobs might need to enable `Deploy maven artifacts`
with `Include Patterns` set to deploy the doc artifacts:

```
**/opendj-server-legacy*generated-doc-sources*.jar **/opendj-server-legacy*config-ref*.jar
```
1 files modified
7 ■■■■■ changed files
opendj-server-legacy/pom.xml 7 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/pom.xml
@@ -1488,9 +1488,16 @@
        Build the configuration reference, reference documentation source files,
        and assemble artifacts from the results.
        The artifacts are used when preparing the product documentation.
        This profile is active without being specified explicitly.
        To deactivate this profile, use as exclamation point as in `-P!docs`.
      -->
      <id>docs</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <build>
        <plugins>
          <plugin>