Hi,

you can use the karaf shell to find those details.
for example bundle:headers should give you the details about the
exporting/Importing.

regarding your POM I'm not sure this will work corectly for your war. I
think this is probably your issue, it's not a OSGi war yet.

regards, Achim


2014-12-31 0:18 GMT+01:00 jefoy1101 <jefoy1...@gmail.com>:
>
> 1. My pom.xml have the ff
>
> <plugin>
>                 <groupId>org.apache.felix</groupId>
>                 <artifactId>maven-bundle-plugin</artifactId>
>                 <version>${maven-bundle-plugin.version}</version>
>                 <extensions>true</extensions>
>                 <configuration>
>                     <instructions>
>
> <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
>                         <Bundle-Version>${project.version}</Bundle-Version>
>                         <Export-Package>
>                             *;version=${project.version}
>                         </Export-Package>
>                         <Import-Package>
>                             *
>                         </Import-Package>
>                     </instructions>
>                 </configuration>
>             </plugin>
>
>
> 2. not sure on this, mywar.war have the ff, i put provided so that it will
> not be having the jar files inside my war, I copy the domain.jar from my
> maven repo and put it in ag_lib, not really sure if my bundle is actually
> exporting it or not, and also I was trying to find the manifest.mf of
> mywar.war but i cant find it, I apologize as I'm not sure about it
>
>         <dependency>
>                         <groupId>com.myproject</groupId>
>                         <artifactId>domain</artifactId>
>                         <version>3.0.1-SNAPSHOT</version>
>                         <scope>provided</scope>
>                 </dependency>
>         <dependency>
>                         <groupId>com.myproject</groupId>
>                         <artifactId>client</artifactId>
>                         <version>3.0.1-SNAPSHOT</version>
>                         <scope>provided</scope>
>                 </dependency>
>         <dependency>
>                         <groupId>com.myproject</groupId>
>                         <artifactId>service1</artifactId>
>                         <version>3.0.1-SNAPSHOT</version>
>                         <scope>provided</scope>
>                 </dependency>
>
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/deploying-a-war-with-dependencies-in-bundled-jars-tp4037488p4037491.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>


-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Reply via email to