You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-create-first-azure-function-azure-cli.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ Provide the following values when prompted:
100
100
|**groupId**|`com.fabrikam`| A value that uniquely identifies your project across all projects, following the [package naming rules](https://docs.oracle.com/javase/specs/jls/se6/html/packages.html#7.7) for Java. |
101
101
|**artifactId**|`fabrikam-functions`| A value that is the name of the jar, without a version number. |
102
102
|**version**|`1.0-SNAPSHOT`| Choose the default value. |
103
-
|**package**|`com.fabrikam.functions`| A value that is the Java package for the generated function code. Use the default. |
103
+
|**package**|`com.fabrikam`| A value that is the Java package for the generated function code. Use the default. |
104
104
105
105
Type `Y` or press Enter to confirm.
106
106
@@ -140,15 +140,15 @@ The return object is an [ActionResult](/dotnet/api/microsoft.aspnetcore.mvc.acti
140
140
#### Function.java
141
141
*Function.java* contains a `run` method that receives request data in the `request` variable is an [HttpRequestMessage](/java/api/com.microsoft.azure.functions.httprequestmessage) that's decorated with the [HttpTrigger](/java/api/com.microsoft.azure.functions.annotation.httptrigger) annotation, which defines the trigger behavior.
The response message is generated by the [HttpResponseMessage.Builder](/java/api/com.microsoft.azure.functions.httpresponsemessage.builder) API.
146
146
147
147
#### pom.xml
148
148
149
149
Settings for the Azure resources created to host your app are defined in the **configuration** element of the plugin with a **groupId** of `com.microsoft.azure` in the generated pom.xml file. For example, the configuration element below instructs a Maven-based deployment to create a function app in the `java-functions-group` resource group in the `westus` region. The function app itself runs on Windows hosted in the `java-functions-app-service-plan` plan, which by default is a serverless Consumption plan.
You can change these settings to control how resources are created in Azure, such as by changing `runtime.os` from `windows` to `linux` before initial deployment. For a complete list of settings supported by the Maven plug-in, see the [configuration details](https://github.com/microsoft/azure-maven-plugins/wiki/Azure-Functions:-Configuration-Details).
0 commit comments