Skip to content

Function Archetype Test Plan

Sheng Chen edited this page Mar 29, 2018 · 10 revisions

Install archetype to local machine

  1. git clone git@github.com:Microsoft/azure-maven-archetypes.git
  2. cd azure-maven-archetypes
  3. mvn clean install
  4. mvn install archetype:update-local-catalog

Generate archetype

  1. mvn archetype:generate -DarchetypeGroupId=com.microsoft.azure -DarchetypeArtifactId=azure-functions-archetype -DarchetypeCatalog=local -DarchetypeVersion={NEWEST_VERSION}
  2. Make sure you are using the right version of the archetype from the output
Using the one from [com.microsoft.azure:azure-functions-archetype:{NEWEST_VERSION}] found in catalog local
  1. User can specify the resource group

Test according to the Test Plan for Maven plugin

Clone this wiki locally