# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
install_jar(config-model-jar-with-dependencies.jar)

vespa_install_script(src/main/perl/vespa-deploy bin)

install(DIRECTORY src/main/resources/schema DESTINATION share/vespa PATTERN ".gitignore" EXCLUDE)
install(DIRECTORY src/main/resources/schema DESTINATION share/vespa/schema/version/8.x PATTERN ".gitignore" EXCLUDE)
# TODO: Remove when Vespa > 8 and no apps are left on 7 in hosted Vespa
install(DIRECTORY src/main/resources/schema/version/7.x/ DESTINATION share/vespa/schema/version/7.x/schema PATTERN ".gitignore" EXCLUDE)

# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
install_jar(config-model-jar-with-dependencies.jar)

vespa_install_script(src/main/perl/vespa-deploy bin)

install(DIRECTORY src/main/resources/schema DESTINATION share/vespa PATTERN ".gitignore" EXCLUDE PATTERN "version" EXCLUDE)
install(DIRECTORY src/main/resources/schema DESTINATION share/vespa/schema/version/8.x PATTERN ".gitignore" EXCLUDE PATTERHN "version" EXCLUDE)
# TODO: Remove when Vespa > 8 and no apps are left on 7 in hosted Vespa
install(DIRECTORY src/main/resources/schema/version/7.x/ DESTINATION share/vespa/schema/version/7.x/schema PATTERN ".gitignore" EXCLUDE)

Exclude some paths when installing XML schemas
Exclude some paths when installing XML schemas
