maven


Maven Surefire report is overwriting previous report


Every time i'm executing my tests using maven it write the results over the previous results...
is there a way to generate the outputs on a folder with timestamp? or any other solution?
You can personalize the report name in your plugin configuration:
<project>
[...]
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.20</version>
<configuration>
<outputName>desired_name</outputName>
</configuration>
</plugin>
</plugins>
</reporting>
[...]
</project>
You can then concatenate a name with the timestamp in your pom: ${maven.build.timestamp}
Taken from here.
Additionally, you can also specify the output folder of your report. It is all there in the plugin documentation page.

Related Links

cargo-maven2-plugin debug timeout
Spring Boot Deployment on Tomcat7 and Log4 issue
I have issues to create a second jar artifact with Maven jar plugin
Maven 3.3 doesn't verify parent artifact version
Maven Goal(s) Failing to Execute
Maven - dynamically creating a map, and referring to it
How to create Maven Jar file when tests contain JUnit #Test annotations and no main class
How to determine when cmds in docker exec complete
Only 1 test class is running and TestNG execution hangs
Zip file empty using maven assembly plugin in pom
Jenkins deploying artifacts to Artifactory. maven-metadata.xml shows incorrect version for release and does not show versions for snapshot
How to restore artifacts in Jenkins multibranch job?
How to get the currently processed dependencys artefactid during process-resources
how do I get maven to tell me what jar it would build without building it?
1.0.0-SNAPSHOT in two Nexus repositories of one group
Failure to find org.jenkins-ci.plugins:plugin:pom:2.11 in https://repo.maven.apache.org/maven2

Categories

HOME
image
debugging
urbancode
isabelle
kde
plot
stock
raspberry-pi
lodash
q
youtube-api-v3
angular-ui-bootstrap
slick-slider
windows-10-universal
handsontable
circuit
serverless-framework
after-effects
jsdoc
lldb
scriptcs
google-search-api
cultureinfo
hammerspoon
emgucv
one-to-many
javacv
facet
facebook-access-token
fgetcsv
strncpy
buck
unboundid
bcd
binary-data
http-status-code-503
.net-4.0
xquery-3.0
ioio
lxd
avcapturesession
google-api-nodejs-client
jmonkeyengine
main
scaffold
xenforo
reportbuilder
texmaker
arena-simulation
no-www
gpx
reactive-cocoa-5
executenonquery
flickr-api
youcompleteme
boost-multi-index
python-webbrowser
rdfs
tropo
forever
android-cursor
namecoin
sqldf
titanium-android
chord-diagram
watchconnectivity
color-picker
elements
login-control
nsviewcontroller
hexdump
php-internals
ipconfig
tform
netmq
xna-4.0
jms2
ora-00900
eclipse-clp
muse
riak-cs
arcanist
generic-programming
web-controls
truevault
nsmutabledictionary
block-device
typekit
flask-cors
article
algebraic-data-types
runtime.exec
rabl
delphi-6
e4x
typoscript2
objective-c-2.0
ohm
hgsubversion
work-stealing
coercion
invite
wise
rescale
photoshop-cs4
privilege
project-hosting
document-conversion

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App