Bug 915767 - Example richfaces-related examples distributed in WFK should not contain richfaces-bom if jboss-javaee-6.0 artifact is required too
Summary: Example richfaces-related examples distributed in WFK should not contain rich...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: Examples
Version: 2.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ER2
: 2.2.0
Assignee: Marek Novotny
QA Contact: Tomas Repel
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-26 13:18 UTC by Tomas Repel
Modified: 2013-05-14 14:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-14 14:50:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JDF-223 0 Major Resolved Richfaces-related examples should use -with-richfaces BOM 2013-06-04 14:30:29 UTC

Description Tomas Repel 2013-02-26 13:18:27 UTC
Description of problem:

The distributed examples should use

<dependency>
  <groupId>com.redhat.jboss.wfk.boms</groupId>
  <artifactId>jboss-javaee-6.0-with-richfaces</artifactId>
  <version>1.0.4.Final-redhat-1</version>
  <type>pom</type>
  <scope>import</scope>
</dependency>

in dependencyManagement section instead of

<dependency>
  <groupId>org.richfaces</groupId>
  <artifactId>richfaces-bom</artifactId>
  <version>4.3.0.Final-redhat-1</version>
  <type>pom</type>
  <scope>import</scope>
</dependency>

This holds for helloworld-rf, kitchensink-rf and richfaces-validation.

In case of helloworld-rf, the dependency

<dependency>
  <groupId>org.jboss.spec</groupId>
  <artifactId>jboss-javaee-6.0</artifactId>
  <version>${version.org.jboss.spec.jboss.javaee.6.0}</version>
  <type>pom</type>
  <scope>import</scope>
</dependency>

can/should be completely removed from dependencyManagement section because it brings nothing new if jboss-javaee-6.0-with-richfaces is used.

Version-Release number of selected component (if applicable):

WFK 2.2.0.ER1

How reproducible:

Always.

Comment 1 Marek Novotny 2013-02-26 17:37:44 UTC
I am not sure that this applies to kitchensink-rf too, because there are -with-tools and -with-hibernate so replacement with -with-richfaces is useless.

Comment 2 Karel Piwko 2013-02-28 14:06:52 UTC
Yes, it applies.

As base of -with-X is the same, there should be with-tools, with-hibernate and with-richfaces listed altogether.

Comment 3 Marek Novotny 2013-03-05 12:39:27 UTC
the same approach with jboss-javaee-6.0-with-richfaces should be used in Snowdrop Sportsclub example too.

Comment 5 Tomas Repel 2013-03-11 16:23:38 UTC
Verified in WFK 2.2.0.ER2.

Comment 6 Karel Piwko 2013-05-14 14:50:20 UTC
Closed as CURRENTRELEASE, part of WFK 2.2.0 distributables.


Note You need to log in before you can comment on or make changes to this bug.