Sorry, I think I figured it out:
[INFO] Using existing OSGi bundle for
org.openmrs.liquibase:liquibase-core:1.9.4-mod

Any way to ignore the existing bundle?

Thank you
Yours
Misha


misha680 wrote:
> 
> I am using latest maven bundle plugin with the wrap goal.
> 
> My package created. Notice it has a class in the liquibase.lock package
> but does _not_ export it.
> 
> How can I fix/override this behavior???
> 
> mi...@ubuntu:~/workspace/trunk/osgi/target/classes$ jar tvf
> org.liquibase.migrator_1.9.4.mod.jar | grep lock
>      0 Tue Aug 04 12:48:58 CDT 2009 liquibase/lock/
>   7720 Tue Aug 04 12:48:58 CDT 2009 liquibase/lock/LockHandler.class
> mi...@ubuntu:~/workspace/trunk/osgi/target/classes$ jar xvf
> org.liquibase.migrator_1.9.4.mod.jar META-INF/MANIFEST.MF
>  inflated: META-INF/MANIFEST.MF
> mi...@ubuntu:~/workspace/trunk/osgi/target/classes$ cat
> META-INF/MANIFEST.MF | grep lock
> mi...@ubuntu:~/workspace/trunk/osgi/target/classes$ cat
> META-INF/MANIFEST.MF 
> Manifest-Version: 1.0
> Ant-Version: Apache Ant 1.7.0
> Created-By: 1.5.0_18-b02 (Sun Microsystems Inc.)
> Main-Class: liquibase.commandline.Main
> Bundle-ManifestVersion: 2
> Bundle-Name: LiquiBase Plug-in
> Bundle-SymbolicName: org.liquibase.migrator;singleton:=true
> Bundle-Version: 1.2.1
> Bundle-Vendor: LiquiBase.org
> Export-Package: liquibase,liquibase.database,liquibase.database.struct
>  ure,liquibase.ant,liquibase.change,liquibase.commandline,liquibase.di
>  ff,liquibase.exception,liquibase.parser,liquibase.preconditions,liqui
>  base.migrator.servlet,liquibase.util
> Bundle-ClassPath: .,lib/cglib-nodep-2.1_3.jar,lib/easymock-2.2.jar,lib
>  /easymockclassextension-2.2.jar,lib/junit-4.1.jar,lib-compile/ant_dox
>  ygen-1.4.jar,lib-compile/ant-1.6.5.jar,lib-compile/jsdk-2.4.jar,lib-c
>  ompile/maven-core-2.0.6-uber.jar
> Bundle-RequiredExecutionEnvironment: J2SE-1.5
> 
> Thank you
> 
> Yours
> Misha
> 
> p.s. Fyi, the relevant dependency is:
> 
> 
>                         <dependency>
>                                 <groupId>org.openmrs.hibernate</groupId>
>                                 <artifactId>hibernate</artifactId>
>                                 <version>3.2.5.ga-mod</version>
>                                 <exclusions>
>                                         <exclusion>
>                                                
> <groupId>commons-logging</groupId>
>                                                
> <artifactId>commons-logging</artifactId>
>                                         </exclusion>
>                                         <exclusion>
>                                                 <groupId>asm</groupId>
>                                                
> <artifactId>asm-attrs</artifactId>
>                                         </exclusion>
>                                         <exclusion>
>                                                
> <groupId>net.sf.ehcache</groupId>
>                                                
> <artifactId>ehcache-core</artifactId>
>                                         </exclusion>
>                                         <exclusion>
>                                                 <groupId>cglib</groupId>
>                                                
> <artifactId>cglib</artifactId>
>                                         </exclusion>
>                                 </exclusions>
>                         </dependency>
> 
> The repo is:
> 
>         <repositories>
>                 <repository>
>                         <id>openmrs-repo</id>
>                         <name>OpenMRS Nexus Repository</name>
>                        
> <url>http://mavenrepo.openmrs.org/nexus/content/repositories/public</url>
>                 </repository>
>         </repositories>
> 
> Thank you!
> 

-- 
View this message in context: 
http://old.nabble.com/Wrapped-bundle-does-not-export-some-packages--tp30013472p30013641.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to