Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wip/1026 validate task #1124

Merged
merged 13 commits into from
Sep 11, 2018
Merged

Wip/1026 validate task #1124

merged 13 commits into from
Sep 11, 2018

Conversation

muuki88
Copy link
Contributor

@muuki88 muuki88 commented Apr 30, 2018

This is an initial draft to provide helpful feedback to users
during their configuration phase with sbt-native-packager.

The intention is to give a short explanation why a warning or
error is triggerd and a detailed description how to fix the issue.

Example 1 - no archetype

A common issue is that users don't enable an archetype, because they directly skip to the format plugin documentation and simply enable DockerPlugin or DebianPlugin.

A basic mappings validator can catch this issue and print a helpful error message.
Image a user a

  • enablePlugins(UniversalPlugin)
  • $ sbt universal:packageBin

Gives the output

[error] [1] You have no mappings defined! This will result in an empty package
[error] Try enabling an archetype, e.g. `enablePlugins(JavaAppPackaging)`

muuki88 and others added 11 commits April 30, 2018 21:29
This is an initial draft to provide helpful feedback to users
during their configuration phase with sbt-native-packager.

The intention is to give a short explanation why a warning or
error is triggerd and a detailed description how to fix the issue.
This is an initial draft to provide helpful feedback to users
during their configuration phase with sbt-native-packager.

The intention is to give a short explanation why a warning or
error is triggerd and a detailed description how to fix the issue.
@muuki88 muuki88 added the universal Zip, tar.gz, tgz and bash issues label Aug 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
universal Zip, tar.gz, tgz and bash issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant