1

I am trying to set up Allure reports in my automation project. I am following - https://github.com/allure-framework/allure-core/wiki/TestNG, but the http://localhost:8080 only shows "Directory: /" text. I also found Unable to Deploy Allure report on Jetty server had the same problem but the solution there didn't help.

Community
  • 1
  • 1
hifzur
  • 193
  • 3
  • 10
  • Here is the [pom.xml](https://drive.google.com/open?id=0B2kK0Mk0C_6US1lOcHpuZEs4TUk) – hifzur Sep 22 '16 at 10:43
  • This is the output I get on running [mvn site](https://drive.google.com/open?id=0B2kK0Mk0C_6UZWhrNndwRkpJb2s) – hifzur Sep 22 '16 at 10:49
  • Use [edit] to provide additional information and include the files directly in your question instead of linking to an external hoster. – Sven Schoenung Sep 22 '16 at 10:54
  • @SvenSchoenung thanks for the info, I couldn't find how to edit after posting a question. – hifzur Sep 22 '16 at 16:38

1 Answers1

1

Looks like you have wrong site path for jetty, try to change jetty parameter from:

<webAppSourceDirectory>${project.basedir}/site/allure-maven-plugin</webAppSourceDirectory> to

<webAppSourceDirectory>${project.build.directory}/site/allure-maven-plugin</webAppSourceDirectory>