-
Notifications
You must be signed in to change notification settings - Fork 32
Function Archetype Test Plan
Hanxiao Liu edited this page Nov 1, 2018
·
10 revisions
- azure-functions-maven-plugin
- azure-maven-plugins-pom
- azure-maven-plugin-lib
- azure-maven-plugins
- azure-functions-archetype
<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>
<profile>
<id>archetype</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>archetype</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</profile>
- Run
mvn archetype:generate -DarchetypeGroupId=com.microsoft.azure -DarchetypeArtifactId=azure-functions-archetype -DarchetypeVersion={version}
(Please use SNAPSHOT version for regression test) - The user can specify the resource group
- Archetype should check whether artifactId and groupId follows pattern
[A-Za-z0-9_-.]+