-
Notifications
You must be signed in to change notification settings - Fork 32
Function Archetype Test Plan
Sheng Chen edited this page Jul 23, 2018
·
10 revisions
-
Delete following from maven local cache (it's in your local maven repo)
- azure-functions-maven-plugin
- azure-maven-plugins-pom
- azure-maven-plugin-lib
- azure-maven-plugins
- azure-functions-archetype
-
Add following profile to your settings.xml
<profiles>
<profile>
<id>archetype</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>archetype</id>
<url>https://oss.sonatype.org/content/repositories/commicrosoftazure-{id}/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</profile>
</profiles>
- Run
mvn archetype:generate -DarchetypeGroupId=com.microsoft.azure -DarchetypeArtifactId=azure-functions-archetype -DarchetypeVersion={version}
- 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
- User can specify the resource group