microsoft / azure-maven-plugins

Maven plugins for Azure
MIT License
277 stars 150 forks source link

Stage directory not found. Please run mvn package first. #2100

Closed brandonros closed 2 years ago

brandonros commented 2 years ago
$ mvn -e -X azure-functions:run
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
Maven home: /opt/homebrew/Cellar/maven/3.8.6/libexec
Java version: 16, vendor: AdoptOpenJDK, runtime: /Users/brandonros/Desktop/jdk-16+36/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: javax.annotation.* < plexus.core
[DEBUG]   Imported: javax.annotation.security.* < plexus.core
[DEBUG]   Imported: javax.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.* < plexus.core
[DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG]   Imported: org.eclipse.aether.collection < plexus.core
[DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG]   Imported: org.eclipse.aether.graph < plexus.core
[DEBUG]   Imported: org.eclipse.aether.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.installation < plexus.core
[DEBUG]   Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG]   Imported: org.eclipse.aether.repository < plexus.core
[DEBUG]   Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG]   Imported: org.eclipse.aether.spi < plexus.core
[DEBUG]   Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.version < plexus.core
[DEBUG]   Imported: org.fusesource.jansi.* < plexus.core
[DEBUG]   Imported: org.slf4j.* < plexus.core
[DEBUG]   Imported: org.slf4j.event.* < plexus.core
[DEBUG]   Imported: org.slf4j.helpers.* < plexus.core
[DEBUG]   Imported: org.slf4j.spi.* < plexus.core
[DEBUG] Populating class realm maven.api
[INFO] Error stacktraces are turned on.
[DEBUG] Message scheme: color
[DEBUG] Message styles: debug info warning error success failure strong mojo project
[DEBUG] Reading global settings from /opt/homebrew/Cellar/maven/3.8.6/libexec/conf/settings.xml
[DEBUG] Reading user settings from /Users/brandonros/.m2/settings.xml
[DEBUG] Reading global toolchains from /opt/homebrew/Cellar/maven/3.8.6/libexec/conf/toolchains.xml
[DEBUG] Reading user toolchains from /Users/brandonros/.m2/toolchains.xml
[DEBUG] Using local repository at /Users/brandonros/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/brandonros/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project com.foo.cbs:poc-pdfbox:jar:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Resolving plugin prefix azure-functions from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository).
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for codehaus.org (http://snapshots.repository.codehaus.org).
[DEBUG] Resolved plugin prefix azure-functions to com.microsoft.azure:azure-functions-maven-plugin from POM com.foo.cbs:poc-pdfbox:jar:1.0-SNAPSHOT
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: com.foo.cbs:poc-pdfbox:jar:1.0-SNAPSHOT
[DEBUG] Tasks:   [azure-functions:run]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO] 
[INFO] --------------------< com.foo.cbs:poc-pdfbox >---------------------
[INFO] Building poc-pdfbox 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[DEBUG] Resolving plugin prefix azure-functions from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix azure-functions to com.microsoft.azure:azure-functions-maven-plugin from POM com.foo.cbs:poc-pdfbox:jar:1.0-SNAPSHOT
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project:       com.foo.cbs:poc-pdfbox:1.0-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): []
[DEBUG] Repositories (dependencies): [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          com.microsoft.azure:azure-functions-maven-plugin:1.19.0:run (default-cli)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <allowTelemetry default-value="true">${allowTelemetry}</allowTelemetry>
  <appInsightsInstance>${functions.appInsightsInstance}</appInsightsInstance>
  <appInsightsKey>${functions.appInsightsKey}</appInsightsKey>
  <appName>poc-pdfbox</appName>
  <appServicePlanName>foo</appServicePlanName>
  <appServicePlanResourceGroup>${appServicePlanResourceGroup}</appServicePlanResourceGroup>
  <appSettings>
    <property>
      <name>FUNCTIONS_EXTENSION_VERSION</name>
      <value>~4</value>
    </property>
  </appSettings>
  <auth>${auth}</auth>
  <authType>${authType}</authType>
  <buildDirectory default-value="${project.build.directory}"/>
  <disableAppInsights default-value="false">${functions.disableAppInsights}</disableAppInsights>
  <failsOnError default-value="true">${failsOnError}</failsOnError>
  <finalName default-value="${project.build.finalName}"/>
  <localDebugConfig default-value="transport=dt_socket,server=y,suspend=n,address=5005">${localDebugConfig}</localDebugConfig>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <plugin default-value="${plugin}"/>
  <pricingTier>S1</pricingTier>
  <project default-value="${project}"/>
  <region>westus</region>
  <resourceGroup>foo</resourceGroup>
  <runtime>
    <os>linux</os>
    <javaVersion>8</javaVersion>${functions.runtime}</runtime>
  <session default-value="${session}"/>
  <settings default-value="${settings}"/>
  <skip default-value="false">${functions.skip}</skip>
</configuration>
[DEBUG] =======================================================================
[INFO] 
[INFO] --- azure-functions-maven-plugin:1.19.0:run (default-cli) @ poc-pdfbox ---
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for ow2-snapshot (http://repository.ow2.org/nexus/content/repositories/snapshots).
[DEBUG] Could not find metadata net.minidev:json-smart/maven-metadata.xml in local (/Users/brandonros/.m2/repository)
[DEBUG] Skipped remote request for net.minidev:json-smart/maven-metadata.xml, locally cached metadata up-to-date
[DEBUG] net.minidev:json-smart/maven-metadata.xml was not found in https://oss.sonatype.org/content/repositories/snapshots/ during a previous attempt. This failure was cached in the local repository and resolution is not be reattempted until the update interval of maven.snapshots has elapsed or updates are forced
[DEBUG] net.minidev:json-smart/maven-metadata.xml was not found in https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-java/maven/v1 during a previous attempt. This failure was cached in the local repository and resolution is not be reattempted until the update interval of azure-sdk-for-java has elapsed or updates are forced
[DEBUG] net.minidev:json-smart/maven-metadata.xml was not found in https://build.shibboleth.net/nexus/content/repositories/releases/ during a previous attempt. This failure was cached in the local repository and resolution is not be reattempted until the update interval of shibboleth-repo has elapsed or updates are forced
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for repository.jboss.org (http://repository.jboss.org/maven2).
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for snapshots.jboss.org (http://snapshots.jboss.org/maven2).
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for oss.sonatype.org/jboss-snapshots (http://oss.sonatype.org/content/repositories/jboss-snapshots).
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=8774791, ConflictMarker.markTime=729125, ConflictMarker.nodeCount=937, ConflictIdSorter.graphTime=7668209, ConflictIdSorter.topsortTime=1035416, ConflictIdSorter.conflictIdCount=194, ConflictIdSorter.conflictIdCycleCount=15, ConflictResolver.totalTime=26250417, ConflictResolver.conflictItemCount=486, DefaultDependencyCollector.collectTime=1654915833, DefaultDependencyCollector.transformTime=47848667}
[DEBUG] com.microsoft.azure:azure-functions-maven-plugin:jar:1.19.0
[DEBUG]    io.projectreactor.netty:reactor-netty:jar:1.0.18:compile
[DEBUG]       io.projectreactor.netty:reactor-netty-core:jar:1.0.18:compile
[DEBUG]          io.netty:netty-resolver-dns:jar:4.1.75.Final:compile
[DEBUG]             io.netty:netty-codec-dns:jar:4.1.75.Final:compile
[DEBUG]          io.netty:netty-resolver-dns-native-macos:jar:osx-x86_64:4.1.75.Final:compile
[DEBUG]             io.netty:netty-resolver-dns-classes-macos:jar:4.1.75.Final:compile
[DEBUG]          io.projectreactor:reactor-core:jar:3.4.18:compile (version managed from default)
[DEBUG]             org.reactivestreams:reactive-streams:jar:1.0.3:compile
[DEBUG]       io.projectreactor.netty:reactor-netty-http:jar:1.0.18:compile
[DEBUG]       io.projectreactor.netty.incubator:reactor-netty-incubator-quic:jar:0.0.7:runtime
[DEBUG]          io.netty.incubator:netty-incubator-codec-native-quic:jar:linux-x86_64:0.0.26.Final:runtime
[DEBUG]             io.netty.incubator:netty-incubator-codec-classes-quic:jar:0.0.26.Final:runtime
[DEBUG]       io.projectreactor.netty:reactor-netty-http-brave:jar:1.0.18:runtime
[DEBUG]          io.zipkin.brave:brave-instrumentation-http:jar:5.13.8:runtime
[DEBUG]             io.zipkin.brave:brave:jar:5.13.8:runtime
[DEBUG]                io.zipkin.reporter2:zipkin-reporter-brave:jar:2.16.3:runtime
[DEBUG]                   io.zipkin.reporter2:zipkin-reporter:jar:2.16.3:runtime
[DEBUG]                      io.zipkin.zipkin2:zipkin:jar:2.23.2:runtime
[DEBUG]    com.azure:azure-core-http-netty:jar:1.12.2:compile
[DEBUG]       com.azure:azure-core:jar:1.29.1:compile (version managed from default) (exclusions managed from default)
[DEBUG]          com.fasterxml.jackson.core:jackson-annotations:jar:2.13.3:compile (version managed from default)
[DEBUG]          com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.13.3:compile (version managed from default)
[DEBUG]          com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.13.3:compile (version managed from default)
[DEBUG]             org.codehaus.woodstox:stax2-api:jar:4.2.1:compile
[DEBUG]             com.fasterxml.woodstox:woodstox-core:jar:6.2.7:compile
[DEBUG]       io.netty:netty-handler:jar:4.1.76.Final:compile
[DEBUG]          io.netty:netty-common:jar:4.1.76.Final:compile
[DEBUG]          io.netty:netty-resolver:jar:4.1.76.Final:compile
[DEBUG]          io.netty:netty-transport:jar:4.1.76.Final:compile
[DEBUG]          io.netty:netty-codec:jar:4.1.76.Final:compile
[DEBUG]       io.netty:netty-handler-proxy:jar:4.1.76.Final:compile
[DEBUG]          io.netty:netty-codec-socks:jar:4.1.76.Final:compile
[DEBUG]       io.netty:netty-buffer:jar:4.1.76.Final:compile
[DEBUG]       io.netty:netty-codec-http:jar:4.1.76.Final:compile
[DEBUG]       io.netty:netty-codec-http2:jar:4.1.76.Final:compile
[DEBUG]       io.netty:netty-transport-native-unix-common:jar:4.1.76.Final:compile
[DEBUG]       io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.76.Final:compile
[DEBUG]          io.netty:netty-transport-classes-epoll:jar:4.1.76.Final:compile
[DEBUG]       io.netty:netty-transport-native-kqueue:jar:osx-x86_64:4.1.76.Final:compile
[DEBUG]          io.netty:netty-transport-classes-kqueue:jar:4.1.76.Final:compile
[DEBUG]       io.netty:netty-tcnative-boringssl-static:jar:2.0.51.Final:compile
[DEBUG]          io.netty:netty-tcnative-classes:jar:2.0.51.Final:compile
[DEBUG]          io.netty:netty-tcnative-boringssl-static:jar:linux-x86_64:2.0.51.Final:compile
[DEBUG]          io.netty:netty-tcnative-boringssl-static:jar:linux-aarch_64:2.0.51.Final:compile
[DEBUG]          io.netty:netty-tcnative-boringssl-static:jar:osx-x86_64:2.0.51.Final:compile
[DEBUG]          io.netty:netty-tcnative-boringssl-static:jar:osx-aarch_64:2.0.51.Final:compile
[DEBUG]          io.netty:netty-tcnative-boringssl-static:jar:windows-x86_64:2.0.51.Final:compile
[DEBUG]    com.microsoft.azure:azure-toolkit-auth-lib:jar:0.22.0:compile
[DEBUG]       org.apache.commons:commons-lang3:jar:3.12.0:compile (version managed from default)
[DEBUG]       com.google.code.gson:gson:jar:2.9.0:compile (version managed from default)
[DEBUG]       com.google.guava:guava:jar:31.1-jre:compile (version managed from default) (exclusions managed from default)
[DEBUG]          com.google.guava:failureaccess:jar:1.0.1:compile
[DEBUG]          com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[DEBUG]          org.checkerframework:checker-qual:jar:3.12.0:compile
[DEBUG]          com.google.j2objc:j2objc-annotations:jar:1.3:compile
[DEBUG]       com.google.code.findbugs:jsr305:jar:3.0.2:compile (version managed from default)
[DEBUG]       com.fasterxml.jackson.core:jackson-core:jar:2.13.3:compile (version managed from default)
[DEBUG]       com.microsoft.azure:azure-client-runtime:jar:1.7.14:compile (version managed from default)
[DEBUG]          com.microsoft.rest:client-runtime:jar:1.7.14:compile (version managed from default)
[DEBUG]             com.squareup.retrofit2:retrofit:jar:2.6.4:compile
[DEBUG]             com.squareup.okhttp3:okhttp:jar:3.12.12:compile
[DEBUG]                com.squareup.okio:okio:jar:1.15.0:compile
[DEBUG]             com.squareup.okhttp3:logging-interceptor:jar:3.12.12:compile
[DEBUG]             com.squareup.okhttp3:okhttp-urlconnection:jar:3.12.12:compile
[DEBUG]             com.squareup.retrofit2:converter-jackson:jar:2.6.4:compile
[DEBUG]             com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.13.3:compile (version managed from default)
[DEBUG]             com.squareup.retrofit2:adapter-rxjava:jar:2.6.4:compile
[DEBUG]             com.microsoft.azure:azure-annotations:jar:1.10.0:compile
[DEBUG]       com.azure:azure-identity:jar:1.5.1:compile (version managed from default) (exclusions managed from default)
[DEBUG]          com.microsoft.azure:msal4j:jar:1.12.0:compile
[DEBUG]          com.microsoft.azure:msal4j-persistence-extension:jar:1.1.0:compile
[DEBUG]             net.java.dev.jna:jna:jar:5.5.0:compile
[DEBUG]          net.java.dev.jna:jna-platform:jar:5.6.0:compile
[DEBUG]       me.alexpanov:free-port-finder:jar:1.1.1:compile (version managed from default)
[DEBUG]       com.microsoft.azure:azure-toolkit-common-lib:jar:0.22.0:compile (version managed from default)
[DEBUG]          com.networknt:json-schema-validator:jar:1.0.70:compile (version managed from default) (exclusions managed from default)
[DEBUG]             com.ethlo.time:itu:jar:1.5.1:compile
[DEBUG]          org.aspectj:aspectjrt:jar:1.9.9.1:compile (version managed from default)
[DEBUG]          org.aspectj:aspectjweaver:jar:1.9.9.1:compile (version managed from default)
[DEBUG]          org.apache.commons:commons-exec:jar:1.3:compile (version managed from default)
[DEBUG]          commons-io:commons-io:jar:2.11.0:compile (version managed from default)
[DEBUG]          org.fusesource.jansi:jansi:jar:2.4.0:compile (version managed from default)
[DEBUG]          io.reactivex:rxjava:jar:1.3.8:compile (version managed from default)
[DEBUG]          org.jetbrains:annotations:jar:23.0.0:compile (version managed from default)
[DEBUG]          org.codehaus.groovy:groovy-templates:jar:3.0.11:compile (version managed from default)
[DEBUG]             org.codehaus.groovy:groovy:jar:3.0.11:compile
[DEBUG]             org.codehaus.groovy:groovy-xml:jar:3.0.11:runtime
[DEBUG]          org.apache.httpcomponents:httpclient:jar:4.5.13:compile (version managed from default)
[DEBUG]             org.apache.httpcomponents:httpcore:jar:4.4.15:compile (version managed from default)
[DEBUG]             commons-logging:commons-logging:jar:1.2:compile
[DEBUG]          com.azure.resourcemanager:azure-resourcemanager-resources:jar:2.15.0:compile (version managed from default)
[DEBUG]          com.microsoft.azure:applicationinsights-web:jar:2.6.4:compile (version managed from default)
[DEBUG]       org.apache.commons:commons-collections4:jar:4.4:compile (version managed from default)
[DEBUG]       io.jsonwebtoken:jjwt:jar:0.9.1:compile (version managed from default)
[DEBUG]       com.microsoft.azure:adal4j:jar:1.6.7:compile (version managed from default)
[DEBUG]          com.nimbusds:oauth2-oidc-sdk:jar:9.15:compile (version managed from default)
[DEBUG]             com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile
[DEBUG]             com.nimbusds:content-type:jar:2.1:compile
[DEBUG]             net.minidev:json-smart:jar:2.4.7:compile
[DEBUG]                net.minidev:accessors-smart:jar:2.4.7:compile
[DEBUG]             com.nimbusds:lang-tag:jar:1.5:compile
[DEBUG]             com.nimbusds:nimbus-jose-jwt:jar:9.9.3:compile (version managed from default)
[DEBUG]       com.fasterxml.jackson.core:jackson-databind:jar:2.13.3:compile (version managed from default)
[DEBUG]    com.microsoft.azure:azure-toolkit-appservice-lib:jar:0.22.0:compile
[DEBUG]       com.azure.resourcemanager:azure-resourcemanager-appservice:jar:2.15.0:compile (version managed from default)
[DEBUG]          com.azure.resourcemanager:azure-resourcemanager-storage:jar:2.15.0:compile (version managed from default)
[DEBUG]          com.azure.resourcemanager:azure-resourcemanager-msi:jar:2.15.0:compile
[DEBUG]             com.azure.resourcemanager:azure-resourcemanager-authorization:jar:2.15.0:compile
[DEBUG]          com.azure.resourcemanager:azure-resourcemanager-keyvault:jar:2.15.0:compile
[DEBUG]             com.azure:azure-security-keyvault-keys:jar:4.4.2:compile
[DEBUG]             com.azure:azure-security-keyvault-secrets:jar:4.4.2:compile
[DEBUG]          com.azure.resourcemanager:azure-resourcemanager-dns:jar:2.15.0:compile
[DEBUG]       com.microsoft.azure:azure-storage:jar:8.6.6:compile (version managed from default)
[DEBUG]          com.microsoft.azure:azure-keyvault-core:jar:1.2.4:compile
[DEBUG]       commons-codec:commons-codec:jar:1.15:compile (version managed from default)
[DEBUG]       org.zeroturnaround:zt-zip:jar:1.15:compile (version managed from default)
[DEBUG]       commons-net:commons-net:jar:3.8.0:compile (version managed from default)
[DEBUG]    com.microsoft.azure:azure-toolkit-applicationinsights-lib:jar:0.22.0:compile
[DEBUG]       org.projectlombok:lombok:jar:1.18.24:provided (scope managed from default) (version managed from default)
[DEBUG]       com.azure.resourcemanager:azure-resourcemanager-applicationinsights:jar:1.0.0-beta.4:compile (version managed from default)
[DEBUG]          com.azure:azure-core-management:jar:1.6.2:compile (version managed from default)
[DEBUG]    org.apache.maven:maven-plugin-api:jar:3.3.3:compile
[DEBUG]       org.apache.maven:maven-artifact:jar:3.3.3:provided (scope managed from default) (version managed from default)
[DEBUG]       org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.0:compile
[DEBUG]          javax.enterprise:cdi-api:jar:1.0:compile
[DEBUG]             javax.annotation:jsr250-api:jar:1.0:compile
[DEBUG]             javax.inject:javax.inject:jar:1:compile
[DEBUG]          org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.0:compile
[DEBUG]          org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[DEBUG]          org.codehaus.plexus:plexus-classworlds:jar:2.5.2:compile
[DEBUG]    org.apache.maven:maven-settings:jar:3.3.3:compile
[DEBUG]    org.apache.maven:maven-model:jar:3.3.3:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.4.2:compile
[DEBUG]    com.microsoft.azure:azure-maven-plugin-lib:jar:1.22.0:compile
[DEBUG]       org.apache.maven.shared:maven-filtering:jar:3.2.0:compile (version managed from default)
[DEBUG]          org.apache.maven:maven-core:jar:3.3.3:provided (scope managed from default) (version managed from default) (exclusions managed from default)
[DEBUG]             org.apache.maven:maven-settings-builder:jar:3.3.3:provided (version managed from default)
[DEBUG]                org.apache.maven:maven-builder-support:jar:3.3.3:provided
[DEBUG]             org.apache.maven:maven-repository-metadata:jar:3.3.3:provided
[DEBUG]             org.apache.maven:maven-model-builder:jar:3.3.3:test (scope managed from default) (version managed from default)
[DEBUG]             org.apache.maven:maven-aether-provider:jar:3.3.3:provided
[DEBUG]                org.eclipse.aether:aether-spi:jar:1.0.2.v20150114:provided
[DEBUG]             org.eclipse.aether:aether-impl:jar:1.0.2.v20150114:provided
[DEBUG]             org.eclipse.aether:aether-api:jar:1.0.2.v20150114:provided
[DEBUG]             org.eclipse.aether:aether-util:jar:1.0.2.v20150114:provided
[DEBUG]             org.sonatype.sisu:sisu-guice:jar:no_aop:3.2.5:provided
[DEBUG]                aopalliance:aopalliance:jar:1.0:provided
[DEBUG]             org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:provided
[DEBUG]                org.sonatype.plexus:plexus-cipher:jar:1.4:provided
[DEBUG]          org.apache.maven.shared:maven-shared-utils:jar:3.3.4:compile (version managed from default)
[DEBUG]          org.codehaus.plexus:plexus-interpolation:jar:1.26:compile (version managed from default)
[DEBUG]          org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
[DEBUG]       com.microsoft.azure:applicationinsights-core:jar:2.6.4:compile (version managed from default)
[DEBUG]       org.beryx:text-io:jar:3.4.1:compile (version managed from default)
[DEBUG]          jline:jline:jar:2.14.6:runtime
[DEBUG]          org.beryx:awt-color-factory:jar:1.0.1:runtime
[DEBUG]       jakarta.xml.bind:jakarta.xml.bind-api:jar:3.0.1:compile (version managed from default)
[DEBUG]          com.sun.activation:jakarta.activation:jar:2.0.1:compile
[DEBUG]       org.glassfish.jaxb:jaxb-runtime:jar:3.0.2:compile (version managed from default)
[DEBUG]          org.glassfish.jaxb:jaxb-core:jar:3.0.2:compile
[DEBUG]             org.glassfish.jaxb:txw2:jar:3.0.2:compile
[DEBUG]             com.sun.istack:istack-commons-runtime:jar:4.0.1:compile
[DEBUG]       org.dom4j:dom4j:jar:2.1.3:compile (version managed from default)
[DEBUG]       org.jtwig:jtwig-core:jar:5.87.0.RELEASE:compile (version managed from default) (exclusions managed from default)
[DEBUG]          org.jtwig:jtwig-reflection:jar:5.87.0.RELEASE:compile
[DEBUG]          org.parboiled:parboiled-java:jar:1.1.7:compile
[DEBUG]             org.parboiled:parboiled-core:jar:1.1.7:compile
[DEBUG]             org.ow2.asm:asm:jar:9.3:compile (version managed from default)
[DEBUG]             org.ow2.asm:asm-tree:jar:5.0.3:compile
[DEBUG]             org.ow2.asm:asm-analysis:jar:5.0.3:compile
[DEBUG]             org.ow2.asm:asm-util:jar:5.0.3:compile
[DEBUG]          com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.4.2:compile
[DEBUG]       com.github.java-json-tools:json-schema-validator:jar:2.2.14:compile (version managed from default) (exclusions managed from default)
[DEBUG]          com.github.java-json-tools:jackson-coreutils-equivalence:jar:1.0:compile
[DEBUG]             com.github.java-json-tools:jackson-coreutils:jar:2.0:compile
[DEBUG]                com.github.java-json-tools:msg-simple:jar:1.2:compile
[DEBUG]                   com.github.java-json-tools:btf:jar:1.3:compile
[DEBUG]          com.github.java-json-tools:json-schema-core:jar:1.2.14:compile
[DEBUG]             com.github.java-json-tools:uri-template:jar:0.10:compile
[DEBUG]             org.mozilla:rhino:jar:1.7.7.2:compile
[DEBUG]          com.sun.mail:mailapi:jar:1.6.2:compile
[DEBUG]          joda-time:joda-time:jar:2.10.14:compile (version managed from default)
[DEBUG]          com.googlecode.libphonenumber:libphonenumber:jar:8.11.1:compile
[DEBUG]          net.sf.jopt-simple:jopt-simple:jar:5.0.4:compile
[DEBUG]    com.microsoft.azure:azure-appservice-maven-plugin-lib:jar:1.22.0:compile
[DEBUG]       org.apache.maven.plugin-tools:maven-plugin-annotations:jar:3.3:provided (scope managed from default) (version managed from default)
[DEBUG]    org.reflections:reflections:jar:0.10.2:compile
[DEBUG]       org.javassist:javassist:jar:3.28.0-GA:compile
[DEBUG]       org.slf4j:slf4j-api:jar:1.7.36:compile (version managed from default)
[DEBUG]    com.github.zafarkhaja:java-semver:jar:0.9.0:compile
[DEBUG]    org.jacoco:org.jacoco.agent:jar:runtime:0.8.8:compile
[DEBUG] Created new class realm plugin>com.microsoft.azure:azure-functions-maven-plugin:1.19.0
[DEBUG] Importing foreign packages into class realm plugin>com.microsoft.azure:azure-functions-maven-plugin:1.19.0
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>com.microsoft.azure:azure-functions-maven-plugin:1.19.0
[DEBUG]   Included: com.microsoft.azure:azure-functions-maven-plugin:jar:1.19.0
[DEBUG]   Included: io.projectreactor.netty:reactor-netty:jar:1.0.18
[DEBUG]   Included: io.projectreactor.netty:reactor-netty-core:jar:1.0.18
[DEBUG]   Included: io.netty:netty-resolver-dns:jar:4.1.75.Final
[DEBUG]   Included: io.netty:netty-codec-dns:jar:4.1.75.Final
[DEBUG]   Included: io.netty:netty-resolver-dns-native-macos:jar:osx-x86_64:4.1.75.Final
[DEBUG]   Included: io.netty:netty-resolver-dns-classes-macos:jar:4.1.75.Final
[DEBUG]   Included: io.projectreactor:reactor-core:jar:3.4.18
[DEBUG]   Included: org.reactivestreams:reactive-streams:jar:1.0.3
[DEBUG]   Included: io.projectreactor.netty:reactor-netty-http:jar:1.0.18
[DEBUG]   Included: io.projectreactor.netty.incubator:reactor-netty-incubator-quic:jar:0.0.7
[DEBUG]   Included: io.netty.incubator:netty-incubator-codec-native-quic:jar:linux-x86_64:0.0.26.Final
[DEBUG]   Included: io.netty.incubator:netty-incubator-codec-classes-quic:jar:0.0.26.Final
[DEBUG]   Included: io.projectreactor.netty:reactor-netty-http-brave:jar:1.0.18
[DEBUG]   Included: io.zipkin.brave:brave-instrumentation-http:jar:5.13.8
[DEBUG]   Included: io.zipkin.brave:brave:jar:5.13.8
[DEBUG]   Included: io.zipkin.reporter2:zipkin-reporter-brave:jar:2.16.3
[DEBUG]   Included: io.zipkin.reporter2:zipkin-reporter:jar:2.16.3
[DEBUG]   Included: io.zipkin.zipkin2:zipkin:jar:2.23.2
[DEBUG]   Included: com.azure:azure-core-http-netty:jar:1.12.2
[DEBUG]   Included: com.azure:azure-core:jar:1.29.1
[DEBUG]   Included: com.fasterxml.jackson.core:jackson-annotations:jar:2.13.3
[DEBUG]   Included: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.13.3
[DEBUG]   Included: com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.13.3
[DEBUG]   Included: org.codehaus.woodstox:stax2-api:jar:4.2.1
[DEBUG]   Included: com.fasterxml.woodstox:woodstox-core:jar:6.2.7
[DEBUG]   Included: io.netty:netty-handler:jar:4.1.76.Final
[DEBUG]   Included: io.netty:netty-common:jar:4.1.76.Final
[DEBUG]   Included: io.netty:netty-resolver:jar:4.1.76.Final
[DEBUG]   Included: io.netty:netty-transport:jar:4.1.76.Final
[DEBUG]   Included: io.netty:netty-codec:jar:4.1.76.Final
[DEBUG]   Included: io.netty:netty-handler-proxy:jar:4.1.76.Final
[DEBUG]   Included: io.netty:netty-codec-socks:jar:4.1.76.Final
[DEBUG]   Included: io.netty:netty-buffer:jar:4.1.76.Final
[DEBUG]   Included: io.netty:netty-codec-http:jar:4.1.76.Final
[DEBUG]   Included: io.netty:netty-codec-http2:jar:4.1.76.Final
[DEBUG]   Included: io.netty:netty-transport-native-unix-common:jar:4.1.76.Final
[DEBUG]   Included: io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.76.Final
[DEBUG]   Included: io.netty:netty-transport-classes-epoll:jar:4.1.76.Final
[DEBUG]   Included: io.netty:netty-transport-native-kqueue:jar:osx-x86_64:4.1.76.Final
[DEBUG]   Included: io.netty:netty-transport-classes-kqueue:jar:4.1.76.Final
[DEBUG]   Included: io.netty:netty-tcnative-boringssl-static:jar:2.0.51.Final
[DEBUG]   Included: io.netty:netty-tcnative-classes:jar:2.0.51.Final
[DEBUG]   Included: io.netty:netty-tcnative-boringssl-static:jar:linux-x86_64:2.0.51.Final
[DEBUG]   Included: io.netty:netty-tcnative-boringssl-static:jar:linux-aarch_64:2.0.51.Final
[DEBUG]   Included: io.netty:netty-tcnative-boringssl-static:jar:osx-x86_64:2.0.51.Final
[DEBUG]   Included: io.netty:netty-tcnative-boringssl-static:jar:osx-aarch_64:2.0.51.Final
[DEBUG]   Included: io.netty:netty-tcnative-boringssl-static:jar:windows-x86_64:2.0.51.Final
[DEBUG]   Included: com.microsoft.azure:azure-toolkit-auth-lib:jar:0.22.0
[DEBUG]   Included: org.apache.commons:commons-lang3:jar:3.12.0
[DEBUG]   Included: com.google.code.gson:gson:jar:2.9.0
[DEBUG]   Included: com.google.guava:guava:jar:31.1-jre
[DEBUG]   Included: com.google.guava:failureaccess:jar:1.0.1
[DEBUG]   Included: com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava
[DEBUG]   Included: org.checkerframework:checker-qual:jar:3.12.0
[DEBUG]   Included: com.google.j2objc:j2objc-annotations:jar:1.3
[DEBUG]   Included: com.google.code.findbugs:jsr305:jar:3.0.2
[DEBUG]   Included: com.fasterxml.jackson.core:jackson-core:jar:2.13.3
[DEBUG]   Included: com.microsoft.azure:azure-client-runtime:jar:1.7.14
[DEBUG]   Included: com.microsoft.rest:client-runtime:jar:1.7.14
[DEBUG]   Included: com.squareup.retrofit2:retrofit:jar:2.6.4
[DEBUG]   Included: com.squareup.okhttp3:okhttp:jar:3.12.12
[DEBUG]   Included: com.squareup.okio:okio:jar:1.15.0
[DEBUG]   Included: com.squareup.okhttp3:logging-interceptor:jar:3.12.12
[DEBUG]   Included: com.squareup.okhttp3:okhttp-urlconnection:jar:3.12.12
[DEBUG]   Included: com.squareup.retrofit2:converter-jackson:jar:2.6.4
[DEBUG]   Included: com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.13.3
[DEBUG]   Included: com.squareup.retrofit2:adapter-rxjava:jar:2.6.4
[DEBUG]   Included: com.microsoft.azure:azure-annotations:jar:1.10.0
[DEBUG]   Included: com.azure:azure-identity:jar:1.5.1
[DEBUG]   Included: com.microsoft.azure:msal4j:jar:1.12.0
[DEBUG]   Included: com.microsoft.azure:msal4j-persistence-extension:jar:1.1.0
[DEBUG]   Included: net.java.dev.jna:jna:jar:5.5.0
[DEBUG]   Included: net.java.dev.jna:jna-platform:jar:5.6.0
[DEBUG]   Included: me.alexpanov:free-port-finder:jar:1.1.1
[DEBUG]   Included: com.microsoft.azure:azure-toolkit-common-lib:jar:0.22.0
[DEBUG]   Included: com.networknt:json-schema-validator:jar:1.0.70
[DEBUG]   Included: com.ethlo.time:itu:jar:1.5.1
[DEBUG]   Included: org.aspectj:aspectjrt:jar:1.9.9.1
[DEBUG]   Included: org.aspectj:aspectjweaver:jar:1.9.9.1
[DEBUG]   Included: org.apache.commons:commons-exec:jar:1.3
[DEBUG]   Included: commons-io:commons-io:jar:2.11.0
[DEBUG]   Included: io.reactivex:rxjava:jar:1.3.8
[DEBUG]   Included: org.jetbrains:annotations:jar:23.0.0
[DEBUG]   Included: org.codehaus.groovy:groovy-templates:jar:3.0.11
[DEBUG]   Included: org.codehaus.groovy:groovy:jar:3.0.11
[DEBUG]   Included: org.codehaus.groovy:groovy-xml:jar:3.0.11
[DEBUG]   Included: org.apache.httpcomponents:httpclient:jar:4.5.13
[DEBUG]   Included: org.apache.httpcomponents:httpcore:jar:4.4.15
[DEBUG]   Included: commons-logging:commons-logging:jar:1.2
[DEBUG]   Included: com.azure.resourcemanager:azure-resourcemanager-resources:jar:2.15.0
[DEBUG]   Included: com.microsoft.azure:applicationinsights-web:jar:2.6.4
[DEBUG]   Included: org.apache.commons:commons-collections4:jar:4.4
[DEBUG]   Included: io.jsonwebtoken:jjwt:jar:0.9.1
[DEBUG]   Included: com.microsoft.azure:adal4j:jar:1.6.7
[DEBUG]   Included: com.nimbusds:oauth2-oidc-sdk:jar:9.15
[DEBUG]   Included: com.github.stephenc.jcip:jcip-annotations:jar:1.0-1
[DEBUG]   Included: com.nimbusds:content-type:jar:2.1
[DEBUG]   Included: net.minidev:json-smart:jar:2.4.7
[DEBUG]   Included: net.minidev:accessors-smart:jar:2.4.7
[DEBUG]   Included: com.nimbusds:lang-tag:jar:1.5
[DEBUG]   Included: com.nimbusds:nimbus-jose-jwt:jar:9.9.3
[DEBUG]   Included: com.fasterxml.jackson.core:jackson-databind:jar:2.13.3
[DEBUG]   Included: com.microsoft.azure:azure-toolkit-appservice-lib:jar:0.22.0
[DEBUG]   Included: com.azure.resourcemanager:azure-resourcemanager-appservice:jar:2.15.0
[DEBUG]   Included: com.azure.resourcemanager:azure-resourcemanager-storage:jar:2.15.0
[DEBUG]   Included: com.azure.resourcemanager:azure-resourcemanager-msi:jar:2.15.0
[DEBUG]   Included: com.azure.resourcemanager:azure-resourcemanager-authorization:jar:2.15.0
[DEBUG]   Included: com.azure.resourcemanager:azure-resourcemanager-keyvault:jar:2.15.0
[DEBUG]   Included: com.azure:azure-security-keyvault-keys:jar:4.4.2
[DEBUG]   Included: com.azure:azure-security-keyvault-secrets:jar:4.4.2
[DEBUG]   Included: com.azure.resourcemanager:azure-resourcemanager-dns:jar:2.15.0
[DEBUG]   Included: com.microsoft.azure:azure-storage:jar:8.6.6
[DEBUG]   Included: com.microsoft.azure:azure-keyvault-core:jar:1.2.4
[DEBUG]   Included: commons-codec:commons-codec:jar:1.15
[DEBUG]   Included: org.zeroturnaround:zt-zip:jar:1.15
[DEBUG]   Included: commons-net:commons-net:jar:3.8.0
[DEBUG]   Included: com.microsoft.azure:azure-toolkit-applicationinsights-lib:jar:0.22.0
[DEBUG]   Included: com.azure.resourcemanager:azure-resourcemanager-applicationinsights:jar:1.0.0-beta.4
[DEBUG]   Included: com.azure:azure-core-management:jar:1.6.2
[DEBUG]   Included: javax.enterprise:cdi-api:jar:1.0
[DEBUG]   Included: javax.annotation:jsr250-api:jar:1.0
[DEBUG]   Included: org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.0
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.4.2
[DEBUG]   Included: com.microsoft.azure:azure-maven-plugin-lib:jar:1.22.0
[DEBUG]   Included: org.apache.maven.shared:maven-filtering:jar:3.2.0
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:3.3.4
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.26
[DEBUG]   Included: org.sonatype.plexus:plexus-build-api:jar:0.0.7
[DEBUG]   Included: com.microsoft.azure:applicationinsights-core:jar:2.6.4
[DEBUG]   Included: org.beryx:text-io:jar:3.4.1
[DEBUG]   Included: jline:jline:jar:2.14.6
[DEBUG]   Included: org.beryx:awt-color-factory:jar:1.0.1
[DEBUG]   Included: jakarta.xml.bind:jakarta.xml.bind-api:jar:3.0.1
[DEBUG]   Included: com.sun.activation:jakarta.activation:jar:2.0.1
[DEBUG]   Included: org.glassfish.jaxb:jaxb-runtime:jar:3.0.2
[DEBUG]   Included: org.glassfish.jaxb:jaxb-core:jar:3.0.2
[DEBUG]   Included: org.glassfish.jaxb:txw2:jar:3.0.2
[DEBUG]   Included: com.sun.istack:istack-commons-runtime:jar:4.0.1
[DEBUG]   Included: org.dom4j:dom4j:jar:2.1.3
[DEBUG]   Included: org.jtwig:jtwig-core:jar:5.87.0.RELEASE
[DEBUG]   Included: org.jtwig:jtwig-reflection:jar:5.87.0.RELEASE
[DEBUG]   Included: org.parboiled:parboiled-java:jar:1.1.7
[DEBUG]   Included: org.parboiled:parboiled-core:jar:1.1.7
[DEBUG]   Included: org.ow2.asm:asm:jar:9.3
[DEBUG]   Included: org.ow2.asm:asm-tree:jar:5.0.3
[DEBUG]   Included: org.ow2.asm:asm-analysis:jar:5.0.3
[DEBUG]   Included: org.ow2.asm:asm-util:jar:5.0.3
[DEBUG]   Included: com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.4.2
[DEBUG]   Included: com.github.java-json-tools:json-schema-validator:jar:2.2.14
[DEBUG]   Included: com.github.java-json-tools:jackson-coreutils-equivalence:jar:1.0
[DEBUG]   Included: com.github.java-json-tools:jackson-coreutils:jar:2.0
[DEBUG]   Included: com.github.java-json-tools:msg-simple:jar:1.2
[DEBUG]   Included: com.github.java-json-tools:btf:jar:1.3
[DEBUG]   Included: com.github.java-json-tools:json-schema-core:jar:1.2.14
[DEBUG]   Included: com.github.java-json-tools:uri-template:jar:0.10
[DEBUG]   Included: org.mozilla:rhino:jar:1.7.7.2
[DEBUG]   Included: com.sun.mail:mailapi:jar:1.6.2
[DEBUG]   Included: joda-time:joda-time:jar:2.10.14
[DEBUG]   Included: com.googlecode.libphonenumber:libphonenumber:jar:8.11.1
[DEBUG]   Included: net.sf.jopt-simple:jopt-simple:jar:5.0.4
[DEBUG]   Included: com.microsoft.azure:azure-appservice-maven-plugin-lib:jar:1.22.0
[DEBUG]   Included: org.reflections:reflections:jar:0.10.2
[DEBUG]   Included: org.javassist:javassist:jar:3.28.0-GA
[DEBUG]   Included: com.github.zafarkhaja:java-semver:jar:0.9.0
[DEBUG]   Included: org.jacoco:org.jacoco.agent:jar:runtime:0.8.8
[DEBUG] Configuring mojo com.microsoft.azure:azure-functions-maven-plugin:1.19.0:run from plugin realm ClassRealm[plugin>com.microsoft.azure:azure-functions-maven-plugin:1.19.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@22d8cfe0]
[DEBUG] Configuring mojo 'com.microsoft.azure:azure-functions-maven-plugin:1.19.0:run' with basic configurator -->
[DEBUG]   (f) allowTelemetry = true
[DEBUG]   (f) appName = poc-pdfbox
[DEBUG]   (f) appServicePlanName = foo
[DEBUG]   (f) appSettings = {FUNCTIONS_EXTENSION_VERSION=~4}
[DEBUG]   (f) auth = com.microsoft.azure.maven.model.MavenAuthConfiguration@3c3820bb
[DEBUG]   (f) buildDirectory = /Users/brandonros/Desktop/poc-pdfbox/target
[DEBUG]   (f) disableAppInsights = false
[DEBUG]   (f) failsOnError = true
[DEBUG]   (f) finalName = poc-pdfbox-1.0-SNAPSHOT
[DEBUG]   (s) localDebugConfig = transport=dt_socket,server=y,suspend=n,address=5005
[DEBUG]   (f) outputDirectory = /Users/brandonros/Desktop/poc-pdfbox/target/classes
[DEBUG]   (f) plugin = Component Descriptor: role: 'org.apache.maven.plugin.Mojo', implementation: 'com.microsoft.azure.maven.function.AddMojo', role hint: 'com.microsoft.azure:azure-functions-maven-plugin:1.19.0:add'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.microsoft.azure.maven.function.DeployMojo', role hint: 'com.microsoft.azure:azure-functions-maven-plugin:1.19.0:deploy'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.microsoft.azure.maven.function.HelpMojo', role hint: 'com.microsoft.azure:azure-functions-maven-plugin:1.19.0:help'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.microsoft.azure.maven.function.ListMojo', role hint: 'com.microsoft.azure:azure-functions-maven-plugin:1.19.0:list'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.microsoft.azure.maven.function.PackageMojo', role hint: 'com.microsoft.azure:azure-functions-maven-plugin:1.19.0:package'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.microsoft.azure.maven.function.RunMojo', role hint: 'com.microsoft.azure:azure-functions-maven-plugin:1.19.0:run'
---
[DEBUG]   (f) pricingTier = S1
[DEBUG]   (f) project = MavenProject: com.foo.cbs:poc-pdfbox:1.0-SNAPSHOT @ /Users/brandonros/Desktop/poc-pdfbox/pom.xml
[DEBUG]   (f) region = westus
[DEBUG]   (f) resourceGroup = foo
[DEBUG]   (s) os = linux
[DEBUG]   (s) javaVersion = 8
[DEBUG]   (f) runtime = com.microsoft.azure.toolkit.lib.legacy.function.configurations.RuntimeConfiguration@169268a7
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@285c6918
[DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@78a0ff63
[DEBUG]   (f) skip = false
[DEBUG] -- end configuration --
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  6.273 s
[INFO] Finished at: 2022-08-23T13:53:41-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.microsoft.azure:azure-functions-maven-plugin:1.19.0:run (default-cli) on project poc-pdfbox: Stage directory not found. Please run mvn package first. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.microsoft.azure:azure-functions-maven-plugin:1.19.0:run (default-cli) on project poc-pdfbox: Stage directory not found. Please run mvn package first.
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:78)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:567)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: Stage directory not found. Please run mvn package first.
    at com.microsoft.azure.maven.AbstractAzureMojo.onMojoError (AbstractAzureMojo.java:613)
    at com.microsoft.azure.maven.AbstractAzureMojo.execute (AbstractAzureMojo.java:532)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:78)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:567)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException: Stage directory not found. Please run mvn package first.
    at com.microsoft.azure.maven.function.RunMojo.checkStageDirectoryExistence (RunMojo.java:87)
    at com.microsoft.azure.maven.function.RunMojo.doExecute (RunMojo.java:75)
    at com.microsoft.azure.maven.AbstractAzureMojo.execute (AbstractAzureMojo.java:527)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:78)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:567)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
brandonros commented 2 years ago

Just had to move/clean some stuff out of pom.xml

<?xml version="1.0" encoding="UTF-8"?>

<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>

  <groupId>com.foo.cbs</groupId>
  <artifactId>poc-pdfbox</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>jar</packaging>

  <name>poc-pdfbox</name>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <java.version>1.8</java.version>
    <azure.functions.maven.plugin.version>1.19.0</azure.functions.maven.plugin.version>
    <azure.functions.java.library.version>2.0.1</azure.functions.java.library.version>
    <functionAppName>poc-pdfbox</functionAppName>
    <resourceGroup>java-functions-group</resourceGroup>
    <appServicePlan>java-functions-app-service-plan</appServicePlan>
    <runtimeOs>linux</runtimeOs>
    <pricingTier>S1</pricingTier>
    <functionAppRegion>westus</functionAppRegion>
  </properties>

  <dependencies>
    <dependency>
        <groupId>com.microsoft.azure.functions</groupId>
        <artifactId>azure-functions-java-library</artifactId>
        <version>${azure.functions.java.library.version}</version>
    </dependency>
    <dependency>
        <groupId>org.apache.pdfbox</groupId>
        <artifactId>pdfbox</artifactId>
        <version>2.0.26</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.11</version>
      <scope>test</scope>
    </dependency>

  </dependencies>

  <build>
    <plugins>
      <!-- compiler -->
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.8.1</version>
        <configuration>
            <source>${java.version}</source>
            <target>${java.version}</target>
            <encoding>${project.build.sourceEncoding}</encoding>
        </configuration>
      </plugin>
      <!-- function app -->
      <plugin>
          <groupId>com.microsoft.azure</groupId>
          <artifactId>azure-functions-maven-plugin</artifactId>
          <version>${azure.functions.maven.plugin.version}</version>
          <configuration>
            <appName>${functionAppName}</appName>
            <resourceGroup>${resourceGroup}</resourceGroup>
            <appServicePlanName>${appServicePlan}</appServicePlanName>
            <region>${functionAppRegion}</region>
            <pricingTier>${pricingTier}</pricingTier>
            <runtime>
              <os>${runtimeOs}</os>
              <javaVersion>8</javaVersion>
            </runtime>
            <appSettings>
              <property>
                  <name>FUNCTIONS_EXTENSION_VERSION</name>
                  <value>~4</value>
              </property>
          </appSettings>
         </configuration>
         <executions>
            <execution>
                <id>package-functions</id>
                <goals>
                    <goal>package</goal>
                </goals>
            </execution>
        </executions>
      </plugin>
      <!-- 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>

worked