Add missing repo to enable building with -Ddremio.oss-only=true #72
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The README mentions here that Dremio can be built with only OSS dependencies by specifying the
-Ddremio.oss-only=true
flag. Currently, this fails with the error below becausecom.dremio.data:dremio-tpch-sample-data
can't be pulled from thedremio-public
repo. This PR makes thedremio-free
repo accessible to the build. It seems like an alternative (and perhaps preferable) solution would be to addcom.dremio.data:dremio-tpch-sample-data
to thedremio-public
repo, but I'm guessing only the Dremio team has the ability to add things to that repo.Without this change, the build fails with the error below when running this command:
mvn clean install -DskipTests -Ddremio.oss-only=true
[ERROR] Failed to execute goal on project dremio-sabot-kernel: Could not resolve dependencies for project com.dremio.sabot:dremio-sabot-kernel:jar:21.2.0-202205262146080444-038d6d1b: Could not find artifact com.dremio.data:dremio-tpch-sample-data:jar:1.0.0 in dremio-public (https://maven.dremio.com/public/) -> [Help 1]
There are several issues open about this build failure. Here's one such example.