]
Lukáš Fryč commented on RF-13778:
---------------------------------
{{org.richfaces;richfaces-parent:12}} shall be used with {{jsf-test}}.
{{org.richfaces:richfaces-parent:4.5.x}} shall be used with the framework.
RF-45 cyclic dependency on richfaces-parent
-------------------------------------------
Key: RF-13778
URL:
https://issues.jboss.org/browse/RF-13778
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: build/distribution
Affects Versions: 4.5.0.Alpha3
Reporter: Pavol Pitonak
Priority: Blocker
Fix For: 4.5.0.Beta1
Original Estimate: 2 hours
Remaining Estimate: 2 hours
Historically there is a dependency in .../jsf-tests/pom.xml on richfaces-parent which
used to be a standalone project/repo in 4.3.x
{code}
<parent>
<groupId>org.richfaces</groupId>
<artifactId>richfaces-parent</artifactId>
<version>12</version>
</parent>
{code}
However nowadays in 4.5.x there is playing the role of parent the
richfaces/pom.xml
https://github.com/richfaces/richfaces/blob/master/pom.xml
{code}
<groupId>org.richfaces</groupId>
<artifactId>richfaces-parent</artifactId>
<packaging>pom</packaging>
<version>4.5.0-SNAPSHOT</version>
<name>RichFaces Parent</name>
{code}
which makes a cyclic dependency
jsf-test --> richfaces --> jsf-test
as there are inside
https://github.com/richfaces/richfaces/blob/master/build/pom.xml
referenced dependencies for jsf-tests
{code}
<dependency>
<groupId>org.jboss.test-jsf</groupId>
<artifactId>htmlunit-client</artifactId>
<version>${version.jsf-test}</version>
<exclusions>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jboss.test-jsf</groupId>
<artifactId>jsf-test-stage</artifactId>
<version>${version.jsf-test}</version>
</dependency>
<dependency>
<groupId>org.jboss.test-jsf</groupId>
<artifactId>jsf-mock</artifactId>
<version>${version.jsf-test}</version>
</dependency>
<dependency>
<groupId>org.jboss.test-jsf</groupId>
<artifactId>jsf-mockito</artifactId>
<version>${version.jsf-test}</version>
</dependency>
<dependency>
<groupId>org.jboss.test-jsf</groupId>
<artifactId>jsf-test-scriptunit</artifactId>
<version>${version.jsf-test}</version>
</dependency>
{code}