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 188945 - EAR project node is misleading
Summary: EAR project node is misleading
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: PC Linux
: P4 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-26 02:31 UTC by David Konecny
Modified: 2011-10-12 15:04 UTC (History)
2 users (show)

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 David Konecny 2010-07-26 02:31:30 UTC
I used wizard to create AddressBook Maven Enterprise Application. Following projects were created:

AddressBook Maven Enterprise Application
AddressBook-ejb Java EE 6 EJB
AddressBook-web Java EE 6 Webapp
AddressBook-ear JavaEE6 Assembly

I find word "Assembly" in "AddressBook-ear" project confusing because it is the first project ("AddressBook Maven Enterprise Application") which actually assembles all other projects so that they can be build together in right order. I would probably suggest to keep the name in line with other EE modules, for example

AddressBook-ear Java EE 6 EAR

Another issue of this EAR project is that it has Source and Test Packages which do not make any sense in EAR.

  Product Version         = NetBeans IDE Dev (Build 100726-3807de0e15c5) (#3807de0e15c5)
  Operating System        = Linux version 2.6.32-23-generic running on i386
  Java; VM; Vendor        = 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_20-b02
Comment 1 David Konecny 2010-07-26 22:51:05 UTC
If I understand it right then thsi issue must be resolved in core Maven project and not in Maven-JEE bridge. Is that right Dafe?
Comment 2 Petr Jiricka 2010-07-27 09:23:27 UTC
BTW, some improvements wrt. the behavior of the "Enterprise App" vs. "Assembly" projects were already make in the fix of bug 184978.
Comment 3 David Konecny 2010-08-11 18:19:57 UTC
Jesse, where does the project name come from? Is it easy to exclude sources and tests from EAR Maven project? Thx.
Comment 5 Martin Janicek 2011-10-12 15:04:18 UTC
Each point of this issue was already resolved. (EAR project doesn't contains Source and Test packages anymore and EAR project names are created consistently)