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

Summary

Lucene Core.

Apache Lucene Java Core.

Declaration

Here is the list of declaration for lucene-core. 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-core</artifactId>
   <version>4.9.0</version>
</dependency>

If you think this Maven repository POM file listing for lucene-core 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-core-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-core-4.9.0.jar

  1. forbiddenapis
  2. maven-compiler-plugin
  3. maven-surefire-plugin

Packages

The following packages are defined in the lucene-core-4.9.0.jar

org.apache.lucene
org.apache.lucene.analysis
org.apache.lucene.analysis.tokenattributes
org.apache.lucene.codecs
org.apache.lucene.codecs.blocktree
org.apache.lucene.codecs.compressing
org.apache.lucene.codecs.lucene3x
org.apache.lucene.codecs.lucene40
org.apache.lucene.codecs.lucene41
org.apache.lucene.codecs.lucene42
org.apache.lucene.codecs.lucene45
org.apache.lucene.codecs.lucene46
org.apache.lucene.codecs.lucene49
org.apache.lucene.codecs.perfield
org.apache.lucene.document
org.apache.lucene.index
org.apache.lucene.search
org.apache.lucene.search.payloads
org.apache.lucene.search.similarities
org.apache.lucene.search.spans
org.apache.lucene.store
org.apache.lucene.util
org.apache.lucene.util.automaton
org.apache.lucene.util.fst
org.apache.lucene.util.mutable
org.apache.lucene.util.packed




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-core</artifactId>
  <packaging>jar</packaging>
  <name>Lucene Core</name>
  <description>Apache Lucene Java Core</description>
  <properties>
    <module-directory>lucene/core</module-directory>
    <relative-top-level>../../../../..</relative-top-level>
    <module-path>${relative-top-level}/${module-directory}/src/java</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>
  <build>
    <sourceDirectory>${module-path}</sourceDirectory>
    <resources>
      <resource>
        <directory>${module-path}/../resources</directory>
      </resource>
    </resources>
    <testSourceDirectory/>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <skip>true</skip> <!-- Tests are run from lucene-codecs-tests module -->
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <skip>true</skip> <!-- This skips test compilation - tests are run from lucene-codecs-tests module -->
        </configuration>
      </plugin>
      <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>lucene-shared-test-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> <!-- separate execution to specify excludes -->
            <configuration>
              <bundledSignatures>
                <bundledSignature>jdk-system-out</bundledSignature>
              </bundledSignatures>
              <excludes>
                <!-- exclude command line tools -->
                <exclude>org/apache/lucene/index/CheckIndex.class</exclude>
                <exclude>org/apache/lucene/index/IndexUpgrader.class</exclude>
                <exclude>org/apache/lucene/store/LockVerifyServer.class</exclude>
                <exclude>org/apache/lucene/store/LockStressTest.class</exclude>
                <!-- not printing, just checking if it's a system stream -->
                <exclude>org/apache/lucene/util/PrintStreamInfoStream.class</exclude>
              </excludes>
            </configuration>
            <goals>
              <goal>check</goal>
            </goals>
          </execution>
          <execution>
            <id>check-rue</id> <!-- separate execution to specify excludes -->
            <configuration>
              <signaturesFiles>
                <signaturesFile>${top-level}/lucene/tools/forbiddenApis/rue.txt</signaturesFile>
              </signaturesFiles>
              <excludes>
                <exclude>org/apache/lucene/search/FieldCache$CacheEntry.class</exclude>
                <exclude>org/apache/lucene/util/RamUsageEstimator.class</exclude>
                <exclude>org/apache/lucene/search/CachingWrapperFilter.class</exclude>
              </excludes>
            </configuration>
            <goals>
              <goal>check</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>