1
내가 이클립스 플러그인을 만든 일식과 메이븐로 변환하고 변환 티코를 사용했고 지금 내 프로젝트 구조는 내 부모 프로젝트 때 메이븐 깨끗하고 모든 플러그인 기능을 설치하고 사이트 업데이 트를 잘 작동하지만 단위 테스트는 내 이클립스 플러그인에 실패합니다. 그것은 자바 SE-6,7에서 작동 ...하지 수 Maven 빌드는 플러그인 단위 테스트
Time to load bundles: 827
!SESSION 2014-11-05 13:18:05.028 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_21
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -application org.eclipse.tycho.surefire.osgibooter.headlesstest -
testproperties C:\Users\obulis\git\xxx\test-plugin-
master\com.plugin.unittest\target\surefire.properties
Command-line arguments: -debug -consolelog -data C:\Users\obulis\git\xxx\test-pluin-
master\com.plugin.unittest\target\work\data -application
org.eclipse.tycho.surefire.osgibooter.headlesstest -testproperties C:\Users\obulis\git\xxx\ttest-
plugin-master\com.plugin.unittest\target\surefire.properties
!ENTRY org.eclipse.osgi 2 0 2014-11-05 13:18:08.047
!MESSAGE One or more bundles are not resolved because the following root constraints are not
resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-05 13:18:08.047
!MESSAGE Bundle [email protected]:file:../../../xxx/target/xxx-1.0.0-SNAPSHOT.jar was not
resolved.
!SUBENTRY 2 xxx 2 0 2014-11-05 13:18:08.047
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)
(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-05 13:18:08.047
reference:file:../../../../../../.m2/repository/p2/osgi/bundle/com.plugin.antlr/1.0.0/com.plu
gin.antlr-1.0.0.jar was not resolved.
!SUBENTRY 2 com.plugin.antlr 2 0 2014-11-05 13:18:08.047
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)
(version=1.7))".
!ENTRY org.eclipse.osgi 2 0 2014-11-05 13:18:08.047
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log
entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-05 13:18:08.047
!MESSAGE Bundle com.plugin.unittest_1.0.0.qualifier [1] was not resolved.
!SUBENTRY 2 com.plugin.unittest 2 0 2014-11-05 13:18:08.047
!MESSAGE Missing host xxx_1.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-05 13:18:08.047
!MESSAGE Bundle xxx_1.0.0.v20141105-0652 [2] was not resolved.
!SUBENTRY 2 xxx 2 0 2014-11-05 13:18:08.047
!MESSAGE Missing required bundle com.plugin.antlr_1.0.0.
SUBENTRY 2 xxx 2 0 2014-11-05 13:18:08.047
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)
(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-05 13:18:08.047
!MESSAGE Bundle com.plugin.antlr_1.0.0 [95] was not resolved.
!SUBENTRY 2 com.plugin.antlr 2 0 2014-11-05 13:18:08.047
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)
(version=1.7))".
Starting application: 3050
!ENTRY org.eclipse.osgi 2 0 2014-11-05 13:18:08.203
!MESSA GE One or more bundles are not resolved because the following root constraints are not
resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-05 13:18:08.203
!MESSAGE Bundle [email protected]:file:../../../xxx/target/xxx-1.0.0-SNAPSHOT.jar was not
resolved.
!SUBENTRY 2 test-automation-plugin 2 0 2014-11-05 13:18:08.203
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)
(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-05 13:18:08.203
!MESSAGE Bundle
:file:../../../../../../.m2/repository/p2/osgi/bundle/com.plugin.antlr/1.0.0/com.plu
gin.antlr-1.0.0.jar was not resolved.
!SUBENTRY 2 com.plugin.antlr 2 0 2014-11-05 13:18:08.203
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)
(version=1.7))".
!ENTRY org.eclipse.osgi 2 0 2014-11-05 13:18:08.219
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log
entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-05 13:18:08.219
!MESSAGE Bundle com.plugin.unittest_1.0.0.qualifier [1] was not resolved.
!SUBENTRY 2 com.plugin.unittest 2 0 2014-11-05 13:18:08.219
!MESSAGE Missing host xxx_1.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-05 13:18:08.219
!MESSAGE Bundle xxx_1.0.0.v20141105-0652 [2] was not resolved.
!SUBENTRY 2 xxx 2 0 2014-11-05 13:18:08.219
!MESSAGE Missing required bundle com.plugin.antlr_1.0.0.
!SUBENTRY 2 xxx 2 0 2014-11-05 13:18:08.219
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&
(osgi.ee=JavaSE)
(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-05 13:18:08.219
!MESSAGE Bundle com.plugin.antlr_1.0.0 [95] was not resolved.
!SUBENTRY 2 com.plugin.antlr 2 0 2014-11-05 13:18:08.219
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)
(version=1.7))".
!ENTRY org.eclipse.osgi 4 0 2014-11-05 13:18:08.234
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Bundle com.plugin.unittest is not found
com.plugin.antlr 내가 이미 내 플러그인 추가 종속성과 그 빌드는 성공이다.
하지만 지금은 com.plugin.unittest dint가 종속성을 찾는 이유는 없습니다. Tenter code here`는 사전에 감사드립니다.