結論から言うと、その別のアドオンを事前にインストールしてないとインストールに失敗しますよということ。
お互いのComponentを循環参照するようなアドオンは作れないってことですね。
こんな簡単なことに気づかずにはまりました。
<dependency> <groupId>jp.example.confluence.plugins</groupId> <artifactId>foo</artifactId> <version>1.00.01</version> <scope>system</scope> <type>jar</type> <systemPath>${basedir}\foo-1.00.01.jar</systemPath> </dependency>
って記述してたのでIDE自身はjarを見れていたので。
エラーの感じとしては
こんなのが出てた
Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle jp.example.confluence.plugins.bar [250]: Unable to resolve 250.0: missing requirement [250.0] osgi.wiring.package; (osgi.wiring.package=jp.example.confluence.plugins.foo.component)
まぁ、そりゃそうですよね。