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 207623 - maven web project - beans.xml is cretaed in wrong directory
Summary: maven web project - beans.xml is cretaed in wrong directory
Status: RESOLVED DUPLICATE of bug 203710
Alias: None
Product: javaee
Classification: Unclassified
Component: CDI (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-23 12:17 UTC by blindner
Modified: 2012-01-23 14:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description blindner 2012-01-23 12:17:55 UTC
I am using a maven web project(maven 3.0.3). When working with cdi annotations (like @Named, @RequestScoped,...) the NetBeans editor is complaining about missing beans.xml (CDI artifact is found but there is no beans.xml file). 

Using: "create beans.xml file" the beans.xml file is created in the wrong durectory: instead of the WEB-INF directory it is created in the META-INF directory. This leads to deploy errors.
Comment 1 Denis Anisimov 2012-01-23 14:04:25 UTC

*** This bug has been marked as a duplicate of bug 203710 ***