diff --git a/README.md b/README.md index 20fcc4ca4a2ed..cb12b9d6955fd 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,13 @@ resources will be hot-reloaded and changes are reflected on browser refresh. Check out [building instructions](https://github.com/prestodb/presto/tree/master/presto-native-execution#build-from-source) to get started. +## Common Issues + +Build fails while creating hard links - `java.nio.file.FileSystemException Operation not permitted`. +Presto uses the [Provisio](https://github.com/jvanzyl/provisio) plugin for packaging using hard links. If your filesystem doesn't support hard links, you can bypass hard links using: + + ./mvnw clean install -presto.hard-link-includes='' +
diff --git a/pom.xml b/pom.xml index 5b0c7d82b6aad..d4806eb46234c 100644 --- a/pom.xml +++ b/pom.xml @@ -95,6 +95,7 @@ 1.64.0 -missing + **/*.jar diff --git a/presto-server/pom.xml b/presto-server/pom.xml index deeff2d162f34..3667cacb6a661 100644 --- a/presto-server/pom.xml +++ b/presto-server/pom.xml @@ -25,6 +25,7 @@ ${project.artifactId} false + ${project.parent.presto.hard-link-includes} diff --git a/presto-server/src/main/provisio/presto.xml b/presto-server/src/main/provisio/presto.xml index 4e82ac23b9a1f..1b7c579c72e2a 100644 --- a/presto-server/src/main/provisio/presto.xml +++ b/presto-server/src/main/provisio/presto.xml @@ -1,6 +1,6 @@ - +