aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven Postman plugin failing to email report Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven Postman plugin failing to email report" Watch "Maven Postman plugin failing to email report" New topic
Author

Maven Postman plugin failing to email report

Dave Nice
Greenhorn

Joined: Jan 06, 2013
Posts: 12
Hi,

I am having some trouble getting the Maven Postman plugin to mail my surefire test report. I'm a beginner so there is likely an obvious mistake here. I will post my POM file below in case it shows any obvious cause. I have tried running clean, site, deploy and, although the report is generated, it does not get mailed. I'm not clear which maven goal I should be running to get the report generated. Any help much appreciated.


Dave Nice
Greenhorn

Joined: Jan 06, 2013
Posts: 12
anyone!?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

What OS are you using? (Programmatic email is different depending on the OS)

I assume that you have access to the mail server mentioned, that you are using the correct credentials, and that there is no firewall blocking port 995? If you are trying this from work and your company is of a reasonable size, most likely the port is being blocked by your IT department.

Also, try running with the -X option and see what output your are getting for the send-mail goal.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maven Postman plugin failing to email report