151 lines
6.2 KiB
XML
151 lines
6.2 KiB
XML
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||
|
<!--
|
||
|
|
||
|
The MIT License
|
||
|
Copyright © 2014-2021 Ilkka Seppälä
|
||
|
|
||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||
|
of this software and associated documentation files (the "Software"), to deal
|
||
|
in the Software without restriction, including without limitation the rights
|
||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||
|
copies of the Software, and to permit persons to whom the Software is
|
||
|
furnished to do so, subject to the following conditions:
|
||
|
|
||
|
The above copyright notice and this permission notice shall be included in
|
||
|
all copies or substantial portions of the Software.
|
||
|
|
||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||
|
THE SOFTWARE.
|
||
|
|
||
|
-->
|
||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
|
||
|
|
||
|
<parent>
|
||
|
<groupId>com.iluwatar</groupId>
|
||
|
<artifactId>claim-check-pattern</artifactId>
|
||
|
<version>1.25.0-SNAPSHOT</version>
|
||
|
</parent>
|
||
|
|
||
|
<artifactId>call-usage-app</artifactId>
|
||
|
<name>call-usage-app</name>
|
||
|
<packaging>jar</packaging>
|
||
|
|
||
|
<properties>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
<azure.functions.maven.plugin.version>1.14.0</azure.functions.maven.plugin.version>
|
||
|
<azure.functions.java.library.version>1.4.2</azure.functions.java.library.version>
|
||
|
<functionAppName>CallUsageApp</functionAppName>
|
||
|
</properties>
|
||
|
|
||
|
<dependencyManagement>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>com.azure</groupId>
|
||
|
<artifactId>azure-sdk-bom</artifactId>
|
||
|
<version>1.0.4</version>
|
||
|
<type>pom</type>
|
||
|
<scope>import</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</dependencyManagement>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>com.microsoft.azure.functions</groupId>
|
||
|
<artifactId>azure-functions-java-library</artifactId>
|
||
|
<version>${azure.functions.java.library.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>com.azure</groupId>
|
||
|
<artifactId>azure-messaging-eventgrid</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>com.azure</groupId>
|
||
|
<artifactId>azure-storage-blob</artifactId>
|
||
|
<version>12.13.0</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.slf4j</groupId>
|
||
|
<artifactId>slf4j-simple</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Test -->
|
||
|
<dependency>
|
||
|
<groupId>org.mockito</groupId>
|
||
|
<artifactId>mockito-core</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
|
||
|
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>com.microsoft.azure</groupId>
|
||
|
<artifactId>azure-functions-maven-plugin</artifactId>
|
||
|
<version>${azure.functions.maven.plugin.version}</version>
|
||
|
<configuration>
|
||
|
<!-- function app name -->
|
||
|
<appName>${functionAppName}</appName>
|
||
|
<!-- function app resource group -->
|
||
|
<resourceGroup>java-functions-group</resourceGroup>
|
||
|
<!-- function app service plan name -->
|
||
|
<appServicePlanName>java-functions-app-service-plan</appServicePlanName>
|
||
|
<!-- function app region-->
|
||
|
<!-- refers https://github.com/microsoft/azure-maven-plugins/wiki/Azure-Functions:-Configuration-Details#supported-regions for all valid values -->
|
||
|
<region>westus</region>
|
||
|
<!-- function pricingTier, default to be consumption if not specified -->
|
||
|
<!-- refers https://github.com/microsoft/azure-maven-plugins/wiki/Azure-Functions:-Configuration-Details#supported-pricing-tiers for all valid values -->
|
||
|
<!-- <pricingTier></pricingTier> -->
|
||
|
<!-- Whether to disable application insights, default is false -->
|
||
|
<!-- refers https://github.com/microsoft/azure-maven-plugins/wiki/Azure-Functions:-Configuration-Details for all valid configurations for application insights-->
|
||
|
<!-- <disableAppInsights></disableAppInsights> -->
|
||
|
<runtime>
|
||
|
<!-- runtime os, could be windows, linux or docker-->
|
||
|
<os>windows</os>
|
||
|
<javaVersion>11</javaVersion>
|
||
|
</runtime>
|
||
|
<appSettings>
|
||
|
<property>
|
||
|
<name>FUNCTIONS_EXTENSION_VERSION</name>
|
||
|
<value>~3</value>
|
||
|
</property>
|
||
|
</appSettings>
|
||
|
</configuration>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>package-functions</id>
|
||
|
<goals>
|
||
|
<goal>package</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<!--Remove obj folder generated by .NET SDK in maven clean-->
|
||
|
<plugin>
|
||
|
<artifactId>maven-clean-plugin</artifactId>
|
||
|
<version>3.1.0</version>
|
||
|
<configuration>
|
||
|
<filesets>
|
||
|
<fileset>
|
||
|
<directory>obj</directory>
|
||
|
</fileset>
|
||
|
</filesets>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</project>
|