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 no...@apache.org on 2010/12/14 07:47:44 UTC
svn commit: r1048954 - /james/server/trunk/container-spring/pom.xml
Author: norman
Date: Tue Dec 14 06:47:43 2010
New Revision: 1048954
URL: http://svn.apache.org/viewvc?rev=1048954&view=rev
Log:
Fix OSGI headers for container-spring. See JAMES-910
Modified:
james/server/trunk/container-spring/pom.xml
Modified: james/server/trunk/container-spring/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/container-spring/pom.xml?rev=1048954&r1=1048953&r2=1048954&view=diff
==============================================================================
--- james/server/trunk/container-spring/pom.xml (original)
+++ james/server/trunk/container-spring/pom.xml Tue Dec 14 06:47:43 2010
@@ -27,8 +27,20 @@
<groupId>org.apache.james</groupId>
<artifactId>james-server-container-spring</artifactId>
<name>Apache James Server Container Spring</name>
+ <properties>
+ <!-- OSGI stuff -->
+ <james.osgi.export>
+ org.apache.james.*
+ </james.osgi.export>
+ <!-- exclude spring web support for now -->
+ <james.osgi.import>
+ !org.springframework.web.*,
+ *
+ </james.osgi.import>
+ </properties>
+
+
<build>
-
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
@@ -373,9 +385,6 @@
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
- <manifestEntries>
- <Fragment-Host>org.springframework.osgi.extender</Fragment-Host>
- </manifestEntries>
</archive>
</configuration>
<executions>
@@ -387,26 +396,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <executions>
- <execution>
- <id>bundle-manifest</id>
- <phase>process-classes</phase>
- <goals>
- <goal>manifest</goal>
- </goals>
- </execution>
- </executions>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Export-Package>org.apache.james.container.spring.*</Export-Package>
- <Embed-Dependency>*;scope=runtime</Embed-Dependency>
- </instructions>
- </configuration>
- </plugin>
</plugins>
</build>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org