you cannot create xslt report in maven either you have to use Ant or use extent report.
1. go to this link <http://relevantcodes.com/testng-listener-using-extentreports/>
2. create class "ExtentReporterNG". This is Listener class and put second block code in it from upper link and save it.
3. put ExtentReporterNG this listener in your testneg.xml. change package name with your package name.
<listeners>
<listener class-name="package.ExtentReporterNG" />
</listeners>
4. Add dependency in you POM.xml
<!-- Extent Reports -->
<dependency>
<groupId>com.relevantcodes</groupId>
<artifactId>extentreports</artifactId>
<version>2.04</version>
</dependency>
5. now open cmd prompt and go to your project location and run command "mvn compile" and after it run "mvn package"
6. go in eclipse and refresh your project and run your testng.xml
7. after running refresh your project and check report in test output folder.
8. a folder generate with your class name. check extent.html in it and open this in web browser.
Thank you so much. Will try shortly....
Also please provide me the link to download poi jars and jars to generate xslt report using ANT
http://www.java2s.com/Code/Jar/s/Downloadsaxon9108jar.htm
http://www.java2s.com/Code/Jar/s/Downloadsaxon9108sourcesjar.htm
http://www.apache.org/dyn/closer.lua/poi/release/bin/poi-bin-3.13-20150929.tar.gz
Awesome!! U r the best. Thanks for quick reply!!
BTW...I learned a lot from your videos!! I almost became automation (selenium) pro at work!!
Thank you so much.
Hope to see you come up with API Data-driven framework using RestAssured and Java (Not soupUI)