felix

来源:互联网 发布:网络商标骗局 编辑:程序博客网 时间:2024/05/17 04:40
<plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <version>2.1.0</version>
                <extensions>true</extensions>
                <configuration>
                    <supportedProjectTypes>
                        <supportedProjectType>jar</supportedProjectType>
                        <supportedProjectType>bundle</supportedProjectType>
                        <supportedProjectType>war</supportedProjectType>
                    </supportedProjectTypes>
                    <instructions>
                        <!--_versionpolicy>"$(version;===;$(@))"</_versionpolicy-->
                        <Export-Package>${osgi.export},!conf.*,!WEB-INF.*,!*.impl.*,!*.support.*,!*.internal.*,*</Export-Package>
                        <Import-Package>${osgi.import},!sun.misc,*</Import-Package>
                        <Import-Bundle>${osgi.import.Bundle}</Import-Bundle>
                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
                        <Implementation-Title>${project.artifactId} ${project.version}</Implementation-Title>
                        <Implementation-Version>${project.version}</Implementation-Version>
                      
原创粉丝点击