In 1.0.x, type is not considered for separating artifacts - so it is
considered a dependency on itself.
File a bug in JIRA for testing against 1.1 (CVS HEAD) where it should
be fixed. So far, only dependency downloading has been tested, not
cycles in the reactor.
- Brett
On Mon, 8 Nov 2004 11:27:01 +0100, St�phane Nicoll
<[EMAIL PROTECTED]> wrote:
> Hello list,
>
> I think I might have found a bug in the reactor, could you please validate I
> am not missing something.
>
> I have a maven project inside a release process that downloads module
> dependencies and rebuild a source.jar of one of our application (for
> debugging purposes). We have also a little tool that scans the files to see
> the differences.
>
> Everytime I deploy an application, I deploy a CSV file as well. I need then
> the CSV of the previous release to do the comparaison and generate an HTML
> with the diffs.
>
> So my maven project managing the sources and the diff is quite simple
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <project>
> <extend>${basedir}/../project.xml</extend>
> <name>Aplication XXX sources</name>
>
> <id>xxx-src</id>
>
> <dependencies>
> [ ....]
>
> <!-- Download CSV file of the previous release to launch listfoot
> compare -->
> <dependency>
> <groupId>xxx</groupId>
> <artifactId>xxx-src</artifactId>
> <version>${xxx.previous.version}</version>
> <type>csv</type>
> </dependency>
> </dependencies>
> </project>
>
> The xxx.previous.version is NOT the same as pom.currentVersion of course.
>
> When I start the reactor (to build the EAR, the lib and the sources + the
> comparaison), I have this error:
>
> Starting the reactor...
>
> BUILD FAILED
> File...... C:\workspace\xxx-3.4\application\xxx\maven.xml
> Element... maven:reactor
> Line...... 78
> Column.... 36
> A cycle has been detected from the initial goal [xxx:xxx-src]
> Total time: 3 seconds
> Finished at: Mon Nov 08 11:24:50 CET 2004
>
> If I now remove the dependencies, the reactor starts ok. It does sound good
> to me (because the dependencies I have is not the current one).
>
> Any solution to this issue or is it a bug?
>
> Cheers,
> St�phane
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]