@Version("1.0.0")
public class MyLibrary {
}
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-SymbolicName: com.example.mylibrary
Bundle-Version: 1.0.0
Import-Package: org.example.otherlibrary;version="[1.2.0,2.0.0)"
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>3.3.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Bundle-Version>1.0.0</Bundle-Version>
<Import-Package>
org.example.otherlibrary;version="[1.2.0,2.0.0)"
</Import-Package>
</instructions>
</configuration>
</plugin>