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

Modularize ILM/SLM #87769

Merged
merged 2 commits into from
Jun 17, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions x-pack/plugin/ilm/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
module org.elasticsearch.ilm {
requires org.apache.lucene.core;
requires org.elasticsearch.server;
requires org.elasticsearch.base;
requires org.elasticsearch.xcore;
requires org.elasticsearch.xcontent;
requires org.apache.logging.log4j;
Copy link
Contributor

Choose a reason for hiding this comment

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

Quite trivially, we've been organising the requires directives lexicographically, with the ES modules coming first


exports org.elasticsearch.xpack.ilm.action to org.elasticsearch.server;
exports org.elasticsearch.xpack.ilm to org.elasticsearch.server;
exports org.elasticsearch.xpack.slm.action to org.elasticsearch.server;
exports org.elasticsearch.xpack.slm to org.elasticsearch.server;
}