1
Maven에서 Apache Felix를 사용할 때 내 OBR 저장소에 대한 상대 경로를 지정할 수 있습니까? 내가 구성 섹션에서 내 받는다는 - 번들 플러그인을 구성하고 예를 들어OBR 저장소의 상대 경로?
, 내가 가진 :
<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>
내 펠릭스하는 경우 자바 프로젝트 (컨테이너)는 C :/Users/blah에 있으며 상대 경로 "obr-repo/releases"로 OBR을 지정할 수 있습니까?
감사합니다.
죄송합니다. "URL에 어떤 변화가 일어나지 않았습니까?"라는 의미는 무엇입니까? – drozzy
URL은 상위 또는 현재 위치에 대해 확인되지 않습니다. "is this relative"에 대한 의미 론적 검사는 없습니다. 모든 URL은 절대적으로 취급됩니다. – Carl