{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/azure-maven-plugins/issues/328","repository_url":"https://api.github.com/repos/Microsoft/azure-maven-plugins","labels_url":"https://api.github.com/repos/Microsoft/azure-maven-plugins/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/azure-maven-plugins/issues/328/comments","events_url":"https://api.github.com/repos/Microsoft/azure-maven-plugins/issues/328/events","html_url":"https://github.com/Microsoft/azure-maven-plugins/issues/328","id":348298289,"node_id":"MDU6SXNzdWUzNDgyOTgyODk=","number":328,"title":"Staging directory: '...\\target\\...\"is empty when deploy to Web App on Linux","user":{"login":"sallyur","id":28860891,"node_id":"MDQ6VXNlcjI4ODYwODkx","avatar_url":"https://avatars3.githubusercontent.com/u/28860891?v=4","gravatar_id":"","url":"https://api.github.com/users/sallyur","html_url":"https://github.com/sallyur","followers_url":"https://api.github.com/users/sallyur/followers","following_url":"https://api.github.com/users/sallyur/following{/other_user}","gists_url":"https://api.github.com/users/sallyur/gists{/gist_id}","starred_url":"https://api.github.com/users/sallyur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sallyur/subscriptions","organizations_url":"https://api.github.com/users/sallyur/orgs","repos_url":"https://api.github.com/users/sallyur/repos","events_url":"https://api.github.com/users/sallyur/events{/privacy}","received_events_url":"https://api.github.com/users/sallyur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-07T12:25:16Z","updated_at":"2018-08-08T05:00:24Z","closed_at":"2018-08-08T05:00:24Z","author_association":"NONE","body":"### Plugin name and version\r\nMaven plugin for azure web apps 1.4.0-SNAPSHOT\r\n### Plugin configuration in your `pom.xml`\r\n```\r\n<plugin>\r\n<groupId>com.microsoft.azure</groupId>\r\n<artifactId>azure-webapp-maven-plugin</artifactId>\r\n<version>1.4.0-SNAPSHOT</version>\r\n<configuration>\r\n<!-- Referencing <serverId> in Maven's settings.xml to authenticate with Azure -->\r\n<authentication>\r\n<serverId>azure-auth</serverId>\r\n</authentication>\r\n<!-- Web App information -->\r\n<resourceGroup>sallyverifylast</resourceGroup>\r\n<appName>sallyverifylast</appName>\r\n<!-- Deploy Web App to the existing App Service Plan --> \r\n<appServicePlanResourceGroup>sallyverifylast</appServicePlanResourceGroup>\r\n<appServicePlanName>sallyverifylast</appServicePlanName>\r\n<!-- <region> and <pricingTier> are optional. They will be used when creating new App Service Plan -->\r\n<region>eastus</region>\r\n<pricingTier>S1</pricingTier>\r\n<!-- Java Runtime Stack for Web App on Linux-->\r\n<linuxRuntime>tomcat 9.0-jre8</linuxRuntime>\r\n<!-- FTP deployment -->\r\n<deploymentType>zip</deploymentType>\r\n<!-- Resources to be deployed to your Web App -->\r\n<!-- <resources>\r\n<resource> -->\r\n<!-- Where your artifacts are stored -->\r\n<!-- <directory>${project.basedir}/target</directory> -->\r\n<!-- Relative path to /site/wwwroot/ -->\r\n<!-- <targetPath>webapps</targetPath>\r\n<includes>\r\n<include>*.war</include>\r\n</includes>\r\n</resource>\r\n</resources> -->\r\n<!-- WAR deployment -->\r\n<!-- <deploymentType>ftp</deploymentType> -->\r\n<!-- Specify the war file location, optional if the war file location is: ${project.build.directory}/${project.build.finalName}.war -->\r\n<!-- <warFile>webapp1.war</warFile> -->\r\n<!-- Specify context path, optional if you want to deploy to ROOT -->\r\n<!-- <path>/${project.build.finalName}/web11</path> -->\r\n<!-- Application Settings of your Web App -->\r\n<appSettings>\r\n<property>\r\n<name>test2</name>\r\n<value>test2</value>\r\n</property>\r\n</appSettings>\r\n</configuration>\r\n</plugin> \r\n```\r\n\r\n### Expected behavior\r\nBuild success and no error message\r\n### Actual behavior\r\nError in terminal window:\r\n![image](https://user-images.githubusercontent.com/28860891/43775276-b3cfca72-9a7e-11e8-8ca2-e04ab24da601.png)\r\n\r\n### Steps to reproduce the problem\r\n\r\n1. Prepare a webapp maven project with neweast maven plugin version\r\n2. Deploy to Web App on Linux\r\n3. Set deployment type \"ftp\" or \"zip\"\r\n4. mvn clean package\r\n5. mvn azure-webapp:deploy"}}
{"actor":{"display_login":"SummerSun"}}