Skip to content

Conversation

rmuir
Copy link
Contributor

@rmuir rmuir commented Nov 20, 2015

We got this thing in pretty good shape in master, but a big part of making it better was cleaning up the dependencies management: we use a parser whitelist and that does not work well with maven.

The solution here based on the fact that in master, gradle translates our whitelist into 24KB of horrible XML automatically for us, we can just paste that directly into maven if we need to upgrade tika. So, the POM.xml for this plugin has this warning:

<!-- WARNING: AUTOMATICALLY GENERATED -->
<!-- TO UPGRADE: run gradle install on master, add the generated dependencies from build/poms, remove all 'provided' dependencies -->
  <dependencies>
  ...

I think its a good solution for 2.x

The documentation says we support EPUB, but the parser is not enabled.
This parser does not require any external dependencies, so I think its ok?

Separately, test-framework drags in an ancient commons-codec (via httpclient), which gradle
"upgrades", but IDEs can't handle this case and just hit jar hell. So just wire that to 1.9,
this allows running tests in the IDE for this plugin.
@rjernst
Copy link
Member

rjernst commented Nov 20, 2015

LGTM

rmuir added a commit that referenced this pull request Nov 20, 2015
backport mapper-attachments plugin to 2.x
@rmuir rmuir merged commit 6e35722 into elastic:2.x Nov 20, 2015
dadoonet added a commit that referenced this pull request Nov 23, 2015
dadoonet added a commit to elastic/elasticsearch-mapper-attachments that referenced this pull request Nov 23, 2015
The code moved to elasticsearch repository. See elastic/elasticsearch#14902

So we can close the `es-2.x` branch.
@clintongormley clintongormley changed the title backport mapper-attachments plugin to 2.x Backport mapper-attachments plugin to 2.x Nov 28, 2015
@clintongormley clintongormley added :Search Foundations/Mapping Index mappings, including merging and defining field types and removed :Plugin Mapper Attachment labels Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search Foundations/Mapping Index mappings, including merging and defining field types v2.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants