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 242294 - Maven JAR projects with META-INF/beans.xml are CDI-Projects too!
Summary: Maven JAR projects with META-INF/beans.xml are CDI-Projects too!
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: CDI (show other bugs)
Version: 8.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-24 16:24 UTC by rherschke
Modified: 2016-07-07 08:54 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rherschke 2014-02-24 16:24:36 UTC
Currently, the New... - Templates for Context & Dependency Injection are only available when the facet of the project is a WAR or the packaging of the maven project is WAR.

But any JAR project should be enabled for context&dependency injection when there is a beans.xml in the META-INF folder.

So, if there is a META-INF/beans.xml, the New... Wizard should let me choose to create a new Qualifier, Scope or anything related to CDI as it is within a WAR project.

Thx
Comment 1 Sergey Petrov 2014-07-11 12:13:32 UTC
I would say, it's just supported for war now and isn't supported in other cases. and it look more like enhancement to supported cases
Comment 2 Martin Balin 2016-07-07 08:54:43 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss