Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 200776 - Please add support for Maven "war-overlay"
Please add support for Maven "war-overlay"
Status: NEW
Product: javaee
Classification: Unclassified
Component: Maven
PC Windows 7 x64
: P3 with 14 votes (vote)
: 8.0
Assigned To: Martin Janicek
Depends on:
  Show dependency treegraph
Reported: 2011-08-09 07:31 UTC by daedalus
Modified: 2016-12-01 01:34 UTC (History)
7 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description daedalus 2011-08-09 07:31:54 UTC

could you please support the maven war overlay feature?

The feature is described here:

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.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo