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 200776

Summary: Please add support for Maven "war-overlay"
Product: javaee Reporter: daedalus
Component: MavenAssignee: Martin Janicek <mjanicek>
Status: NEW ---    
Severity: normal CC: athompson, DavidLeoni, delbd, dusty, jeroenvandepol, morganizeit, terje7601
Priority: P3    
Version: 7.0.1   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: ENHANCEMENT Exception Reporter:

Description daedalus 2011-08-09 07:31:54 UTC
Hello, 

could you please support the maven war overlay feature?

The feature is described here: 
http://maven.apache.org/plugins/maven-war-plugin/overlays.html

Netbeans builds this projects fine but it's not recognizing any of the resources like JavaScript, CSS, images of the war dependencies.
Comment 1 daedalus 2011-08-09 07:32:56 UTC
Forgott to say, JSF Composite Components are also not recognized if war-overlay is used.
Comment 2 David Konecny 2011-08-10 04:56:29 UTC
from issue 200588:

The reason that we use war overlay instead of simple jar libraries is because
of bug(s) in JBoss Weld (We use Glassfish with CDI) . 

We had several problems with the cdi beans in libraries that caused the strange
class cast exceptions. After we used war overlay the problems were gone. 

Also Netbeans offers more support if you create JSF Components inside a web
applications instead of a java project. Some of the code completion and wizard
seems to be only available if you develop in a web application.
Comment 3 David Konecny 2011-10-27 08:55:38 UTC
*** Bug 184616 has been marked as a duplicate of this bug. ***
Comment 4 morganizeit 2011-12-07 19:55:36 UTC
We use a war overlay to provide UI code shared by multiple web applications.  Packaging as a jar is not desirable b/c some of this code can't be loaded from the classpath such as JS, CSS, images.

IntelliJ supports this feature natively and the Eclipse project file can be edited to make it work.  Implementing this would help make Netbeans competitive with these other IDEs.
Comment 5 sgtgarcia 2012-04-04 15:32:00 UTC
I am using Maven Overlays to share Tag Files on several projects. And as a result, I don't have autocompletion in JSP editor for these tags.
Comment 6 tveimo 2014-09-22 11:37:22 UTC
This was scheduled to go into 8.0, but didn't make it. Are there plans to support this eventually?
Comment 7 jeroenvandepol 2014-09-29 11:05:45 UTC
We use Intellij for this feature, I'd like to try netbeans, but this feature is a must for us.
Comment 8 wfsaxton 2015-09-17 15:49:09 UTC
Any update for this?  We're looking for Netbeans to support a modular JSF solution for us.
Comment 9 wfsaxton 2016-01-04 17:14:00 UTC
The target milestone has passed.  Is there any indication of when this might be re-targeted?
Comment 10 greensoft 2016-12-01 01:34:16 UTC
Also interested in support for overlays.