You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2008/06/09 21:59:15 UTC
svn commit: r665860 - in /servicemix/smx3/trunk/core/servicemix-services: ./
pom.xml
Author: gnodet
Date: Mon Jun 9 12:59:15 2008
New Revision: 665860
URL: http://svn.apache.org/viewvc?rev=665860&view=rev
Log:
SM-1387: Make servicemix components OSGi friendly (without requiring the JBI packaging)
Modified:
servicemix/smx3/trunk/core/servicemix-services/ (props changed)
servicemix/smx3/trunk/core/servicemix-services/pom.xml
Propchange: servicemix/smx3/trunk/core/servicemix-services/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Mon Jun 9 12:59:15 2008
@@ -1,10 +1,9 @@
target
+*.iml
+*.ipr
+*.iws
.classpath
.project
-derby.log
-cobertura.ser
.settings
-*.iml
-.ruleset
-.checkstyle
-.pmd
+
+
Modified: servicemix/smx3/trunk/core/servicemix-services/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/core/servicemix-services/pom.xml?rev=665860&r1=665859&r2=665860&view=diff
==============================================================================
--- servicemix/smx3/trunk/core/servicemix-services/pom.xml (original)
+++ servicemix/smx3/trunk/core/servicemix-services/pom.xml Mon Jun 9 12:59:15 2008
@@ -90,4 +90,44 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>1.4.0</version>
+ <configuration>
+ <instructions>
+ <Bundle-Name>${project.name}</Bundle-Name>
+ <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName>
+ <Export-Package>org.apache.servicemix*</Export-Package>
+ <Import-Package>
+ javax.resource.spi.work;resolution:=optional,
+ *
+ </Import-Package>
+ </instructions>
+ </configuration>
+ <executions>
+ <execution>
+ <id>bundle-manifest</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>manifest</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <archive>
+ <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
</project>