Hi Miro, you can use felix/bnd to do it.
You create a pom.xml like this : <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>yourgroup</groupId> <artifactId>youartifact</artifactId> <name>My OSGi bundle</name> <version>1.0</version> <packaging>bundle</packaging> <dependencies> <groupId>group</groupId> <artifactId>artifact</artifactId> <version>${pom.version}</version> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <configuration> <instructions> <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName> <Export-Package> my.package.*;version=${pom.version} </Export-Package> <Import-Package> my.other.bundle.*;version=1.0, sun.io;resolution:=optional </Import-Package> </instructions> </configuration> </plugin> </plugins> </build> </project> Regards JB -- Jean-Baptiste Onofré [EMAIL PROTECTED] BuildProcess/AutoDeploy Project Leader http://buildprocess.sourceforge.net On Tue 18/11/08 10:50, Miroslav Nachev [EMAIL PROTECTED] wrote: Hi, Using Maven I need to create one OSGi Bundle from existing JAR file which is on my computer (not on the network). Is there any easy and fast way for that? Regards, Miro.
