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

Publish SBT project to local directory
Is Surefire (Maven) able to run several executions with different versions of dependencies? If yes, how?
Migration from existing Java EE project to maven without changing directory layout
How can I call Maven programmatically from within a plugin without using a process invocation?
“is not a known entity” error from EclipseLink
How to properly configure http tag in Spring Security 3.1?
Generate javadoc in maven and then upload via scp?
Could not find sub module [portal-service-ejb-1.4-SNAPSHOT.jar] as defined in application.xml
Why do I get invalid pom due to missing dependency.version although the version is managed?
Maven 3: deploying an artifact using SCP
How to use downloaded version of andromda to create and compile Project?
Github authentication: how to use Github as Maven repo when repo is private
How can I find doc for -Dparameters for maven plugin
What's the difference between maven-rpm-plugin and rpm-maven-plugin
flexmojos ignoring configuration?
Error in maven :No plugin found for the prefix 'get'

Categories

HOME
netsuite
onedrive
platform-builder
read-eval-print-loop
cvs
malloc
frameworks
binary-tree
ckeditor
blueprintjs
datastax-java-driver
networkx
autotools
pheatmap
vifm
spring-kafka
row
django-admin
http-status-code-504
database-replication
flux
ml
xlsxwriter
jasonette
kudan
angular2-aot
sqlcipher
spark-jobserver
centos6.5
greendao
fluentvalidation
assistant
c++-amp
instant-messaging
react-chartjs
uisplitview
caret
form-data
accelerate-framework
neuroscience
mixture-model
dynamics-crm-2013
objectlistview
unspecified
hilbert-curve
sqlite2
webdriver-manager
ncalc
powershell-dsc
no-www
total-commander
errordocument
integrity
diagnostics
dtexec
capacity
linode
wdf
url-pattern
login-control
gridview-sorting
persist
xpath-1.0
freelancer.com-api
javax.sound.midi
spim
xna-4.0
execute
simple-framework
iis-arr
ideamart
createprocessasuser
sniffer
census
block-device
tt-news
qcodo
asp.net-web-api-odata
applescript-objc
ceil
has-many-through
contenttype
navigationservice
p4java
fluentautomation
app42
imdbpy
prettify
apc
web2py-modules
comaddin
http-unit
wsdl-2.0
sublist
nsnetservice
buildr
tomcat-valve
django-tagging
locationlistener
sql-server-profiler
floating
google-friend-connect
createwindow
.nettiers
getresponsestream
firefox-5
javap
misv

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