mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
In Maven parent project, in dependency management, we should only declare which versions of 3rd party jars we want to use but not force any scope. It makes then more obvious in modules what is exactly the scope of any dependency. For example, one could imagine importing `jimfs` as a `compile` dependency in another module/plugin with: ```xml <dependency> <groupId>com.google.jimfs</groupId> <artifactId>jimfs</artifactId> </dependency> ``` But it won't work as expected as the default maven `scope` should be `compile` but here it's `test` as defined in the parent project. So, if you want to use this lib for tests, you should simply define: ```xml <dependency> <groupId>com.google.jimfs</groupId> <artifactId>jimfs</artifactId> <scope>test</scope> </dependency> ``` We also remove `maven-s3-wagon` from gce plugin as it's not used.
59 lines
2.2 KiB
XML
59 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Licensed to Elasticsearch under one or more contributor
|
|
license agreements. See the NOTICE file distributed with this work for additional
|
|
information regarding copyright ownership. Elasticsearch 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. -->
|
|
|
|
<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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
|
<artifactId>elasticsearch-cloud-gce</artifactId>
|
|
|
|
|
|
<name>Elasticsearch Google Compute Engine cloud plugin</name>
|
|
<description>The Google Compute Engine (GCE) Cloud plugin allows to use GCE API for the unicast discovery mechanism.</description>
|
|
|
|
<parent>
|
|
<groupId>org.elasticsearch</groupId>
|
|
<artifactId>elasticsearch-plugin</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
|
|
<properties>
|
|
<google.gce.version>v1-rev59-1.20.0</google.gce.version>
|
|
<es.plugin.port>9300</es.plugin.port>
|
|
<!-- currently has no unit tests -->
|
|
<tests.ifNoTests>warn</tests.ifNoTests>
|
|
<tests.jvms>1</tests.jvms>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- Google APIs -->
|
|
<dependency>
|
|
<groupId>com.google.apis</groupId>
|
|
<artifactId>google-api-services-compute</artifactId>
|
|
<version>${google.gce.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|