Elasticsearch Parent POM


License

License

Categories

Categories

Search Business Logic Libraries Elasticsearch
GroupId

GroupId

org.elasticsearch
ArtifactId

ArtifactId

elasticsearch-parent
Last Version

Last Version

1.7.5
Release Date

Release Date

Type

Type

pom
Description

Description

Elasticsearch Parent POM
Elasticsearch Parent POM
Source Code Management

Source Code Management

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

Download elasticsearch-parent

How to add to project

<!-- 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"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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

Versions

Version
1.7.5
1.7.0
1.6.0
1.5.2
1.5.0