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

WIP: ISSUE-215 Elasticsearch for Sparkler - Maven Profiles #217

Closed
wants to merge 5 commits into from

Conversation

KilometersFan
Copy link
Contributor

What changes were proposed in this pull request?

Changes to sparkler-app pom.xml:

  • created two profiles, solr and elasticsearch, and added relevant dependencies

Is this related to an already existing issue on sparkler?
Related to #215

Will it close an existing issue?
Closes #215.

How was this patch tested?

This was tested by building the project running mvn clean compile package -P solr and mvn clean compile package -P elasticsearch in the sparkler-app directory and running test crawls

@KilometersFan KilometersFan requested a review from lewismc March 3, 2021 17:41
@KilometersFan KilometersFan self-assigned this Mar 3, 2021
@lewismc lewismc changed the title Issue 215 WIP: ISSUE-215 Elasticsearch for Sparkler - Maven Profiles Mar 10, 2021
@lewismc lewismc marked this pull request as draft March 10, 2021 16:23
Copy link
Member

@lewismc lewismc left a comment

Choose a reason for hiding this comment

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

Looking good. Each profile should only copy over the required resources it needs. A different way of saying this is that each profile should exclude any configuration that it doesn't need at runtime. You can take inspiration from https://stackoverflow.com/a/5663653

sparkler-core/sparkler-app/pom.xml Outdated Show resolved Hide resolved
sparkler-core/sparkler-app/pom.xml Outdated Show resolved Hide resolved
sparkler-core/sparkler-app/pom.xml Outdated Show resolved Hide resolved
@lewismc
Copy link
Member

lewismc commented Mar 21, 2021

@KilometersFan please update this PR. Thank you

Miles Phan added 2 commits March 21, 2021 12:27
@KilometersFan KilometersFan requested a review from lewismc March 26, 2021 22:06
@lewismc
Copy link
Member

lewismc commented Mar 31, 2021

Let's hold off on merging this PR. We are still working on design of storage modules and need to make sure that work is solid before we progress further with the Maven build.

@buggtb
Copy link
Collaborator

buggtb commented Jan 18, 2022

Closing down as we no longer use maven.

@buggtb buggtb closed this Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Elasticsearch for Sparkler - Maven Profiles
3 participants