Skip to content

Add limited module set profile to the pom files #7541

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

Merged
merged 1 commit into from
Jul 15, 2020

Conversation

aahmed-se
Copy link
Contributor

Since pulsar has grown a large project it's useful to have more limited build profiles in maven to focus on the core modules.

@aahmed-se aahmed-se requested a review from merlimat July 15, 2020 10:12
@aahmed-se aahmed-se self-assigned this Jul 15, 2020
@aahmed-se aahmed-se force-pushed the core_modules branch 2 times, most recently from 6ebf144 to 999cf21 Compare July 15, 2020 10:58
Copy link
Contributor

@merlimat merlimat left a comment

Choose a reason for hiding this comment

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

LGTM, we could also add info in README file on how to compile everything or just the core modules.

<profile>
<id>core-modules</id>
<modules>
<module>buildtools</module>
Copy link
Contributor

Choose a reason for hiding this comment

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

Ideally, it would be better to not have to repeat the list of core-modules in both lists. I'm not sure that is possible.

In absence of that, we could just make it visually clear, with the list of core-modules sorted in same way and with spaces (and comments) from the extra modules.

@merlimat merlimat added this to the 2.7.0 milestone Jul 15, 2020
@merlimat
Copy link
Contributor

@aahmed-se After this, we can also change some of the github jobs to just compile core modules (eg: all the broker test jobs, the C++ build, ..)

@srkukarni srkukarni merged commit b8cba18 into apache:master Jul 15, 2020
@merlimat
Copy link
Contributor

@aahmed-se One more thing, these modules should not be in the core-modules list: pulsar-broker-shaded, pulsar-client-all, pulsar-discovery-service

@merlimat
Copy link
Contributor

As well as pulsar-functions/localrun-shaded and pulsar-functions/runtime-all

merlimat pushed a commit to merlimat/pulsar that referenced this pull request Jul 21, 2020
gaoran10 added a commit to gaoran10/pulsar that referenced this pull request Jul 22, 2020
@aahmed-se aahmed-se deleted the core_modules branch July 24, 2020 18:41
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
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.

3 participants