Hi Ipojo Team,
I am trying to create a war file which contains a component of ipojo to be created ,but unfortunately iam not able to succeed in it,but the same thing is working fine on bundle creation. I have pasted the pom file below and also attached the MANIFEST.MF file,you can see in MANIFEST.MF file it does not show the required import package and the class files with in war are also not manipulated by ipojo. Request you to please help me in getting this resolved. <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/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.aaaa</groupId> <artifactId>OSGIWebproject</artifactId> <version>1.0</version> <packaging>war</packaging> <name>OSGIWebproject</name> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.osgi.core</artifactId> <version>1.4.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-servlet-api</artifactId> <version>7.0.59</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.servlet.jsp</groupId> <artifactId>jsp-api</artifactId> <version>2.2</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.ipojo.annotations</artifactId> <version>1.11.0</version> </dependency> <dependency> <groupId>com.in10s</groupId> <artifactId>Workflow</artifactId> <version>1.0</version> <scope>provided</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.5.3</version> <extensions>true</extensions> <executions> <execution> <id>bundle-manifest</id> <phase>package</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-ipojo-plugin</artifactId> <version>1.12.1</version> <executions> <execution> <goals> <goal>ipojo-bundle</goal> </goals> <phase>package</phase> </execution> </executions> <configuration> <metadata>src/main/java/ipojo/meta.xml</metadata> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.6</version> <configuration> <archive> <manifestFile>./src/main/webapp/META-INF/MANIFEST.MF</manifestFile> </archive> <instructions> <Bundle-SymbolicName>OSGIWebproject</Bundle-SymbolicName> <Bundle-Version>${project.version}</Bundle-Version> <Import-Package>com.in10s.workflow.api</Import-Package> <Web-ContextPath>/OSGIWebproject</Web-ContextPath> <Webapp-Context>/OSGIWebproject</Webapp-Context> </instructions> </configuration> </plugin> </plugins> </build> </project> ? Thanks & Regrads SAteesh.A The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited.
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

