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

Jean-Noël Rouvignac
09.43.2015 952d5099b834ea5f16d657a0f2459d6531a0ed88
OPENDJ-2305 Example Plugin does not compile

The example-plugin is broken and unmaintainable as is.
When OPENDJ-1235 (Migrate configuration framework) will be fixed,
the opendj-server-example-plugin maven module will resurrect the plugin capability.
11 files deleted
3 files modified
959 ■■■■■ changed files
opendj-server-legacy/experimental/README 8 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/pom.xml 22 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/resource/admin/example-plugin/99-example-plugin.ldif 37 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/resource/admin/example-plugin/ExamplePlugin.java 181 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/resource/admin/example-plugin/ExamplePluginConfiguration.xml 37 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/resource/admin/example-plugin/Package.xml 6 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/resource/admin/example-plugin/README 47 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/resource/admin/example-plugin/build.xml 371 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/resource/admin/example-plugin/example-plugin.ldif 10 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/resource/admin/example-plugin/example_plugin.properties 52 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/resource/admin/example-plugin/example_plugin_fr.properties 52 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/resource/admin/example-plugin/package-info.java 34 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/assembly/example-plugin-assembly.xml 96 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/assembly/opendj-archive-component.xml 6 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/experimental/README
@@ -2,11 +2,3 @@
which are not fit for production use. Some are not actively maintained,
and may not even compile.
To create a new experimental extension use the provided example-plugin
as a template. Unzip it, rename the extension's directory to something
more appropriate and configure the Ant build.xml file contained within
as directed.
Note that any I18N properties should be contained in a file called
${extension.name}.properties.
opendj-server-legacy/pom.xml
@@ -374,7 +374,7 @@
                  <version>${project.version}</version>
                  <type>jar</type>
                  <overWrite>true</overWrite>
                  <outputDirectory>${project.build.directory}/config/admin/defn/org/opends/server/admin/std</outputDirectory>
                  <outputDirectory>${old.config.files.path}</outputDirectory>
                  <includes>config/xml/**/*.xml</includes>
                </artifactItem>
              </artifactItems>
@@ -1037,26 +1037,6 @@
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <executions>
          <!-- Package the example plugin in a zip -->
          <execution>
            <id>build-example-package</id>
            <phase>prepare-package</phase>
            <goals>
              <goal>single</goal>
            </goals>
            <configuration>
              <finalName>example-plugin</finalName>
              <addMavenDescriptor>false</addMavenDescriptor>
              <appendAssemblyId>false</appendAssemblyId>
              <attach>false</attach>
              <descriptors>
                <descriptor>src/main/assembly/example-plugin-assembly.xml</descriptor>
              </descriptors>
              <formats>
                <format>zip</format>
              </formats>
            </configuration>
          </execution>
          <!-- Creates the archive folder -->
          <execution>
            <id>build-opendj-archive</id>
opendj-server-legacy/resource/admin/example-plugin/99-example-plugin.ldif
File was deleted
opendj-server-legacy/resource/admin/example-plugin/ExamplePlugin.java
File was deleted
opendj-server-legacy/resource/admin/example-plugin/ExamplePluginConfiguration.xml
File was deleted
opendj-server-legacy/resource/admin/example-plugin/Package.xml
File was deleted
opendj-server-legacy/resource/admin/example-plugin/README
File was deleted
opendj-server-legacy/resource/admin/example-plugin/build.xml
File was deleted
opendj-server-legacy/resource/admin/example-plugin/example-plugin.ldif
File was deleted
opendj-server-legacy/resource/admin/example-plugin/example_plugin.properties
File was deleted
opendj-server-legacy/resource/admin/example-plugin/example_plugin_fr.properties
File was deleted
opendj-server-legacy/resource/admin/example-plugin/package-info.java
File was deleted
opendj-server-legacy/src/main/assembly/example-plugin-assembly.xml
File was deleted
opendj-server-legacy/src/main/assembly/opendj-archive-component.xml
@@ -325,11 +325,5 @@
      <source>${project.build.directory}/upgrade/schema.ldif.${buildRevision}</source>
      <outputDirectory>template/config/upgrade</outputDirectory>
    </file>
    <!-- Adds example-plugin.zip to root directory -->
    <file>
      <source>${project.build.directory}/example-plugin.zip</source>
      <outputDirectory></outputDirectory>
    </file>
  </files>
</component>