fix website mvn build (#14458)

changes:
* fix website mvn build
* remove the i18n/en.json file add to gitignore
* add spellcheck to mvn test phase
This commit is contained in:
Clint Wylie 2023-06-22 12:14:23 -07:00 committed by GitHub
parent 31b9d5695d
commit 9b1779734b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 797 deletions

2
.gitignore vendored
View File

@ -35,7 +35,7 @@ integration-tests/gen-scripts/
**/.local/ **/.local/
**/druidapi.egg-info/ **/druidapi.egg-info/
examples/quickstart/jupyter-notebooks/docker-jupyter/notebooks examples/quickstart/jupyter-notebooks/docker-jupyter/notebooks
website/i18n/*
# ignore NetBeans IDE specific files # ignore NetBeans IDE specific files
nbproject nbproject
nbactions.xml nbactions.xml

View File

@ -1726,10 +1726,6 @@
<groupId>com.github.eirslett</groupId> <groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId> <artifactId>frontend-maven-plugin</artifactId>
<version>1.11.3</version> <version>1.11.3</version>
<configuration>
<nodeVersion>${node.version}</nodeVersion>
<npmVersion>${npm.version}</npmVersion>
</configuration>
</plugin> </plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>

View File

@ -1,790 +0,0 @@
{
"_comment": "This file is auto-generated by write-translations.js",
"localized-strings": {
"next": "Next",
"previous": "Previous",
"tagline": "A fast analytical database",
"docs": {
"comparisons/druid-vs-elasticsearch": {
"title": "Apache Druid vs Elasticsearch"
},
"comparisons/druid-vs-key-value": {
"title": "Apache Druid vs. Key/Value Stores (HBase/Cassandra/OpenTSDB)"
},
"comparisons/druid-vs-kudu": {
"title": "Apache Druid vs Kudu"
},
"comparisons/druid-vs-redshift": {
"title": "Apache Druid vs Redshift"
},
"comparisons/druid-vs-spark": {
"title": "Apache Druid vs Spark"
},
"comparisons/druid-vs-sql-on-hadoop": {
"title": "Apache Druid vs SQL-on-Hadoop"
},
"configuration/human-readable-byte": {
"title": "Human-readable Byte Configuration Reference"
},
"configuration/index": {
"title": "Configuration reference"
},
"configuration/logging": {
"title": "Logging"
},
"data-management/automatic-compaction": {
"title": "Automatic compaction"
},
"data-management/compaction": {
"title": "Compaction"
},
"data-management/delete": {
"title": "Data deletion"
},
"data-management/index": {
"title": "Data management",
"sidebar_label": "Overview"
},
"data-management/schema-changes": {
"title": "Schema changes"
},
"data-management/update": {
"title": "Data updates"
},
"dependencies/deep-storage": {
"title": "Deep storage"
},
"dependencies/metadata-storage": {
"title": "Metadata storage"
},
"dependencies/zookeeper": {
"title": "ZooKeeper"
},
"design/architecture": {
"title": "Design"
},
"design/auth": {
"title": "Authentication and Authorization"
},
"design/broker": {
"title": "Broker"
},
"design/coordinator": {
"title": "Coordinator Process"
},
"design/extensions-contrib/dropwizard": {
"title": "Dropwizard metrics emitter"
},
"design/historical": {
"title": "Historical Process"
},
"design/index": {
"title": "Introduction to Apache Druid"
},
"design/indexer": {
"title": "Indexer Process"
},
"design/indexing-service": {
"title": "Indexing Service"
},
"design/middlemanager": {
"title": "MiddleManager Process"
},
"design/overlord": {
"title": "Overlord Process"
},
"design/peons": {
"title": "Peons"
},
"design/processes": {
"title": "Processes and servers"
},
"design/router": {
"title": "Router Process"
},
"design/segments": {
"title": "Segments"
},
"development/build": {
"title": "Build from source"
},
"development/experimental-features": {
"title": "Experimental features"
},
"development/experimental": {
"title": "Experimental features"
},
"development/extensions-contrib/aliyun-oss": {
"title": "Aliyun OSS"
},
"development/extensions-contrib/ambari-metrics-emitter": {
"title": "Ambari Metrics Emitter"
},
"development/extensions-contrib/cassandra": {
"title": "Apache Cassandra"
},
"development/extensions-contrib/cloudfiles": {
"title": "Rackspace Cloud Files"
},
"development/extensions-contrib/compressed-big-decimal": {
"title": "Compressed Big Decimal"
},
"development/extensions-contrib/distinctcount": {
"title": "DistinctCount Aggregator"
},
"development/extensions-contrib/gce-extensions": {
"title": "GCE Extensions"
},
"development/extensions-contrib/graphite": {
"title": "Graphite Emitter"
},
"development/extensions-contrib/influx": {
"title": "InfluxDB Line Protocol Parser"
},
"development/extensions-contrib/influxdb-emitter": {
"title": "InfluxDB Emitter"
},
"development/extensions-contrib/k8s-jobs": {
"title": "MM-less Druid in K8s"
},
"development/extensions-contrib/kafka-emitter": {
"title": "Kafka Emitter"
},
"development/extensions-contrib/materialized-view": {
"title": "Materialized View"
},
"development/extensions-contrib/momentsketch-quantiles": {
"title": "Moment Sketches for Approximate Quantiles module"
},
"development/extensions-contrib/moving-average-query": {
"title": "Moving Average Query"
},
"development/extensions-contrib/opentsdb-emitter": {
"title": "OpenTSDB Emitter"
},
"development/extensions-contrib/prometheus": {
"title": "Prometheus Emitter"
},
"development/extensions-contrib/redis-cache": {
"title": "Druid Redis Cache"
},
"development/extensions-contrib/sqlserver": {
"title": "Microsoft SQLServer"
},
"development/extensions-contrib/statsd": {
"title": "StatsD Emitter"
},
"development/extensions-contrib/tdigestsketch-quantiles": {
"title": "T-Digest Quantiles Sketch module"
},
"development/extensions-contrib/thrift": {
"title": "Thrift"
},
"development/extensions-contrib/time-min-max": {
"title": "Timestamp Min/Max aggregators"
},
"development/extensions-core/approximate-histograms": {
"title": "Approximate Histogram aggregators"
},
"development/extensions-core/avro": {
"title": "Apache Avro"
},
"development/extensions-core/azure": {
"title": "Microsoft Azure"
},
"development/extensions-core/bloom-filter": {
"title": "Bloom Filter"
},
"development/extensions-core/datasketches-extension": {
"title": "DataSketches extension"
},
"development/extensions-core/datasketches-hll": {
"title": "DataSketches HLL Sketch module"
},
"development/extensions-core/datasketches-kll": {
"title": "DataSketches KLL Sketch module"
},
"development/extensions-core/datasketches-quantiles": {
"title": "DataSketches Quantiles Sketch module"
},
"development/extensions-core/datasketches-theta": {
"title": "DataSketches Theta Sketch module"
},
"development/extensions-core/datasketches-tuple": {
"title": "DataSketches Tuple Sketch module"
},
"development/extensions-core/druid-aws-rds": {
"title": "Druid AWS RDS Module"
},
"development/extensions-core/druid-basic-security": {
"title": "Basic Security"
},
"development/extensions-core/druid-kerberos": {
"title": "Kerberos"
},
"development/extensions-core/druid-lookups": {
"title": "Cached Lookup Module"
},
"development/extensions-core/druid-pac4j": {
"title": "Druid pac4j based Security extension"
},
"development/extensions-core/druid-ranger-security": {
"title": "Apache Ranger Security"
},
"development/extensions-core/examples": {
"title": "Extension Examples"
},
"development/extensions-core/google": {
"title": "Google Cloud Storage"
},
"development/extensions-core/hdfs": {
"title": "HDFS"
},
"development/extensions-core/kafka-extraction-namespace": {
"title": "Apache Kafka Lookups"
},
"development/extensions-core/kafka-ingestion": {
"title": "Apache Kafka ingestion",
"sidebar_label": "Apache Kafka ingestion"
},
"development/extensions-core/kafka-supervisor-operations": {
"title": "Apache Kafka supervisor operations reference",
"sidebar_label": "Apache Kafka operations"
},
"development/extensions-core/kafka-supervisor-reference": {
"title": "Apache Kafka supervisor reference",
"sidebar_label": "Apache Kafka supervisor"
},
"development/extensions-core/kinesis-ingestion": {
"title": "Amazon Kinesis ingestion",
"sidebar_label": "Amazon Kinesis"
},
"development/extensions-core/kubernetes": {
"title": "Kubernetes"
},
"development/extensions-core/lookups-cached-global": {
"title": "Globally Cached Lookups"
},
"development/extensions-core/mysql": {
"title": "MySQL Metadata Store"
},
"development/extensions-core/orc": {
"title": "ORC Extension"
},
"development/extensions-core/parquet": {
"title": "Apache Parquet Extension"
},
"development/extensions-core/postgresql": {
"title": "PostgreSQL Metadata Store"
},
"development/extensions-core/protobuf": {
"title": "Protobuf"
},
"development/extensions-core/s3": {
"title": "S3-compatible"
},
"development/extensions-core/simple-client-sslcontext": {
"title": "Simple SSLContext Provider Module"
},
"development/extensions-core/stats": {
"title": "Stats aggregator"
},
"development/extensions-core/test-stats": {
"title": "Test Stats Aggregators"
},
"development/extensions": {
"title": "Extensions"
},
"development/geo": {
"title": "Spatial filters"
},
"development/javascript": {
"title": "JavaScript programming guide",
"sidebar_label": "JavaScript functionality"
},
"development/modules": {
"title": "Creating extensions"
},
"development/overview": {
"title": "Developing on Apache Druid",
"sidebar_label": "Developing on Druid"
},
"development/versioning": {
"title": "Versioning"
},
"ingestion/data-formats": {
"title": "Data formats"
},
"ingestion/data-model": {
"title": "Druid data model",
"sidebar_label": "Data model"
},
"ingestion/faq": {
"title": "Ingestion troubleshooting FAQ",
"sidebar_label": "Troubleshooting FAQ"
},
"ingestion/hadoop": {
"title": "Hadoop-based ingestion",
"sidebar_label": "Hadoop-based"
},
"ingestion/index": {
"title": "Ingestion"
},
"ingestion/ingestion-spec": {
"title": "Ingestion spec reference",
"sidebar_label": "Ingestion spec"
},
"ingestion/migrate-from-firehose": {
"title": "Migrate from firehose to input source ingestion",
"sidebar_label": "Migrate from firehose"
},
"ingestion/native-batch-firehose": {
"title": "Native batch ingestion with firehose (Deprecated)",
"sidebar_label": "Firehose (deprecated)"
},
"ingestion/native-batch-input-sources": {
"title": "Native batch input sources",
"sidebar_label": "Native batch: input sources"
},
"ingestion/native-batch-simple-task": {
"title": "Native batch simple task indexing",
"sidebar_label": "Native batch (simple)"
},
"ingestion/native-batch": {
"title": "Native batch ingestion",
"sidebar_label": "Native batch"
},
"ingestion/partitioning": {
"title": "Partitioning",
"sidebar_label": "Partitioning"
},
"ingestion/rollup": {
"title": "Data rollup",
"sidebar_label": "Data rollup"
},
"ingestion/schema-design": {
"title": "Schema design tips"
},
"ingestion/standalone-realtime": {
"title": "Realtime Process"
},
"ingestion/tasks": {
"title": "Task reference"
},
"ingestion/tranquility": {
"title": "Tranquility"
},
"misc/math-expr": {
"title": "Expressions"
},
"misc/papers-and-talks": {
"title": "Papers"
},
"multi-stage-query/api": {
"title": "SQL-based ingestion and multi-stage query task API",
"sidebar_label": "API"
},
"multi-stage-query/concepts": {
"title": "SQL-based ingestion concepts",
"sidebar_label": "Key concepts"
},
"multi-stage-query/examples": {
"title": "SQL-based ingestion query examples",
"sidebar_label": "Examples"
},
"multi-stage-query/index": {
"title": "SQL-based ingestion",
"sidebar_label": "Overview"
},
"multi-stage-query/known-issues": {
"title": "SQL-based ingestion known issues",
"sidebar_label": "Known issues"
},
"multi-stage-query/reference": {
"title": "SQL-based ingestion reference",
"sidebar_label": "Reference"
},
"multi-stage-query/security": {
"title": "SQL-based ingestion security",
"sidebar_label": "Security"
},
"operations/alerts": {
"title": "Alerts"
},
"operations/api-reference": {
"title": "API reference"
},
"operations/auth-ldap": {
"title": "Configure LDAP authentication",
"sidebar_label": "LDAP auth"
},
"operations/basic-cluster-tuning": {
"title": "Basic cluster tuning"
},
"operations/clean-metadata-store": {
"title": "Automated cleanup for metadata records",
"sidebar_label": "Automated metadata cleanup"
},
"operations/deep-storage-migration": {
"title": "Deep storage migration"
},
"operations/dump-segment": {
"title": "dump-segment tool"
},
"operations/dynamic-config-provider": {
"title": "Dynamic Config Providers"
},
"operations/export-metadata": {
"title": "Export Metadata Tool"
},
"operations/getting-started": {
"title": "Getting started with Apache Druid"
},
"operations/high-availability": {
"title": "High availability"
},
"operations/http-compression": {
"title": "HTTP compression"
},
"operations/insert-segment-to-db": {
"title": "insert-segment-to-db tool"
},
"operations/java": {
"title": "Java runtime"
},
"operations/kubernetes": {
"title": "kubernetes"
},
"operations/metadata-migration": {
"title": "Metadata Migration"
},
"operations/metrics": {
"title": "Metrics"
},
"operations/mixed-workloads": {
"title": "Configure Druid for mixed workloads",
"sidebar_label": "Mixed workloads"
},
"operations/other-hadoop": {
"title": "Working with different versions of Apache Hadoop"
},
"operations/password-provider": {
"title": "Password providers"
},
"operations/pull-deps": {
"title": "pull-deps tool"
},
"operations/python": {
"title": "Python Installation"
},
"operations/request-logging": {
"title": "Request logging",
"sidebar_label": "Request logging"
},
"operations/reset-cluster": {
"title": "reset-cluster tool"
},
"operations/rolling-updates": {
"title": "Rolling updates"
},
"operations/rule-configuration": {
"title": "Using rules to drop and retain data"
},
"operations/security-overview": {
"title": "Security overview"
},
"operations/security-user-auth": {
"title": "User authentication and authorization"
},
"operations/segment-optimization": {
"title": "Segment size optimization"
},
"operations/single-server": {
"title": "Single server deployment"
},
"operations/tls-support": {
"title": "TLS support"
},
"operations/use_sbt_to_build_fat_jar": {
"title": "Content for build.sbt"
},
"operations/web-console": {
"title": "Web console"
},
"querying/aggregations": {
"title": "Aggregations"
},
"querying/caching": {
"title": "Query caching"
},
"querying/datasource": {
"title": "Datasources"
},
"querying/datasourcemetadataquery": {
"title": "DatasourceMetadata queries",
"sidebar_label": "DatasourceMetadata"
},
"querying/dimensionspecs": {
"title": "Query dimensions",
"sidebar_label": "Dimensions"
},
"querying/filters": {
"title": "Query filters",
"sidebar_label": "Filters"
},
"querying/granularities": {
"title": "Query granularities",
"sidebar_label": "Granularities"
},
"querying/groupbyquery": {
"title": "GroupBy queries",
"sidebar_label": "GroupBy"
},
"querying/having": {
"title": "Having filters (groupBy)"
},
"querying/hll-old": {
"title": "Cardinality/HyperUnique aggregators"
},
"querying/joins": {
"title": "Joins"
},
"querying/limitspec": {
"title": "Sorting and limiting (groupBy)"
},
"querying/lookups": {
"title": "Lookups"
},
"querying/multi-value-dimensions": {
"title": "Multi-value dimensions"
},
"querying/multitenancy": {
"title": "Multitenancy considerations",
"sidebar_label": "Multitenancy"
},
"querying/nested-columns": {
"title": "Nested columns",
"sidebar_label": "Nested columns"
},
"querying/post-aggregations": {
"title": "Post-aggregations"
},
"querying/query-context": {
"title": "Query context",
"sidebar_label": "Query context"
},
"querying/query-execution": {
"title": "Query execution"
},
"querying/querying": {
"title": "Native queries"
},
"querying/scan-query": {
"title": "Scan queries",
"sidebar_label": "Scan"
},
"querying/searchquery": {
"title": "Search queries",
"sidebar_label": "Search"
},
"querying/segmentmetadataquery": {
"title": "SegmentMetadata queries",
"sidebar_label": "SegmentMetadata"
},
"querying/select-query": {
"title": "Select queries",
"sidebar_label": "Select"
},
"querying/sorting-orders": {
"title": "String comparators"
},
"querying/sql-aggregations": {
"title": "SQL aggregation functions",
"sidebar_label": "Aggregation functions"
},
"querying/sql-api": {
"title": "Druid SQL API",
"sidebar_label": "Druid SQL API"
},
"querying/sql-data-types": {
"title": "SQL data types",
"sidebar_label": "SQL data types"
},
"querying/sql-functions": {
"title": "All Druid SQL functions",
"sidebar_label": "All functions"
},
"querying/sql-jdbc": {
"title": "SQL JDBC driver API",
"sidebar_label": "JDBC driver API"
},
"querying/sql-json-functions": {
"title": "SQL JSON functions",
"sidebar_label": "JSON functions"
},
"querying/sql-metadata-tables": {
"title": "SQL metadata tables",
"sidebar_label": "SQL metadata tables"
},
"querying/sql-multivalue-string-functions": {
"title": "SQL multi-value string functions",
"sidebar_label": "Multi-value string functions"
},
"querying/sql-operators": {
"title": "Druid SQL Operators",
"sidebar_label": "Operators"
},
"querying/sql-query-context": {
"title": "SQL query context",
"sidebar_label": "SQL query context"
},
"querying/sql-scalar": {
"title": "SQL scalar functions",
"sidebar_label": "Scalar functions"
},
"querying/sql-translation": {
"title": "SQL query translation",
"sidebar_label": "SQL query translation"
},
"querying/sql": {
"title": "Druid SQL overview",
"sidebar_label": "Overview and syntax"
},
"querying/timeboundaryquery": {
"title": "TimeBoundary queries",
"sidebar_label": "TimeBoundary"
},
"querying/timeseriesquery": {
"title": "Timeseries queries",
"sidebar_label": "Timeseries"
},
"querying/topnmetricspec": {
"title": "Sorting (topN)"
},
"querying/topnquery": {
"title": "TopN queries",
"sidebar_label": "TopN"
},
"querying/troubleshooting": {
"title": "Troubleshooting query execution in Druid",
"sidebar_label": "Troubleshooting"
},
"querying/using-caching": {
"title": "Using query caching"
},
"querying/virtual-columns": {
"title": "Virtual columns"
},
"tutorials/cluster": {
"title": "Clustered deployment"
},
"tutorials/docker": {
"title": "Tutorial: Run with Docker"
},
"tutorials/index": {
"title": "Quickstart (local)"
},
"tutorials/tutorial-batch-hadoop": {
"title": "Tutorial: Load batch data using Apache Hadoop",
"sidebar_label": "Load from Apache Hadoop"
},
"tutorials/tutorial-batch-native": {
"title": "Load data with native batch ingestion"
},
"tutorials/tutorial-batch": {
"title": "Tutorial: Loading a file",
"sidebar_label": "Load files natively"
},
"tutorials/tutorial-compaction": {
"title": "Tutorial: Compacting segments",
"sidebar_label": "Compacting segments"
},
"tutorials/tutorial-delete-data": {
"title": "Tutorial: Deleting data",
"sidebar_label": "Deleting data"
},
"tutorials/tutorial-ingestion-spec": {
"title": "Tutorial: Writing an ingestion spec",
"sidebar_label": "Writing an ingestion spec"
},
"tutorials/tutorial-jdbc": {
"title": "Tutorial: Using the JDBC driver to query Druid",
"sidebar_label": "JDBC connector"
},
"tutorials/tutorial-jupyter-index": {
"title": "Jupyter Notebook tutorials"
},
"tutorials/tutorial-kafka": {
"title": "Tutorial: Load streaming data from Apache Kafka",
"sidebar_label": "Load from Apache Kafka"
},
"tutorials/tutorial-kerberos-hadoop": {
"title": "Configuring Apache Druid to use Kerberized Apache Hadoop as deep storage",
"sidebar_label": "Kerberized HDFS deep storage"
},
"tutorials/tutorial-msq-convert-spec": {
"title": "Tutorial: Convert an ingestion spec for SQL-based ingestion",
"sidebar_label": "Convert ingestion spec to SQL"
},
"tutorials/tutorial-msq-extern": {
"title": "Tutorial: Load files with SQL-based ingestion",
"sidebar_label": "Load files using SQL 🆕"
},
"tutorials/tutorial-query": {
"title": "Tutorial: Querying data",
"sidebar_label": "Querying data"
},
"tutorials/tutorial-retention": {
"title": "Tutorial: Configuring data retention",
"sidebar_label": "Configuring data retention"
},
"tutorials/tutorial-rollup": {
"title": "Tutorial: Roll-up",
"sidebar_label": "Roll-up"
},
"tutorials/tutorial-sketches-theta": {
"title": "Approximations with Theta sketches",
"sidebar_label": "Theta sketches"
},
"tutorials/tutorial-transform-spec": {
"title": "Tutorial: Transforming input data",
"sidebar_label": "Transforming input data"
},
"tutorials/tutorial-unnest-datasource": {
"title": "Tutorial: Unnest data in a column",
"sidebar_label": "Using the unnest datasource"
},
"tutorials/tutorial-update-data": {
"title": "Tutorial: Updating existing data",
"sidebar_label": "Updating existing data"
}
},
"links": {
"Technology": "Technology",
"Use Cases": "Use Cases",
"Powered By": "Powered By",
"Docs": "Docs",
"Community": "Community",
"Apache": "Apache",
"Download": "Download"
},
"categories": {
"Getting started": "Getting started",
"Tutorials": "Tutorials",
"Design": "Design",
"Ingestion": "Ingestion",
"Data management": "Data management",
"Querying": "Querying",
"Configuration": "Configuration",
"Operations": "Operations",
"Development": "Development",
"Misc": "Misc",
"Hidden": "Hidden"
}
},
"pages-strings": {
"Help Translate|recruit community translators for your project": "Help Translate",
"Edit this Doc|recruitment message asking to edit the doc source": "Edit",
"Translate this Doc|recruitment message asking to translate the docs": "Translate"
}
}

View File

@ -39,8 +39,8 @@
to stage documentation for an unreleased version to stage documentation for an unreleased version
--> -->
<website.version>${project.parent.version}</website.version> <website.version>${project.parent.version}</website.version>
<node.version>v10.24.1</node.version> <node.version>v16.17.0</node.version>
<npm.version>6.14.12</npm.version> <npm.version>8.15.0</npm.version>
</properties> </properties>
<build> <build>
@ -71,6 +71,17 @@
<installDirectory>${project.build.directory}</installDirectory> <installDirectory>${project.build.directory}</installDirectory>
</configuration> </configuration>
</execution> </execution>
<execution>
<id>spellcheck</id>
<goals>
<goal>npm</goal>
</goals>
<phase>test</phase>
<configuration>
<arguments>run spellcheck</arguments>
<workingDirectory>${project.build.directory}</workingDirectory>
</configuration>
</execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>