Bug 800311 - Richfaces BOM provides invalid version definition for com.sun.faces:jsf-impl and jsf-api
Summary: Richfaces BOM provides invalid version definition for com.sun.faces:jsf-impl ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: RichFaces
Version: 2.0.0.ER2
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: 2.0.0.ER3
Assignee: Marek Novotny
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-06 09:41 UTC by Karel Piwko
Modified: 2012-04-05 13:48 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-05 13:48:26 UTC
Type: ---


Attachments (Terms of Use)

Description Karel Piwko 2012-03-06 09:41:09 UTC
Description of problem:



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


How reproducible:

Always.

Steps to Reproduce:
1. Import RF bom into dependency management of your project
2. Include a dependency 

            <dependency>
                <groupId>com.sun.faces</groupId>
                <artifactId>jsf-api</artifactId>
            </dependency>

  
Actual results:

[ERROR]   The project org.jboss.wfk.examples:spring-3-ws-2-airline-hibernate4:2.0-SNAPSHOT (/home/kpiwko/devel/wfk/wfk-qa/spring/module-ws-2/airline-hibernate-4/pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for javax.servlet.jsp:jsp-api:jar is missing. @ line 57, column 21
[ERROR]
[ERROR]   The project org.springframework.webflow.samples:spring-3-booking-faces-jsf2:2.0.0-SNAPSHOT (/home/kpiwko/devel/wfk/wfk-qa/spring/module-webflow-3/booking-faces-jsf2/pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for com.sun.faces:jsf-api:jar must be a valid version but is '${version.com.sun.faces.jsf-api}'. @ line 52, column 21
[ERROR]
[ERROR]   The project spring-3-jsf-2:spring-3-jsf-2:2.0-SNAPSHOT (/home/kpiwko/devel/wfk/wfk-qa/spring/module-security-3/jsf2featuresspring/pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for com.sun.faces:jsf-api:jar must be a valid version but is '${version.com.sun.faces.jsf-api}'. @ line 86, column 21
[

Expected results:

Version is managed by BOM

Additional info:


<version.com.sun.faces>[2.1.5,2.1.5-redhat-1]</version.com.sun.faces>

is the correct property name in components-master parent at the moment.

Comment 1 Karel Piwko 2012-03-06 09:46:39 UTC
Same holds for jsf-api

Comment 2 Marek Novotny 2012-03-09 17:55:00 UTC
1 - instead of javax.servlet.jsp:jsp-api:jar use org.jboss.spec.javax.servlet.jsp:jboss-jsp-api_2.2_spec

2 - com.sun.faces:jsf-api:jar version definition is fixed.

Comment 3 Karel Piwko 2012-03-12 11:55:35 UTC
Verified in WFK 2.0.0.ER3

Comment 4 Karel Piwko 2012-04-05 13:48:26 UTC
Verified in WFK 2.0.0.ER3 (a.k.a. 2.0.0.Beta1).


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