Author: jbonofre Date: Mon Dec 10 09:37:04 2012 New Revision: 1419290 URL: http://svn.apache.org/viewvc?rev=1419290&view=rev Log: Set client as an OSGi bundle
Modified: syncope/branches/1_0_X/client/pom.xml syncope/branches/1_0_X/parent/pom.xml Modified: syncope/branches/1_0_X/client/pom.xml URL: http://svn.apache.org/viewvc/syncope/branches/1_0_X/client/pom.xml?rev=1419290&r1=1419289&r2=1419290&view=diff ============================================================================== --- syncope/branches/1_0_X/client/pom.xml (original) +++ syncope/branches/1_0_X/client/pom.xml Mon Dec 10 09:37:04 2012 @@ -33,7 +33,7 @@ under the License. <description>Apache Syncope Client</description> <groupId>org.apache.syncope</groupId> <artifactId>syncope-client</artifactId> - <packaging>jar</packaging> + <packaging>bundle</packaging> <distributionManagement> <site> @@ -88,6 +88,33 @@ under the License. </dependencies> <build> + <plugins> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <instructions> + <Bundle-Name>${project.name}</Bundle-Name> + <Bundle-SymbolicName>org.apache.syncope.client</Bundle-SymbolicName> + <Bundle-Version>${project.version}</Bundle-Version> + <Export-Package> + org.apache.syncope*;version=${project.version};-split-package:=merge-first + </Export-Package> + <Import-Package> + com.thoughtworks.xstream;version="[1.4,2)", + org.apache.commons.lang*;version="[2.6,3)", + org.apache.http*;version="[4,5)", + org.codehaus.jackson.annotate;version="[1.9,2)", + org.springframework*;version="[3,4)", + ch.qos.logback.classic;resolution:=optional, + org.slf4j;resolution:=optional + </Import-Package> + </instructions> + </configuration> + </plugin> + </plugins> + <resources> <resource> <directory>..</directory> Modified: syncope/branches/1_0_X/parent/pom.xml URL: http://svn.apache.org/viewvc/syncope/branches/1_0_X/parent/pom.xml?rev=1419290&r1=1419289&r2=1419290&view=diff ============================================================================== --- syncope/branches/1_0_X/parent/pom.xml (original) +++ syncope/branches/1_0_X/parent/pom.xml Mon Dec 10 09:37:04 2012 @@ -929,6 +929,18 @@ under the License. <artifactId>jrebel-maven-plugin</artifactId> <version>1.1.3</version> </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <version>2.3.7</version> + <configuration> + <supportedProjectTypes> + <supportedProjectType>jar</supportedProjectType> + <supportedProjectType>war</supportedProjectType> + <supportedProjectType>bundle</supportedProjectType> + </supportedProjectTypes> + </configuration> + </plugin> </plugins> </pluginManagement>