Osgi 是否有其他配置需要从maven bundle插件版本2.5.3迁移到3.2.0

Osgi 是否有其他配置需要从maven bundle插件版本2.5.3迁移到3.2.0,osgi,apache-karaf,maven-bundle-plugin,Osgi,Apache Karaf,Maven Bundle Plugin,我们正在从felix注释转移到DS注释。 这是我遵循的文档。我使用了Maven bundle插件版本3.2.0(之前是2.5.3) 但在生成的清单文件中,缺少“提供能力”和“要求能力”部分。在2.5.3版本中,他们出现了。我需要为maven bundle插件3.2.0配置什么特定的东西吗? 这是插件配置: <plugin> <groupId>org.apache.felix</groupId> <artifac

我们正在从felix注释转移到DS注释。 这是我遵循的文档。我使用了Maven bundle插件版本3.2.0(之前是2.5.3) 但在生成的清单文件中,缺少“提供能力”和“要求能力”部分。在2.5.3版本中,他们出现了。我需要为maven bundle插件3.2.0配置什么特定的东西吗? 这是插件配置:

 <plugin>
     <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <extensions>true</extensions>
                <version>3.2.0</version>
                <configuration>
                    <instructions>
                        <Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
                        <Export-Package>com.example.*.*</Export-Package>
                        <DynamicImport-Package>com.exampl1.*</DynamicImport-Package>
                    </instructions>
                </configuration>
            </plugin>

org.apache.felix
maven捆绑插件
真的
3.2.0
${bundle.symbolicName}
com.example.**
com.exampl1*

这是由于移动到DS注释还是更改插件版本造成的?您如何定义您的提供/要求能力?将
test
添加到插件指令会将头添加到清单文件中。