sonatype / install4j-support

Install4j Support
http://sonatype.github.io/install4j-support/
11 stars 11 forks source link

Plugin should fail when files are missing #29

Closed jschneider closed 7 years ago

jschneider commented 7 years ago

I moved some files in our project that resulted only in warnings from Install4j:

[INFO] Creating media file 'Windows 32bit': [INFO] Created media file output directory /home/johannes/projects/service/... [INFO]
[INFO] Collecting files: [INFO] [WARNING] The path "../wibu/CodeMeterRuntime.exe" does not exist. [INFO] [WARNING] The path "../wibu/WibuVm.jar" does not exist. [INFO] [WARNING] The path "../wibu/WibuXpm4J32.dll" does not exist. [INFO] [WARNING] The path "../wibu/WibuXpm4J64.dll" does not exist.

I really would like to fail the build, if these files could not be found. Any idea how to solve this? I tried "true" - but unfortunately without any effect.

ingokegel commented 7 years ago

This is not directly related to the maven plugin.

In install4j there is an option on the "Files->File Options" step that is called "What to do when files are missing at build time. You can set that to "Raise an error and abort".

jschneider commented 7 years ago

Thanks.