Skip to content

Instantly share code, notes, and snippets.

@kevinhillinger
Created February 5, 2018 13:46
Show Gist options
  • Save kevinhillinger/a29ae195be48680e67051d0a91abd8ad to your computer and use it in GitHub Desktop.
Save kevinhillinger/a29ae195be48680e67051d0a91abd8ad to your computer and use it in GitHub Desktop.
How to create a new Azure Function for Java using the Maven plugin (MacOS)
#!/bin/bash
# get maven (if you don't already have it
brew update
brew install maven
# get core tools
sudo npm install -g azure-functions-core-tools@core --unsafe-perm true
# create a java project from the azure-functions-archetype
mvn archetype:generate -DarchetypeGroupId=com.microsoft.azure -DarchetypeArtifactId=azure-functions-archetype -DarchetypeVersion=1.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment