# Run tests and generate .xml reports
mvn clean test
# Convert .xml reports into .html report, but without the CSS or images
mvn surefire-report:report-only
# Put the CSS and images where they need to be without the rest of the
# time-consuming stuff
mvn site -DgenerateReports=false
Go to target/site/surefire-report.html for the report.
Showing posts with label maven. Show all posts
Showing posts with label maven. Show all posts
Sunday, November 2, 2014
Friday, April 18, 2014
Maven - Start a new java project
mvn archetyp:generate
Group, ArtefactId, Version
mvn eclipse:eclipse
Then in Eclipse, you can import the Project:
Or you can create the Maven project directly in Eclipse:
File > New > Other... > Maven > Maven Project > Next > Next :
Group, ArtefactId, Version
Group, ArtefactId, Version
mvn eclipse:eclipse
Then in Eclipse, you can import the Project:
File > Import > Maven > Existing Maven Projects > Next > Browse to the Root Directory > Select the pom.xml > Finish
Or you can create the Maven project directly in Eclipse:
File > New > Other... > Maven > Maven Project > Next > Next :
Group, ArtefactId, Version
Subscribe to:
Posts (Atom)