You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, it might be the right place for it. It's not a resource that should come within the jar. It's a runtime configuration file, that is autogenerated if absent, and sometimes altered by the application. The one placed in the repository is an example of manual modification of the file to customize the structure of the command tree by a user of the application.
That would require explicitly excluding it from resources in pom, and either changing its path in the code to src/main/resources/command.yml (not very clean) or running the app with src/main/resources as the working directory (even worse).
Alternatively, we can create a directory config and move it there, and change the path in code to config/commands.yml.
This file should not be in the root directory. Just making this issue for myself.
https://github.com/flow/examples/blob/master/commands/commands.yml
The text was updated successfully, but these errors were encountered: