title: Allure Framework: using @Step and @Attachment annotations with TestNG and Maven
body: <p>I am working on a project that uses <a href="https://github.com/allure-framework/" rel="nofollow">Allure framework</a> with Java, TestNG and Maven.
  But I'm unable to generate correct XML files while using Allure @Step and @Attachment annotations in my Java program. Any sample code demonstrating usage of the above annotations is appreciated.
  I am using Allure 1.4.0.RC8.</p>