Maven Repository - POM file for Search lucene-queryparser 4.9.0 4.9.0

Summary

Lucene QueryParsers.

Lucene QueryParsers module.

Declaration

Here is the list of declaration for lucene-queryparser. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>org.apache.lucene</groupId>
   <artifactId>lucene-queryparser</artifactId>
   <version>4.9.0</version>
</dependency>

If you think this Maven repository POM file listing for lucene-queryparser is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

License

Apache License.

Depended by

The following table lists the most popular artifacts which are depending on lucene-queryparser-4.9.0. Their categories and depend by count are also listed.

CategoryArtifactDepended By Count
Web Serviceelasticsearch 1.3.0
Elasticsearch - Open Source, Distributed, RESTful Search Engine
11




Plugin

The following plugins are used in the lucene-queryparser-4.9.0.jar

  1. forbiddenapis

POM File Source

Here is the content of the POM file.

<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>4.9.0</version>
    <relativePath>../pom.xml</relativePath>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-queryparser</artifactId>
  <packaging>jar</packaging>
  <name>Lucene QueryParsers</name>
  <description>Lucene QueryParsers module</description>
  <properties>
    <module-directory>lucene/queryparser</module-directory>
    <relative-top-level>../../..</relative-top-level>
    <module-path>${relative-top-level}/${module-directory}</module-path>
  </properties>
  <scm>
    <connection>scm:svn:${vc-anonymous-base-url}/${module-directory}</connection>
    <developerConnection>scm:svn:${vc-dev-base-url}/${module-directory}</developerConnection>
    <url>${vc-browse-base-url}/${module-directory}</url>
  </scm>
  <dependencies>
    <dependency> 
      <!-- lucene-test-framework dependency must be declared before lucene-core -->
      <groupId>org.apache.lucene</groupId>
      <artifactId>lucene-test-framework</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.lucene</groupId>
      <artifactId>lucene-core</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.lucene</groupId>
      <artifactId>lucene-queries</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.lucene</groupId>
      <artifactId>lucene-sandbox</artifactId>
    </dependency>

    <dependency>
      <groupId>org.apache.lucene</groupId>
      <artifactId>lucene-codecs</artifactId>
      <scope>test</scope>
    </dependency>

  </dependencies>
  <build>
    <sourceDirectory>${module-path}/src/java</sourceDirectory>
    <resources>
      <resource>
        <directory>${module-path}/src/resources</directory>
      </resource>
    </resources>
    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
    <testResources>
      <testResource>
        <directory>${project.build.testSourceDirectory}</directory>
        <excludes>
          <exclude>**/*.java</exclude>
        </excludes>
      </testResource>
    </testResources>
    <plugins>
      <plugin>
        <groupId>de.thetaphi</groupId>
        <artifactId>forbiddenapis</artifactId>
        <executions>
          <execution>
            <id>lucene-shared-check-forbidden-apis</id>
            <phase>none</phase> <!-- Block inherited execution -->
          </execution>
          <execution>
            <id>check-forbidden-apis</id>
            <configuration>
              <!-- disallow undocumented classes like sun.misc.Unsafe: -->
              <internalRuntimeForbidden>true</internalRuntimeForbidden>
              <bundledSignatures>
                <bundledSignature>jdk-unsafe</bundledSignature>
                <bundledSignature>jdk-deprecated</bundledSignature>
              </bundledSignatures>
              <signaturesFiles>
                <signaturesFile>${top-level}/lucene/tools/forbiddenApis/base.txt</signaturesFile>
              </signaturesFiles>
            </configuration>
            <goals>
              <goal>check</goal>
            </goals>
          </execution>
          <execution>
            <id>check-system-out</id>
            <configuration>
              <bundledSignatures>
                <bundledSignature>jdk-system-out</bundledSignature>
              </bundledSignatures>
              <excludes>
                <!-- not printing, just generated code from javacc -->
                <exclude>org/apache/lucene/queryparser/classic/QueryParserTokenManager.class</exclude>
                <exclude>org/apache/lucene/queryparser/flexible/standard/parser/StandardSyntaxParserTokenManager.class</exclude>
                <exclude>org/apache/lucene/queryparser/surround/parser/QueryParserTokenManager.class</exclude>
              </excludes>
            </configuration>
            <goals>
              <goal>check</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>