MavenPlugin icon indicating copy to clipboard operation
MavenPlugin copied to clipboard

How to set input file(s) for rebot goal in pom.xml?

Open hleskien opened this issue 5 years ago • 1 comments

Hi,

how can I set something like ${project.build.directory}/robotframework-reports*/output.xml as input files for rebot in pom.xml? I believe that is not possible currently (1.6.0). Please add a parameter to set one or more input files.

Thank you and kind regards

Holger

hleskien avatar Jan 14 '20 15:01 hleskien

Currently plugin expects that all output.xmls are in the same directory (here: https://github.com/robotframework/MavenPlugin/blob/develop/src/main/java/org/robotframework/mavenplugin/RebotMojo.java#L78).

So workaround would be to put output.xmls to same dir (starting with name "output") before this is changed to take that output search path as argument.

Hi-Fi avatar Jan 15 '20 11:01 Hi-Fi