# How to "reportsOnly" with maven plugin

**URL:** <https://community.gatling.io/t/how-to-reportsonly-with-maven-plugin/1072>\
**Category:** Gatling (Open-Source)\
**Created:** [June 4, 2014, 9:02am UTC](https://community.gatling.io/t/how-to-reportsonly-with-maven-plugin/1072 "2014-06-04T09:02:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cyril\_Souti](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@Cyril\_Souti](https://community.gatling.io/u/Cyril_Souti)\
**Post date:** [June 4, 2014, 9:02am UTC](https://community.gatling.io/t/how-to-reportsonly-with-maven-plugin/1072/1 "2014-06-04T09:02:57Z")

</div>

Hi,

I’ve this error :

Error: Unknown option --ro  
Error: Unknown argument ‘true’

when :  
mvn gatling:execute -Dgatling.reportsOnly=true  
with last 2.0.0-snapshot

I don’t know if it’s normal, if I use correctly maven gatling plugin ?

Regards,

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [June 4, 2014, 3:15pm UTC](https://community.gatling.io/t/how-to-reportsonly-with-maven-plugin/1072/2 "2014-06-04T15:15:37Z")

</div>

reportsOnly argument is not a boolean, it’s the name of the result folder that contains the log files you want to generate the reports for.  
Are you sure you’re not confusing for noReports? reportsOnly is not exactly the thing I’d run from maven…

---

<div class="post-metadata">

**Author:** ![Cyril\_Souti](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@Cyril\_Souti](https://community.gatling.io/u/Cyril_Souti)\
**Post date:** [June 4, 2014, 8:18pm UTC](https://community.gatling.io/t/how-to-reportsonly-with-maven-plugin/1072/3 "2014-06-04T20:18:38Z")

</div>

Yes reportsOnly, I’ve a strange issue with a simulation which appears sometimes, and I wanted to try regenerate report.  
[https://github.com/excilys/gatling/wiki/Maven-plugin](https://github.com/excilys/gatling/wiki/Maven-plugin) suggests a boolean value…

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [June 4, 2014, 8:30pm UTC](https://community.gatling.io/t/how-to-reportsonly-with-maven-plugin/1072/4 "2014-06-04T20:30:36Z")

</div>

Typo, will fix, sorry 🙂

---

<div class="post-metadata">

**Author:** ![Cyril\_Souti](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@Cyril\_Souti](https://community.gatling.io/u/Cyril_Souti)\
**Post date:** [June 6, 2014, 1:15pm UTC](https://community.gatling.io/t/how-to-reportsonly-with-maven-plugin/1072/5 "2014-06-06T13:15:03Z")

</div>

I try with a string value, folder containing simulation.log, but I’ve a same error :

Error: Unknown option --ro  
Error: Unknown argument ‘validatorsimulation-20140606145038’

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [June 6, 2014, 4:55pm UTC](https://community.gatling.io/t/how-to-reportsonly-with-maven-plugin/1072/6 "2014-06-06T16:55:19Z")

</div>

Fixed: [https://github.com/excilys/gatling/issues/1948](https://github.com/excilys/gatling/issues/1948)

Thanks again!

---

<div class="post-metadata">

**Author:** ![Cyril\_Souti](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@Cyril\_Souti](https://community.gatling.io/u/Cyril_Souti)\
**Post date:** [June 6, 2014, 9:00pm UTC](https://community.gatling.io/t/how-to-reportsonly-with-maven-plugin/1072/7 "2014-06-06T21:00:19Z")

</div>

Thanks to you for this quick fix !
