This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 178514 - Facelets Template Generation not working with Maven Projects
Summary: Facelets Template Generation not working with Maven Projects
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Alexey Butenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-11 14:21 UTC by dheffelfinger
Modified: 2010-04-14 13:11 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (33.84 KB, image/gif)
2009-12-11 14:23 UTC, dheffelfinger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dheffelfinger 2009-12-11 14:21:38 UTC
Created a Maven Web Application through NB 6.8.

Right clicked on the project and selected: New | Facelets Template...

There is a warning at the bottom of the dialog:

"No Facelets Libraries Found"

"Next" and "Finish" buttons are grayed out.

The javaee-web-api-6.0.jar is listed as a project library. This JAR should have Facelets.

As a workaround, Facelets can be added as a dependency from the ibiblio Maven repository
Comment 1 dheffelfinger 2009-12-11 14:23:03 UTC
Created attachment 92447 [details]
Screenshot
Comment 2 dheffelfinger 2009-12-11 15:44:26 UTC
I just verified that the issue exists under Linux as well.

The workaround of adding a "provided" facelets dependency works under Linux.
Comment 3 Alexey Butenko 2010-04-14 13:11:29 UTC
the JAR have JSF API but not the implementation.
Facelets can be added in Project Properties by adding JSF framework with Facelets as preferred language.