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 149501 - provide deploy menu option for maven projects with war packaging
Summary: provide deploy menu option for maven projects with war packaging
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-08 13:11 UTC by japod
Modified: 2014-07-30 12:51 UTC (History)
2 users (show)

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 japod 2008-10-08 13:11:39 UTC
It would be great to have [deploy] menu option available also for maven based 
projects with war packaging
It would be then consistent with the current behavior of regular webapp projects.
Comment 1 Milos Kleint 2008-10-08 13:14:03 UTC
dkonecny, phejl: what is the "Deploy" menu item good for when we have "run" which does actually perform a deploy as well?
Do we need both? What is the difference?
Comment 2 japod 2008-10-08 13:24:06 UTC
[Run] will also start the browser, so after re-deploying the app several times
you would end-up with several browser tabs open, which is kind of annoying.

Another thing is that the thing is a bit counterintuitive.
And i still think it is not consistent with what people used to NetBeans would expect.
Comment 3 Petr Hejl 2008-10-08 13:26:44 UTC
Afaik the difference is that the deploy is in fact (undeploy & deploy) so it is a bit safer and deploy does not open
browser for you.
Comment 4 Milos Kleint 2008-10-08 13:49:06 UTC
FYI, unfortunately "Deploy" has also another meaning in maven projects and it's means to upload the project's binaries
to a remove repository. That will be the first thing that comes to mind to maven users. Somehow we need to come up with
a name that doesn't clash with the maven meaning and still is close to the ant project's deploy notation.

Maven projects seem to force the redeploy of the webapp on "Run" by default. Unless configured with execution property
named "netbeans.deploy.forceRedeploy" to suppress it.

How does Deploy on save feature influence the meaningfulness of running a deploy without undeploy?
Comment 5 Antonin Nebuzelsky 2010-01-14 06:58:14 UTC
Changing the default owner to issues@javaee.
Comment 6 Martin Janicek 2014-07-30 12:51:45 UTC
Closing as WONTFIX. During the past 6 years, no-one else ever complained and it doesn't make many sense to include Deploy if it means something else in the context of Maven.