Skip to content

Commit

Permalink
use version range for functions core packags; update maven plugin to …
Browse files Browse the repository at this point in the history
…0.1.7 (#7)
  • Loading branch information
xscript committed Nov 17, 2017
1 parent d9f4887 commit 8ab6b6f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion azure-functions-archetype/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.microsoft.azure</groupId>
<artifactId>azure-functions-archetype</artifactId>
<version>1.2</version>
<version>1.3</version>
<packaging>jar</packaging>

<name>Maven Archetype for Azure Functions</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-functions-java-core</artifactId>
<version>1.0.0-beta-1</version>
<version>[1.0.0-beta-1,1.0.0)</version>
</dependency>

<!-- Test -->
Expand Down Expand Up @@ -51,7 +51,7 @@
<plugin>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-functions-maven-plugin</artifactId>
<version>0.1.6</version>
<version>0.1.7</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public HttpResponseMessage hello(@HttpTrigger(name = "req", methods = {"get", "p
context.getLogger().info("Java HTTP trigger processed a request.");

// Parse query parameter
String name = request.getQueryParameters().get("name");
String name = request.getQueryParameters().get("name").toString();

if (name == null) {
// Get request body
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.microsoft.azure</groupId>
<artifactId>azure-maven-archetypes</artifactId>
<version>1.2</version>
<version>1.3</version>
<packaging>pom</packaging>
<name>Maven Archetypes for Azure</name>
<description>Maven Archetypes for Microsoft Azure services</description>
Expand Down

0 comments on commit 8ab6b6f

Please sign in to comment.