From 0fbdd725579723d0b97ef55fb31ac061ff4f784d Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Thu, 12 Mar 2015 16:41:30 +0000
Subject: [PATCH] OPENDJ-1772: Add package-svr4 profile to server pom

---
 opendj-server-legacy/pom.xml |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/opendj-server-legacy/pom.xml b/opendj-server-legacy/pom.xml
index d9cdb0e..0fd32d8 100644
--- a/opendj-server-legacy/pom.xml
+++ b/opendj-server-legacy/pom.xml
@@ -1868,6 +1868,36 @@
         </plugins>
       </build>
     </profile>
+
+    <!-- Build the solaris package -->
+    <profile>
+      <id>package-svr4</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>generate-svr4-package</id>
+                <phase>verify</phase>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <configuration>
+                  <target>
+                    <ant antfile="${basedir}/build-svr4.xml">
+                      <target name="svr4" />
+                    </ant>
+                  </target>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
   </profiles>
 
 </project>

--
Gitblit v1.10.0