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.
Created attachment 92235 [details] Screenshot of new Maven project wizard The package property in a new Maven project has optional beside it, but the project cannot be created without it. See attached screenshot.
it's not optional within the wizard, as we do additional checks on package name correctness. The last time I tried you could create a project with invalid package names.
Optional - adjective, not required or mandatory. I am of the opinion that an optional label for a required field is confusing for the user. I'm simply suggesting either of the following: 1. If a user enters no package name, then don't create any. When I transitioned to Maven from NB Ant projects, I was copying packages from one project to the other so I wasn't going to use the created packages anyway. or 2. Remove the optional label.
if it boils down to removing optional hint, then I'm all for it. I didn't notice it in the picture. We populate it with sensible defaults therefore it should not be a problem. re 1: having new maven projects created just for the sake of migration of ant projects is not a supported usecase in this UI. If we decide to write a migration tool, it will no use the archetypes plugin.
Will the text '(Optional)' be removed from the wizard? I find it very confusing and actually incorrect as it is not optional.
Reassigning to default owner.
Please leave it optional and make it so. In designing a hierarchy of POMs that inherit plugins and dependencies going down the line, it is very common to want a maven project with no source, in which case you just have to go in and delete stuff afterwards.
*** Bug 189996 has been marked as a duplicate of this bug. ***
(In reply to comment #6) > it is very common to want > a maven project with no source, in which case you just have to go in and delete > stuff afterwards. Then you want to use a different archetype, unlike Quickstart which always creates source files; that is not an issue of the IDE's wizard.
core-main #9c640d6c63a2
Integrated into 'main-golden', will be available in build *201011200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/9c640d6c63a2 User: Jesse Glick <jglick@netbeans.org> Log: #178258: [68cat] Optional property in new Maven project is required