Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Build: Switch mapper attachments to gradle#184

Merged
rjernst merged 3 commits intoelastic:masterfrom
rjernst:update_to_gradle
Nov 7, 2015
Merged

Build: Switch mapper attachments to gradle#184
rjernst merged 3 commits intoelastic:masterfrom
rjernst:update_to_gradle

Conversation

@rjernst
Copy link
Copy Markdown
Member

@rjernst rjernst commented Nov 6, 2015

This change switches the plugin to use gradle as the build system, and
updates the master branch to track elasticsearch master.

This change switches the plugin to use gradle as the build system, and
updates the master branch to track elasticsearch master.
build.gradle Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this is not true

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I just copied what was in the pom. I will remove.

build.gradle Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Might be wrong but I think this should be now 4.0.0-SNAPHOT

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Hrm, I thought we released 2.0 plugins under a different groupId so that we could get the plugin versions in sync with elasticsearch version?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

So we need to change the groupId here?
But that would mean a lot other changes. For now, I'd update the version.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Oops, that is just the wrong groupId from copy/pasting! But I'm confused on why we would change the version. Did we or did we not release plugins under org.elasticsearch.plugin all with version 2.0.0?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes we did. I don't have an opinion. We can do one or the other.

If we keep old groupId, then we can release this plugin more often (not sure it makes sense though).
If we use the new groupId (ES version), we can only release when elasticsearch releases.

The easier thing to do though is to move this plugin under elasticsearch repo.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is master. Can we just get the build working again (this PR) as a start?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sure.

@dadoonet
Copy link
Copy Markdown
Contributor

dadoonet commented Nov 7, 2015

We also need to change https://github.com/elastic/elasticsearch-mapper-attachments/blob/master/dev-tools/release.py

Might be done in another PR though.

@rjernst
Copy link
Copy Markdown
Member Author

rjernst commented Nov 7, 2015

We also need to change https://github.com/elastic/elasticsearch-mapper-attachments/blob/master/dev-tools/release.py

Yeah, let's do that in a follow up. This is just to get the build working again. Lots needs to be changed about the release.

rjernst added a commit that referenced this pull request Nov 7, 2015
Build: Switch mapper attachments to gradle
@rjernst rjernst merged commit cdab360 into elastic:master Nov 7, 2015
@rjernst rjernst deleted the update_to_gradle branch November 7, 2015 21:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants