{"record":{"id":"13eef35ceec43438","repo":"quarkusio/quarkus","slug":"please-config-the-appname-in-pom-xml","errorCode":null,"errorMessage":"Please config the <appName> in pom.xml.","messagePattern":"Please config the <appName> in pom\\.xml\\.","errorType":"validation","errorClass":"BuildException","httpStatus":null,"severity":"error","filePath":"extensions/azure-functions/deployment/src/main/java/io/quarkus/azure/functions/deployment/AzureFunctionsDeployCommand.java","lineNumber":168,"sourceCode":"                public String getType() {\n                    return \"Quarkus\";\n                }\n\n                @Override\n                public AzureString getDescription() {\n                    return AzureString.fromString(\"Quarkus\");\n                }\n            };\n            OperationThreadContext ctx = OperationThreadContext.current();\n            push.invoke(ctx, dummy);\n        } catch (Exception e) {\n        }\n    }\n\n    protected void validateParameters(AzureFunctionsConfig config, String appName) throws BuildException {\n        // app name\n        if (StringUtils.isBlank(appName)) {\n            throw new BuildException(EMPTY_APP_NAME);\n        }\n        if (appName.startsWith(\"-\") || !appName.matches(APP_NAME_PATTERN)) {\n            throw new BuildException(format(INVALID_APP_NAME, appName));\n        }\n        // resource group\n        if (StringUtils.isBlank(config.resourceGroup())) {\n            throw new BuildException(EMPTY_RESOURCE_GROUP);\n        }\n        if (config.resourceGroup().endsWith(\".\") || !config.resourceGroup().matches(RESOURCE_GROUP_PATTERN)) {\n            throw new BuildException(INVALID_RESOURCE_GROUP_NAME);\n        }\n        // asp name & resource group\n        if (StringUtils.isNotEmpty(config.appServicePlanName())\n                && !config.appServicePlanName().matches(APP_SERVICE_PLAN_NAME_PATTERN)) {\n            throw new BuildException(format(INVALID_SERVICE_PLAN_NAME, APP_SERVICE_PLAN_NAME_PATTERN));\n        }\n        if (config.appServicePlanResourceGroup().isPresent()\n                && StringUtils.isNotEmpty(config.appServicePlanResourceGroup().orElse(null))","sourceCodeStart":150,"sourceCodeEnd":186,"githubUrl":"https://github.com/quarkusio/quarkus/blob/e1c734241f34c7919086ceb4c9262b4a58f6de44/extensions/azure-functions/deployment/src/main/java/io/quarkus/azure/functions/deployment/AzureFunctionsDeployCommand.java#L150-L186","documentation":"Before deploying, validateParameters checks that an Azure function app name was provided. If the appName string is blank, the command throws BuildException with the constant EMPTY_APP_NAME ('Please config the <appName> in pom.xml.'). The app name is mandatory to create/locate the Azure Functions app.","triggerScenarios":"Running quarkus:deploy without <appName> in the plugin configuration and without -DappName=... on the command line.","commonSituations":"New project scaffolded but deployment properties never filled in; property defined in the wrong pom (module without the plugin); CI passes no -DappName override.","solutions":["Add <appName>your-function-app-name</appName> to the azure-functions Maven plugin configuration in pom.xml","Or pass -DappName=your-function-app-name to the Maven command","Verify the pom you edited is the module where quarkus:deploy runs"],"exampleFix":"<!-- before -->\n<configuration>\n  <resourceGroup>my-rg</resourceGroup>\n</configuration>\n<!-- after -->\n<configuration>\n  <appName>my-quarkus-func</appName>\n  <resourceGroup>my-rg</resourceGroup>\n</configuration>","handlingStrategy":"validation","validationCode":"if (appName == null || appName.isBlank()) {\n  throw new IllegalArgumentException(\"<appName> must be configured before quarkus:deploy\");\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Add appName (and resourceGroup) to the plugin configuration at project creation time","Fail fast in CI if -DappName is absent for deploy jobs","Keep a single source of truth (pom properties) for deployment names"],"tags":["azure-functions","configuration","maven-plugin"],"backgroundTag":"missing-config-property","analyzedSha":"e1c734241f34c7919086ceb4c9262b4a58f6de44","analyzedAt":"2026-09-05T17:01:29.979Z","contentChangedAt":"2026-09-05T17:01:29.979Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}