form.add(
new RequiredTextField<String>("name", BindingModel.of(getModel(), Binding.project().name()))
.setLabel(new ResourceModel("project.field.name"))
.add(new ProjectNamePatternValidator())
.setEnabled(MavenArtifactNotifierSession.get().hasRoleAdmin()),
new UrlTextField("websiteUrl", new ExternalLinkWrapperWrapModel(BindingModel.of(getModel(), Binding.project().additionalInformation().websiteUrl())))
.setLabel(new ResourceModel("project.field.websiteUrl")),
new UrlTextField("issueTrackerUrl", new ExternalLinkWrapperWrapModel(BindingModel.of(getModel(), Binding.project().additionalInformation().issueTrackerUrl())))
.setLabel(new ResourceModel("project.field.issueTrackerUrl")),
new UrlTextField("scmUrl", new ExternalLinkWrapperWrapModel(BindingModel.of(getModel(), Binding.project().additionalInformation().scmUrl())))
.setLabel(new ResourceModel("project.field.scmUrl")),
new UrlTextField("changelogUrl", new ExternalLinkWrapperWrapModel(BindingModel.of(getModel(), Binding.project().additionalInformation().changelogUrl())))
.setLabel(new ResourceModel("project.field.changelogUrl")),
new ProjectLicenseDropDownChoice("licenses", BindingModel.of(getModel(), Binding.project().additionalInformation().licenses()))
.setLabel(new ResourceModel("project.field.licenses"))
);
body.add(form);