This question is not about how to run executables from maven, how to use maven, how to download/install iReport, etc.
How do you download and run iReport or possibly Jaspersoft Studio using a Java build tool like maven or gradle?
My understanding from the docs is not only that it is NOT possible, you also must run iReport on windows. This is because of the native installer:
At the time of writing we are planning an OS X distribution to support Macintosh systems; it may be available in the future.
There is also no documentation I can find about downloading a jar and executing it, as you can do for stand alone Java apps. For example: https://community.jaspersoft.com/questions/534361/creating-java-launcher-ireport-372
To be more specific, this is what "running from maven" means:
- Download the jars as a dependency/plugin specified in the pom.xml
- Have a maven command that launches the studio (in addition to the existing maven commands that launch the app). This must be a java launch, not some OS specific executable.
- Dependency must be build-time and not compile or runtime, since launching a studio does not mean including the studio binaries in your app.
- Typically, this is implemented as a maven plugin, none of which exists for iReport.
- Java app launch has no platform dependencies.
This is what "running from maven" is not:
- Downloading and installing the iReport studio yourself
- Calling an OS specific executable, from maven, shell script or any other way
- Having any OS specific dependency, other than what maven already has (practically none). This should work on mac and linux equally as well.
- Performing any user action outside of maven commands
- Having maven mimic human user behaviour. For example, mimicking a user downloading the studio and executing the installer (instead of the maven way of downloading it as a plugin/dependency).