2015-10-29 14:40:19 -04:00
|
|
|
/*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
esplugin {
|
|
|
|
description 'The Azure Discovery plugin allows to use Azure API for the unicast discovery mechanism.'
|
|
|
|
classname 'org.elasticsearch.plugin.discovery.azure.AzureDiscoveryPlugin'
|
|
|
|
}
|
|
|
|
|
2015-11-10 17:58:46 -05:00
|
|
|
versions << [
|
2015-12-04 02:30:55 -05:00
|
|
|
'azure': '0.9.0',
|
2015-11-10 17:58:46 -05:00
|
|
|
'jersey': '1.13'
|
|
|
|
]
|
|
|
|
|
2015-10-29 14:40:19 -04:00
|
|
|
dependencies {
|
2015-12-04 02:30:55 -05:00
|
|
|
compile "com.microsoft.azure:azure-svc-mgmt-compute:${versions.azure}"
|
2015-11-10 17:58:46 -05:00
|
|
|
compile "com.microsoft.azure:azure-core:${versions.azure}"
|
2015-10-29 14:40:19 -04:00
|
|
|
compile "org.apache.httpcomponents:httpclient:${versions.httpclient}"
|
2015-11-10 17:58:46 -05:00
|
|
|
compile "org.apache.httpcomponents:httpcore:${versions.httpcore}"
|
|
|
|
compile "commons-logging:commons-logging:${versions.commonslogging}"
|
|
|
|
compile "commons-codec:commons-codec:${versions.commonscodec}"
|
2015-12-04 02:30:55 -05:00
|
|
|
compile "commons-lang:commons-lang:2.6"
|
|
|
|
compile "commons-io:commons-io:2.4"
|
2015-11-10 17:58:46 -05:00
|
|
|
compile 'javax.mail:mail:1.4.5'
|
|
|
|
compile 'javax.inject:javax.inject:1'
|
|
|
|
compile "com.sun.jersey:jersey-client:${versions.jersey}"
|
|
|
|
compile "com.sun.jersey:jersey-core:${versions.jersey}"
|
|
|
|
compile "com.sun.jersey:jersey-json:${versions.jersey}"
|
|
|
|
compile 'org.codehaus.jettison:jettison:1.1'
|
|
|
|
compile 'com.sun.xml.bind:jaxb-impl:2.2.3-1'
|
|
|
|
compile 'org.codehaus.jackson:jackson-core-asl:1.9.2'
|
|
|
|
compile 'org.codehaus.jackson:jackson-mapper-asl:1.9.2'
|
|
|
|
compile 'org.codehaus.jackson:jackson-jaxrs:1.9.2'
|
|
|
|
compile 'org.codehaus.jackson:jackson-xc:1.9.2'
|
2015-10-29 14:40:19 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencyLicenses {
|
|
|
|
mapping from: /azure-.*/, to: 'azure'
|
|
|
|
mapping from: /jackson-.*/, to: 'jackson'
|
|
|
|
mapping from: /jersey-.*/, to: 'jersey'
|
|
|
|
mapping from: /jaxb-.*/, to: 'jaxb'
|
|
|
|
}
|
|
|
|
|
2016-01-11 13:35:59 -05:00
|
|
|
compileJava.options.compilerArgs << '-Xlint:-path,-unchecked'
|
2015-10-29 14:40:19 -04:00
|
|
|
|
2015-12-16 16:38:16 -05:00
|
|
|
thirdPartyAudit.excludes = [
|
2015-12-28 22:38:55 -05:00
|
|
|
// classes are missing
|
|
|
|
'javax.servlet.ServletContextEvent',
|
|
|
|
'javax.servlet.ServletContextListener',
|
|
|
|
'org.apache.avalon.framework.logger.Logger',
|
|
|
|
'org.apache.log.Hierarchy',
|
|
|
|
'org.apache.log.Logger',
|
|
|
|
'org.eclipse.persistence.descriptors.ClassDescriptor',
|
|
|
|
'org.eclipse.persistence.internal.oxm.MappingNodeValue',
|
|
|
|
'org.eclipse.persistence.internal.oxm.TreeObjectBuilder',
|
|
|
|
'org.eclipse.persistence.internal.oxm.XPathFragment',
|
|
|
|
'org.eclipse.persistence.internal.oxm.XPathNode',
|
|
|
|
'org.eclipse.persistence.internal.queries.ContainerPolicy',
|
|
|
|
'org.eclipse.persistence.jaxb.JAXBContext',
|
|
|
|
'org.eclipse.persistence.jaxb.JAXBHelper',
|
|
|
|
'org.eclipse.persistence.mappings.DatabaseMapping',
|
|
|
|
'org.eclipse.persistence.mappings.converters.TypeConversionConverter',
|
|
|
|
'org.eclipse.persistence.mappings.foundation.AbstractCompositeDirectCollectionMapping',
|
|
|
|
'org.eclipse.persistence.oxm.XMLContext',
|
|
|
|
'org.eclipse.persistence.oxm.XMLDescriptor',
|
|
|
|
'org.eclipse.persistence.oxm.XMLField',
|
|
|
|
'org.eclipse.persistence.oxm.mappings.XMLCompositeCollectionMapping',
|
|
|
|
'org.eclipse.persistence.sessions.DatabaseSession',
|
|
|
|
'org.jvnet.fastinfoset.VocabularyApplicationData',
|
|
|
|
'org.jvnet.staxex.Base64Data',
|
|
|
|
'org.jvnet.staxex.XMLStreamReaderEx',
|
|
|
|
'org.jvnet.staxex.XMLStreamWriterEx',
|
|
|
|
'org.osgi.framework.Bundle',
|
|
|
|
'org.osgi.framework.BundleActivator',
|
|
|
|
'org.osgi.framework.BundleContext',
|
|
|
|
'org.osgi.framework.BundleEvent',
|
|
|
|
'org.osgi.framework.SynchronousBundleListener',
|
|
|
|
'com.sun.xml.fastinfoset.stax.StAXDocumentParser',
|
|
|
|
'com.sun.xml.fastinfoset.stax.StAXDocumentSerializer',
|
2015-12-16 16:38:16 -05:00
|
|
|
]
|