Создается Spring Boot проект. Есть файл application.properties, в котором прописан путь к config.
config.path=config.txt
ApplicationConfiguration.java:
@Bean
    public Config config() throws IOException {
        ConfigParser configParser = new JsonConfigParser();
        String configPath = environment.getProperty("config.path");
        return configParser.parse(Paths.get(configPath));
    }
mvn clean
mvn install -Dmaven.test.skip=true
java -jar project-0.0.1-SNAPSHOT.jar
Как надо передавать config в jar ?или как включить его в jar
