From ab902bb53498c8f806b40bcf5da17bd606dbbe17 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Fri, 06 Feb 2015 10:23:12 +0000
Subject: [PATCH] OPENDJ-1741 Ensure build is compatible with maven 3.0.x

---
 pom.xml |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/pom.xml b/pom.xml
index 305acba..bc0a1da 100644
--- a/pom.xml
+++ b/pom.xml
@@ -349,6 +349,24 @@
             </lifecycleMappingMetadata>
           </configuration>
         </plugin>
+        <!-- This is needed to use annotations in maven plugins with maven 3.0.x -->
+        <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-plugin-plugin</artifactId>
+            <version>3.2</version>
+            <configuration>
+                <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
+            </configuration>
+            <executions>
+                <execution>
+                    <id>mojo-descriptor</id>
+                    <phase>process-classes</phase>
+                    <goals>
+                        <goal>descriptor</goal>
+                    </goals>
+                </execution>
+            </executions>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>

--
Gitblit v1.10.0