将 Apache Felix 与 Maven 一起使用时,是否可以指定我的OBR存储库的相对路径?
例如,当我配置我的 maven-bundle-plugin 时,在配置部分我有:
<configuration>
<instructions>
<Bundle-Category>sample</Bundle-Category>
<Bundle-SymbolicName>${artifactId}
</Bundle-SymbolicName>
<Export-Package>
${osgi.export}
</Export-Package>
</instructions>
<!-- OBR -->
<remoteOBR>repo-rel</remoteOBR>
<prefixUrl>file:///C:/Users/blah/obr-repo/releases</prefixUrl>
<ignoreLock>true</ignoreLock>
</configuration>
分配管理也是如此:
<distributionManagement>
<!-- Releases Repo -->
<repository>
<id>repo-rel</id>
<url>file:///C:/Users/blah/obr-repo/releases</url>
</repository>
</distributionManagement>
如果我的 Felix java 项目(容器)位于 C:/Users/blah,我可以用相对路径“obr-repo/releases”指定我的 OBR 吗?
谢谢。