From f98cf29f4e7e256e6429cdc8c8ef2833e2dd2b0c Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 10 Jun 2016 10:51:05 +0000
Subject: [PATCH] OPENDJ-3013 Embed an example-plugin.zip in opendj zip
---
opendj-server-legacy/pom.xml | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/opendj-server-legacy/pom.xml b/opendj-server-legacy/pom.xml
index 60ada92..4d2f25d 100644
--- a/opendj-server-legacy/pom.xml
+++ b/opendj-server-legacy/pom.xml
@@ -1002,6 +1002,24 @@
</archive>
</configuration>
</execution>
+
+ <!-- Creates the archive folder -->
+ <execution>
+ <id>build-example-plugin.zip</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <finalName>example-plugin</finalName>
+ <outputDirectory>${project.build.directory}/package/${product.name.lowercase}/</outputDirectory>
+ <appendAssemblyId>false</appendAssemblyId>
+ <attach>false</attach>
+ <descriptors>
+ <descriptor>src/main/assembly/example-plugin-assembly.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
</executions>
</plugin>
--
Gitblit v1.10.0