From 85d117d75554f7d3d73ecfdfef7c540917bf04ce Mon Sep 17 00:00:00 2001
From: Wendy Smoak <wsmoak@apache.org>
Date: Sun, 13 May 2007 03:12:28 +0000
Subject: [PATCH] Configure the jar plugin to add specification and
 implementation entries to the manifest.  Can be removed when maven-parent v6
 is released.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@537543 13f79535-47bb-0310-9956-ffa450edef68
---
 archiva-0.9/pom.xml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/archiva-0.9/pom.xml b/archiva-0.9/pom.xml
index f39fbf66f..cf4544017 100644
--- a/archiva-0.9/pom.xml
+++ b/archiva-0.9/pom.xml
@@ -138,6 +138,20 @@
           <artifactId>modello-maven-plugin</artifactId>
           <version>1.0-alpha-15</version>
         </plugin>
+        <plugin>
+          <!-- TODO:  Remove when maven-parent v6 is released -->
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jar-plugin</artifactId>
+          <version>2.1</version>
+          <configuration>
+            <archive>
+              <manifest>
+                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+              </manifest>
+            </archive>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>