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 218704 - Maven public packages IDE POM modification is incorrect.
Summary: Maven public packages IDE POM modification is incorrect.
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-20 13:56 UTC by javydreamercsw
Modified: 2012-09-29 10: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 javydreamercsw 2012-09-20 13:56:20 UTC
Product Version = NetBeans IDE Dev (Build 201209190001)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_07
Runtime = Java HotSpot(TM) Client VM 23.3-b01

This was ignored in the redirected issue 218640 but it is not related to the duplicated issue:

I have a module with the following modules:
simple.marauroa.application.core.db
simple.marauroa.application.core.db.controller
simple.marauroa.application.core.db.controller.exceptions
simple.marauroa.application.core.db.manager

If I select all of them as public (Properties>Public Packages) the IDE adds
this to the pom:

                     <publicPackages>
                       
<publicPackage>simple.marauroa.application.core.db.*</publicPackage>
                    </publicPackages>

Only the package simple.marauroa.application.core.db is displayed as public in
the project explorer.

Only when I defined them as:

                   <publicPackages>
                       
<publicPackage>simple.marauroa.application.core.db</publicPackage>
                       
<publicPackage>simple.marauroa.application.core.db.controller</publicPackage>
                       
<publicPackage>simple.marauroa.application.core.db.controller.exceptions</publicPackage>
                       
<publicPackage>simple.marauroa.application.core.db.manager</publicPackage>
                    </publicPackages>

Had to reopen the module anyway due to bug issue 185897 to see the changes.
Comment 1 Milos Kleint 2012-09-21 11:16:43 UTC
http://hg.netbeans.org/core-main/rev/9f6b4c858832
Comment 2 Quality Engineering 2012-09-22 02:16:00 UTC
Integrated into 'main-golden', will be available in build *201209220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9f6b4c858832
User: Milos Kleint <mkleint@netbeans.org>
Log: #218704 proper parsing of values from pom
Comment 3 Marian Mirilovic 2012-09-29 10:04:42 UTC
Not a stopper for NB 7.3 Beta