This is an automated email from the ASF dual-hosted git repository.
mdrob pushed a commit to branch jira/solr-15556-antora
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/jira/solr-15556-antora by this
push:
new e3d19b8 Fix attribute keys
e3d19b8 is described below
commit e3d19b82cef4ccf6a56fb5555f7fca5cf90a409d
Author: Mike Drob <[email protected]>
AuthorDate: Wed Jan 26 10:32:15 2022 -0600
Fix attribute keys
---
solr/solr-ref-guide/build.gradle | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/solr/solr-ref-guide/build.gradle b/solr/solr-ref-guide/build.gradle
index a3d0bfd..55d1244 100644
--- a/solr/solr-ref-guide/build.gradle
+++ b/solr/solr-ref-guide/build.gradle
@@ -311,13 +311,14 @@ antora {
// TODO this is duplicated but I think the other instance of this is going
away because it's specific to jekyll?
// Set these dependency versions as lazy gstrings so that they're resolved
after evaluation.
arguments = [
- ["ivyCommonsCodec", "commons-codec", "commons-codec"],
- ["ivyDropwizardMetrics", "io.dropwizard.metrics", "metrics-core"],
- ["ivyHadoop", "org.apache.hadoop", "hadoop-auth"],
- ["ivyLog4j", "org.apache.logging.log4j", "log4j-core"],
- ["ivyOpennlpTools", "org.apache.opennlp", "opennlp-tools"],
- ["ivyTika", "org.apache.tika", "tika-core"],
- ["ivyZookeeper", "org.apache.zookeeper", "zookeeper"],
+ // [ asciidoctor-attribute-key, "maven.groupId", "maven.artifactId" ]
+ ["ivy-commons-codec-version", "commons-codec", "commons-codec"],
+ ["ivy-dropwizard-version", "io.dropwizard.metrics",
"metrics-core"],
+ ["ivy-hadoop-version", "org.apache.hadoop", "hadoop-auth"],
+ ["ivy-log4j-version", "org.apache.logging.log4j", "log4j-core"],
+ ["ivy-opennlp-version", "org.apache.opennlp", "opennlp-tools"],
+ ["ivy-tika-version", "org.apache.tika", "tika-core"],
+ ["ivy-zookeeper-version", "org.apache.zookeeper", "zookeeper"],
].collectEntries {
propKey, depGroup, depId -> [propKey, "${ ->
project.getVersion(depGroup, depId) }"]
}.collect { k,v -> ['--attribute', "$k=$v"]}.flatten() + '--fetch'