Elasticsearch Parent POM


Лицензия

Лицензия

Категории

Категории

Search Прикладные библиотеки Elasticsearch
Группа

Группа

org.elasticsearch
Идентификатор

Идентификатор

elasticsearch-parent
Последняя версия

Последняя версия

1.7.5
Дата

Дата

Тип

Тип

pom
Описание

Описание

Elasticsearch Parent POM
Elasticsearch Parent POM
Система контроля версий

Система контроля версий

http://github.com/elasticsearch/elasticsearch-parent

Скачать elasticsearch-parent

Имя Файла Размер
elasticsearch-parent-1.7.5.pom 44 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.elasticsearch/elasticsearch-parent/ -->
<dependency>
    <groupId>org.elasticsearch</groupId>
    <artifactId>elasticsearch-parent</artifactId>
    <version>1.7.5</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.elasticsearch/elasticsearch-parent/
implementation 'org.elasticsearch:elasticsearch-parent:1.7.5'
// https://jarcasting.com/artifacts/org.elasticsearch/elasticsearch-parent/
implementation ("org.elasticsearch:elasticsearch-parent:1.7.5")
'org.elasticsearch:elasticsearch-parent:pom:1.7.5'
<dependency org="org.elasticsearch" name="elasticsearch-parent" rev="1.7.5">
  <artifact name="elasticsearch-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.elasticsearch', module='elasticsearch-parent', version='1.7.5')
)
libraryDependencies += "org.elasticsearch" % "elasticsearch-parent" % "1.7.5"
[org.elasticsearch/elasticsearch-parent "1.7.5"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Common project for all elasticsearch java projects

This project provides a pom parent artifact for elasticsearch java projects such as core and official plugins.

It declares versions to use for dependencies and plugins so when something needs to be updated within multiple projects, only this project basically needs an update.

Plugins

To define elasticsearch-parent as a parent project in a plugin project, you just need to add the following in pom.xml file:

<parent>
    <groupId>org.elasticsearch</groupId>
    <artifactId>elasticsearch-parent</artifactId>
    <version>2.0.0</version>
</parent>

Then, depending on a given library can be done without explicitly setting a version (nor a scope):

<dependencies>
    <dependency>
        <groupId>org.hamcrest</groupId>
        <artifactId>hamcrest-all</artifactId>
    </dependency>
    <dependency>
        <groupId>org.elasticsearch</groupId>
        <artifactId>elasticsearch</artifactId>
    </dependency>
</dependencies>

Same goes for plugins:

<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
        </plugin>
    </plugins>
</build>

If you need to depend on a parent SNAPSHOT version, you need to declare the sonatype SNAPSHOT repository:

  • either add this to your ~/.m2/settings.xml or to the pom.xml:

<repositories>
    <repository>
        <id>oss-snapshots</id>
        <name>Sonatype OSS Snapshots</name>
        <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
    </repository>
</repositories>

Note that to release a plugin which depends on a SNAPSHOT parent version, a release of the parent project is required first.

org.elasticsearch

elasticsearch

Версии библиотеки

Версия
1.7.5
1.7.0
1.6.0
1.5.2
1.5.0