Apache Lucene open-source search software
LUCENE-5207: maven/idea config
Robert Muir8d84d3b5ff6e
diff --git a/dev-tools/idea/lucene/expressions/expressions.iml b/dev-tools/idea/lucene/expressions/expressions.imlnew file mode 100644index 00000000000..9b501537640--- /dev/null+++ b/dev-tools/idea/lucene/expressions/expressions.iml@@ -0,0 +1,29 @@+<?xml version="1.0" encoding="UTF-8"?>+<module type="JAVA_MODULE" version="4">+ <component name="NewModuleRootManager" inherit-compiler-output="false">+ <output url="file://$MODULE_DIR$/../../idea-build/lucene/expressions/classes/java" />+ <output-test url="file://$MODULE_DIR$/../../idea-build/lucene/expressions/classes/test" />+ <exclude-output />+ <content url="file://$MODULE_DIR$">+ <sourceFolder url="file://$MODULE_DIR$/src/java" isTestSource="false" />+ <sourceFolder url="file://$MODULE_DIR$/src/test" isTestSource="true" />+ </content>+ <orderEntry type="inheritedJdk" />+ <orderEntry type="sourceFolder" forTests="false" />+ <orderEntry type="module-library">+ <library>+ <CLASSES>+ <root url="file://$MODULE_DIR$/lib" />+ </CLASSES>+ <JAVADOC />+ <SOURCES />+ <jarDirectory url="file://$MODULE_DIR$/lib" recursive="false" />+ </library>+ </orderEntry>+ <orderEntry type="library" scope="TEST" name="JUnit" level="project" />+ <orderEntry type="module" scope="TEST" module-name="lucene-test-framework" />+ <orderEntry type="module" module-name="lucene-core" />+ <orderEntry type="module" module-name="queries" />+ </component>+</module>+diff --git a/dev-tools/maven/lucene/expressions/pom.xml.template b/dev-tools/maven/lucene/expressions/pom.xml.templatenew file mode 100644index 00000000000..e9183dd5e92--- /dev/null+++ b/dev-tools/maven/lucene/expressions/pom.xml.template@@ -0,0 +1,72 @@+<project xmlns="http://maven.apache.org/POM/4.0.0"+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">+ <!--+ Licensed to the Apache Software Foundation (ASF) under one+ or more contributor license agreements. See the NOTICE file+ distributed with this work for additional information+ regarding copyright ownership. The ASF licenses this file+ to you under the Apache License, Version 2.0 (the+ "License"); you may not use this file except in compliance+ with the License. You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing,+ software distributed under the License is distributed on an+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY+ KIND, either express or implied. See the License for the+ specific language governing permissions and limitations+ under the License.+ -->+ <modelVersion>4.0.0</modelVersion>+ <parent>+ <groupId>org.apache.lucene</groupId>+ <artifactId>lucene-parent</artifactId>+ <version>@version@</version>+ <relativePath>../pom.xml</relativePath>+ </parent>+ <groupId>org.apache.lucene</groupId>+ <artifactId>lucene-expressions</artifactId>+ <packaging>jar</packaging>+ <name>Lucene Expressions</name>+ <description>+ Dynamically computed values to sort/facet/search on based on a pluggable grammar.+ </description>+ <properties>+ <module-directory>lucene/expressions</module-directory>+ <relative-top-level>../../..</relative-top-level>+ <module-path>${relative-top-level}/${module-directory}</module-path>+ </properties>+ <dependencies>+ <dependency>+ <!-- lucene-test-framework dependency must be declared before lucene-core -->+ <groupId>${project.groupId}</groupId>+ <artifactId>lucene-test-framework</artifactId>+ <version>${project.version}</version>+ <scope>test</scope>+ </dependency>+ <dependency>+ <groupId>org.antlr</groupId>+ <artifactId>antlr-runtime</artifactId>+ </dependency>+ <dependency>+ <groupId>org.ow2.asm</groupId>+ <artifactId>asm</artifactId>+ </dependency>+ <dependency>+ <groupId>${project.groupId}</groupId>+ <artifactId>lucene-core</artifactId>+ <version>${project.version}</version>+ </dependency>+ <dependency>+ <groupId>${project.groupId}</groupId>+ <artifactId>lucene-queries</artifactId>+ <version>${project.version}</version>+ </dependency>+ </dependencies>+ <build>+ <sourceDirectory>${module-path}/src/java</sourceDirectory>+ <testSourceDirectory>${module-path}/src/test</testSourceDirectory>+ </build>+</project>diff --git a/dev-tools/maven/lucene/pom.xml.template b/dev-tools/maven/lucene/pom.xml.templateindex f4dc978f1b5..6709d3b227d 100644--- a/dev-tools/maven/lucene/pom.xml.template+++ b/dev-tools/maven/lucene/pom.xml.template@@ -47,6 +47,7 @@<module>benchmark</module><module>classification</module><module>demo</module>+ <module>expressions</module><module>facet</module><module>grouping</module><module>highlighter</module>diff --git a/dev-tools/maven/pom.xml.template b/dev-tools/maven/pom.xml.templateindex f838045b974..9ed8ccdcf59 100644--- a/dev-tools/maven/pom.xml.template+++ b/dev-tools/maven/pom.xml.template@@ -265,6 +265,27 @@</exclusion></exclusions></dependency>+ <dependency>+ <groupId>org.antlr</groupId>+ <artifactId>antlr-runtime</artifactId>+ <version>3.4</version>+ <!-- these are dependencies to compile antlr-runtime itself -->+ <exclusions>+ <exclusion>+ <groupId>antlr</groupId>+ <artifactId>antlr</artifactId>+ </exclusion>+ <exclusion>+ <groupId>org.antlr</groupId>+ <artifactId>stringtemplate</artifactId>+ </exclusion>+ </exclusions>+ </dependency>+ <dependency>+ <groupId>org.ow2.asm</groupId>+ <artifactId>asm</artifactId>+ <version>4.1</version>+ </dependency><dependency><groupId>org.apache.ant</groupId><artifactId>ant</artifactId>