Skip to content

Commit c04d34b

Browse files
committed
disabled pulishing + readme updates
1 parent 50c1903 commit c04d34b

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Read more about potential use cases in the blog post [Field Stats for Elasticsea
1111
Installation
1212
------------
1313

14-
Make sure to change the version number in the download URL based on your ES version. You can
14+
Make sure to change the version number in the download URL based on your OpenSearch version. You can
1515
find available releases here: https://github.com/sematext/opensearch-field-stats/releases. The
1616
plugin version must match your OpenSearch version. Feel free to contribute
1717
new version if your version is not supported OpenSearch version which you use.
@@ -24,7 +24,7 @@ bin/opensearch-plugin install URL
2424

2525

2626
```
27-
bin/plugin install https://github.com/sematext/opensearch-field-stats/releases/download/v2.14.0/field-stats-2.14.0.zip
27+
bin/opensearch-plugin install https://github.com/sematext/opensearch-field-stats/releases/download/v2.14.0/field-stats-2.14.0.zip
2828
```
2929

3030

@@ -98,7 +98,7 @@ In order to install this plugin, you need to create a zip distribution.
9898
This will produce a zip file in `build/distributions`. After building the zip file, you can install it like this
9999

100100
```
101-
bin/plugin install file:///path/to/opensearch-field-stats/build/distribution/opensearch-field-stats-<VERSION>.zip
101+
bin/opensearch-plugin install file:///path/to/opensearch-field-stats/build/distribution/opensearch-field-stats-<VERSION>.zip
102102
```
103103

104104
Feel free to prepare pull requests.

build.gradle

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,7 @@ apply plugin: 'maven-publish'
2222
apply plugin: 'signing'
2323

2424
apply from: 'gradle/ext.gradle'
25-
26-
// TODO fix and re-enable
27-
tasks.all {
28-
if (name.contains('validateNebulaPom')) {
29-
enabled = false
30-
}
31-
}
32-
// apply from: 'gradle/publish.gradle'
33-
25+
apply from: 'gradle/publish.gradle'
3426

3527
configurations {
3628
archives
@@ -56,8 +48,8 @@ opensearchplugin {
5648
name 'field-stats'
5749
description 'Field stats plugin for OpenSearch'
5850
classname 'com.sematext.opensearch.plugin.FieldStatsPlugin'
59-
licenseFile = rootProject.file('LICENSE')
60-
noticeFile = rootProject.file('README.md')
51+
licenseFile rootProject.file('LICENSE')
52+
noticeFile rootProject.file('README.md')
6153
}
6254

6355
artifacts {
@@ -68,3 +60,11 @@ testingConventions.enabled = false
6860
dependencyLicenses.enabled = true
6961
thirdPartyAudit.enabled = false
7062
loggerUsageCheck.enabled = false
63+
validateNebulaPom.enabled = false
64+
65+
// TODO make publishing work in general (it doesn't seem to work now)
66+
tasks.all {
67+
if (name.contains('validateMavenJavaPom')) {
68+
enabled = false
69+
}
70+
}

0 commit comments

Comments
 (0)