From 084809b77cc6b62be5f6f888d78574487cb3ec5b Mon Sep 17 00:00:00 2001 From: Steve Rowe Date: Wed, 2 Nov 2016 09:57:35 -0400 Subject: [PATCH] SOLR-8542: Add maven config and improve IntelliJ config. --- dev-tools/idea/.idea/modules.xml | 4 +- dev-tools/idea/.idea/workspace.xml | 72 ++++++++++------- dev-tools/idea/solr/contrib/ltr/ltr.iml | 6 +- .../maven/solr/contrib/ltr/pom.xml.template | 80 +++++++++++++++++++ dev-tools/maven/solr/contrib/pom.xml.template | 1 + 5 files changed, 127 insertions(+), 36 deletions(-) create mode 100644 dev-tools/maven/solr/contrib/ltr/pom.xml.template diff --git a/dev-tools/idea/.idea/modules.xml b/dev-tools/idea/.idea/modules.xml index 5d2d106a449..d6b44f48500 100644 --- a/dev-tools/idea/.idea/modules.xml +++ b/dev-tools/idea/.idea/modules.xml @@ -49,18 +49,18 @@ + + - - diff --git a/dev-tools/idea/.idea/workspace.xml b/dev-tools/idea/.idea/workspace.xml index 7750e90e15b..65be571e7fb 100644 --- a/dev-tools/idea/.idea/workspace.xml +++ b/dev-tools/idea/.idea/workspace.xml @@ -228,6 +228,14 @@ + + + + + + + + + + + + - - - - - - - - + @@ -378,20 +386,22 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/dev-tools/idea/solr/contrib/ltr/ltr.iml b/dev-tools/idea/solr/contrib/ltr/ltr.iml index efc505d8d6f..37369e62c44 100644 --- a/dev-tools/idea/solr/contrib/ltr/ltr.iml +++ b/dev-tools/idea/solr/contrib/ltr/ltr.iml @@ -15,14 +15,14 @@ - + - + - + diff --git a/dev-tools/maven/solr/contrib/ltr/pom.xml.template b/dev-tools/maven/solr/contrib/ltr/pom.xml.template new file mode 100644 index 00000000000..67d74e755a6 --- /dev/null +++ b/dev-tools/maven/solr/contrib/ltr/pom.xml.template @@ -0,0 +1,80 @@ + + + 4.0.0 + + org.apache.solr + solr-parent + @version@ + ../../pom.xml + + org.apache.solr + solr-ltr + jar + Apache Solr Analytics Package + + Apache Solr Learning to Rank Package + + + solr/contrib/ltr + ../../../.. + ${relative-top-level}/${module-directory} + + + scm:git:${vc-anonymous-base-url} + scm:git:${vc-dev-base-url} + ${vc-browse-base-url};f=${module-directory} + + + + + + + org.apache.lucene + lucene-test-framework + test + + + org.apache.solr + solr-test-framework + test + + @solr-analytics.internal.dependencies@ + @solr-analytics.external.dependencies@ + @solr-analytics.internal.test.dependencies@ + @solr-analytics.external.test.dependencies@ + + + ${module-path}/src/java + ${module-path}/src/test + + + ${module-path}/src/test-files + + + ${top-level}/dev-tools/maven/solr + + maven.testlogging.properties + + + + + diff --git a/dev-tools/maven/solr/contrib/pom.xml.template b/dev-tools/maven/solr/contrib/pom.xml.template index 9b020108c35..6ca72b21837 100644 --- a/dev-tools/maven/solr/contrib/pom.xml.template +++ b/dev-tools/maven/solr/contrib/pom.xml.template @@ -38,6 +38,7 @@ dataimporthandler-extras extraction langid + ltr morphlines-cell morphlines-core map-reduce