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 200678 - Apply custom goals to project context menu according to packaging type
Summary: Apply custom goals to project context menu according to packaging type
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-04 15:47 UTC by rptmaestro
Modified: 2013-02-27 16:12 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 rptmaestro 2011-08-04 15:47:54 UTC
I create many custom goals that really only apply to maven projects with a particular packaging type (i.e. war, ear, custom). It would be useful to be able to define an optional packaging type for global custom goals definitions so that the goal only shows up on those projects that have that packaging type.
Comment 1 Jesse Glick 2011-08-04 19:27:39 UTC
Sensible.
Comment 2 Milos Kleint 2013-02-22 15:43:51 UTC
the backend side: http://hg.netbeans.org/core-main/rev/727525bf569d
config/Projects/o....maven/nbactions.xml file's mapping entries can declare the 
<packagings>
    <packaging>jar</packaging>
    <packaging>bundle</packaging>
</packaging>

to be shown in given packagings only.

UI is still TBD
Comment 3 Quality Engineering 2013-02-24 05:44:31 UTC
Integrated into 'main-golden', will be available in build *201302232300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/727525bf569d
User: Milos Kleint <mkleint@netbeans.org>
Log: #200678 filter global entries by packaging type
Comment 4 Milos Kleint 2013-02-26 14:20:39 UTC
ui added to Tools/Options/Maven dialog

https://hg.netbeans.org/core-main/rev/adf3f23f7e2c
Comment 5 Quality Engineering 2013-02-27 16:12:15 UTC
Integrated into 'main-golden', will be available in build *201302270948* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/adf3f23f7e2c
User: Milos Kleint <mkleint@netbeans.org>
Log: #200678 ui to set packaging(s) for global action mappings (as set in Tools/Options)