I am also facing similar kind of issue. I followed the SO link posted by Krishnan. My Custom Reporter Listener is working but now issue is testng output folder and hence testng reports are not generated.
I need testNG results as well apart from custom reports because I am using Jenkins which have TestNG plugin which reads testng report to mark status of test cases.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
<configuration>
<forkMode>never</forkMode>
<properties>
<property>
<name>listener</name>
<value>com.sephoraflash.listeners.CustomReporter,com.sephoraflash.listeners.RetryTestListener</value>
</property>
</properties>
<systemPropertyVariables>
<testprops>${envproperties}</testprops>
</systemPropertyVariables>
<useFile>true</useFile>
<testFailureIgnore>true</testFailureIgnore>
<suiteXmlFiles>
<suiteXmlFile>src/test/resources/profiles/${suiteToRun}</suiteXmlFile>
</suiteXmlFiles>
<include>src/main/java</include>
<include>src/test/java</include>
</configuration>
</plugin>