Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build] Fix building the Presto distribution without building everything #10780

Merged

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Jun 2, 2021

Motivation

It should be possible to build the full Pulsar distribution in the fastest possible way with this command:

mvn clean install -Dmaven.test.skip=true -DskipSourceReleaseAssembly=true -Dspotbugs.skip=true -Dlicense.skip=true \
  -pl distribution/server -am

This is broken since the Presto project dependencies are missing. The optimization to skip building the distribution when -DskipBuildDistribution=true (added as part of #10288) caused the issue. This PR will fix that.

Modifications

  • add dependency from pulsar-presto-distribution to pulsar-presto-connector when skipBuildDistribution != true
  • support building Presto distribution with -Dmaven.test.skip=true

@lhotari lhotari force-pushed the lh-fix-building-presto-distribution branch from 5da8932 to b7c21e9 Compare June 2, 2021 09:03
@lhotari lhotari requested a review from eolivelli June 2, 2021 09:43
Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eolivelli eolivelli merged commit bffa595 into apache:master Jun 2, 2021
@eolivelli eolivelli added this to the 2.8.0 milestone Jun 2, 2021
lhotari added a commit to lhotari/pulsar-contributor-toolbox that referenced this pull request Jun 3, 2021
yangl pushed a commit to yangl/pulsar that referenced this pull request Jun 23, 2021
bharanic-dev pushed a commit to bharanic-dev/pulsar that referenced this pull request Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants