You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by rd...@apache.org on 2011/06/06 12:59:59 UTC

svn commit: r1132592 - /james/server/trunk/osgi/pom.xml

Author: rdonkin
Date: Mon Jun  6 10:59:59 2011
New Revision: 1132592

URL: http://svn.apache.org/viewvc?rev=1132592&view=rev
Log:
JAMES-1262 Reverted 1132481. OSGI build requires Fragment-Host manifest entry.

Modified:
    james/server/trunk/osgi/pom.xml

Modified: james/server/trunk/osgi/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/osgi/pom.xml?rev=1132592&r1=1132591&r2=1132592&view=diff
==============================================================================
--- james/server/trunk/osgi/pom.xml (original)
+++ james/server/trunk/osgi/pom.xml Mon Jun  6 10:59:59 2011
@@ -46,7 +46,33 @@
        <url>http://zodiac.springsource.com/maven/bundles/milestone</url>
      </repository>
    </repositories>
-   <build/>
+   <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-jar-plugin</artifactId>
+         <configuration>       
+           <archive>
+            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> 
+            <manifest>
+              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+            </manifest>
+            <manifestEntries>
+              <Fragment-Host>org.springframework.osgi.extender</Fragment-Host>
+            </manifestEntries>
+          </archive>
+        </configuration>       
+        <executions>
+          <execution>
+            <goals>
+              <goal>jar</goal>
+              <goal>test-jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
 
   <dependencies> 
     <dependency>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org