Skip to content

Function Archetype Test Plan

Sheng Chen edited this page Mar 8, 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

Test according to the Test Plan for Maven plugin

Clone this wiki locally