Sergiu Dumitriu wrote:
>> I tried making core-core depend on mailsender:
>>
>> <dependency>
>> <groupId>com.xpn.xwiki.platform.plugins</groupId>
>> <artifactId>xwiki-plugin-mailsender</artifactId>
>> <version>1.3</version>
>> <scope>provided</scope>
>> </dependency>
>>
>> Same:
>>
>> The projects in the reactor contain a cyclic reference: Edge between
>> 'Vertex{label='com.xpn.xwiki.platform.plugins:xwiki-plugin-mailsender'}'
>> and 'Vertex{label='com.xpn.xwiki.platform:xwiki-core'}' introduces to
>> cycle in the graph com.xpn.xwiki.platform:xwiki-core -->
>> com.xpn.xwiki.platform.plugins:xwiki-plugin-mailsender -->
>> com.xpn.xwiki.platform:xwiki-core
>>
>> Either I'm still doing something wrong, or circulars just aren't allowed
>> at all no matter the versions.
>
> In mailsender/pom.xml:
>
> <dependency>
> <groupId>com.xpn.xwiki.platform</groupId>
> <artifactId>xwiki-core</artifactId>
> <version>1.4.1</version>
> <scope>provided</scope>
> </dependency>
>
> in xwiki-core/pom.xml:
>
> <dependency>
> <groupId>com.xpn.xwiki.platform.plugins</groupId>
> <artifactId>xwiki-plugin-mailsender</artifactId>
> <version>1.4-SNAPSHOT</version>
> </dependency>
>
> This works for me.
Yes and no.
I can "install" core-core, mailsender, hsqldb demo, but when I try to
"install" the top level pom it fails with:
[ERROR]BUILD FAILURE
------------------------------------------------------------------------
The projects in the reactor contain a cyclic reference: Edge between
'Vertex{label='com.xpn.xwiki.platform.plugins:xwiki-plugin-mailsender'}'
and 'Vertex{label='com.xpn.xwiki.platform:xwiki-core'}' introduces to
cycle in the graph com.xpn.xwiki.platform:xwiki-core -->
com.xpn.xwiki.platform.plugins:xwiki-plugin-mailsender -->
com.xpn.xwiki.platform:xwiki-core
So it doesn't seem to be the right approach.
Greetings, Lilianne
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs