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.

Reply via email to