<DynamicImport-Package>${osgi.dynamic}</DynamicImport-Package>
<Private-Package>${osgi.private}</Private-Package>
<Bundle-Activator>${osgi.activator}</Bundle-Activator>
<Bundle-ClassPath>${osgi.classpath}</Bundle-ClassPath>
<Embed-Dependency>${osgi.dependency}</Embed-Dependency>
<Fragment-Host>${osgi.host}</Fragment-Host>
<Require-Bundle>${osgi.require}</Require-Bundle>
<Bundle-Category>${osgi.category}</Bundle-Category>
<Bundle-Description>${project.description}</Bundle-Description>
<Bundle-Vendor>${osgi.vendor}</Bundle-Vendor>
<Web-ContextPath>${osgi.web}</Web-ContextPath>
<_nouses>true</_nouses>
</instructions>
</configuration>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>compile</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
</plugin>
<Private-Package>${osgi.private}</Private-Package>
<Bundle-Activator>${osgi.activator}</Bundle-Activator>
<Bundle-ClassPath>${osgi.classpath}</Bundle-ClassPath>
<Embed-Dependency>${osgi.dependency}</Embed-Dependency>
<Fragment-Host>${osgi.host}</Fragment-Host>
<Require-Bundle>${osgi.require}</Require-Bundle>
<Bundle-Category>${osgi.category}</Bundle-Category>
<Bundle-Description>${project.description}</Bundle-Description>
<Bundle-Vendor>${osgi.vendor}</Bundle-Vendor>
<Web-ContextPath>${osgi.web}</Web-ContextPath>
<_nouses>true</_nouses>
</instructions>
</configuration>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>compile</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
</plugin>
本文详细介绍了OSGi配置的各项参数设置,包括动态导入包、私有包、激活器、依赖嵌入等关键配置项,并提供了具体的应用场景说明。
432

被折叠的 条评论
为什么被折叠?



