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

Matthew Swift
20.51.2015 574d8b7615773eda836ea307c2fc56e4aab9f2b9
OPENDJ-1936 - package JE backend and changelog in a separate JAR

The two implementation packages are now packaged in opendj-je-backend-changelog.jar. The JAR file does not include the generated configuration framework classes or property files.

1 files modified
22 ■■■■■ changed files
opendj-server-legacy/pom.xml 22 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/pom.xml
@@ -483,6 +483,7 @@
              </excludes>
              <additionalJars>
                 <additionalJar>opendj-slf4j-adapter.jar</additionalJar>
                 <additionalJar>opendj-je-backend-changelog.jar</additionalJar>
              </additionalJars>
            </configuration>
          </execution>
@@ -495,6 +496,9 @@
              <classPathProperty>classpath.bootstrap-client</classPathProperty>
              <productJarName>${shortProductName}</productJarName>
              <supportedLocales>${locales}</supportedLocales>
              <additionalJars>
                 <additionalJar>opendj-je-backend-changelog.jar</additionalJar>
              </additionalJars>
            </configuration>
          </execution>
@@ -737,6 +741,22 @@
              </includes>
            </configuration>
          </execution>
          <!-- Package JE backend and changelog jar -->
          <execution>
            <id>build-opendj-je-backend-changelog-jar</id>
            <phase>prepare-package</phase>
            <goals>
              <goal>jar</goal>
            </goals>
            <configuration>
              <outputDirectory>${jars.dir}</outputDirectory>
              <finalName>opendj-je-backend-changelog</finalName>
              <includes>
                <include>org/opends/server/backends/jeb/**</include>
                <include>org/opends/server/replication/server/changelog/je/**</include>
              </includes>
            </configuration>
          </execution>
          <!-- Build localized jars (one per supported locale) -->
          <!-- (is there a way to avoid all these repeated executions ?) -->
          <execution>
@@ -930,6 +950,8 @@
                <exclude>**/*_zh_TW.properties</exclude>
                <exclude>org/slf4j/**</exclude>
                <exclude>org/opends/server/loggers/OpenDJLogger*</exclude>
                <exclude>org/opends/server/backends/jeb/**</exclude>
                <exclude>org/opends/server/replication/server/changelog/je/**</exclude>
              </excludes>
              <archive>
                <addMavenDescriptor>false</addMavenDescriptor>