Unverified Commit 1da9e25d authored by User expired's avatar User expired
Browse files

externalizing dependency versions

parent 92403464
Upcoming version:
-----------------
- externalizing dependency versions (Nikolaus Krismer)
- updating webpack (Nikolaus Krismer)
- trying to harmonize selenium browsers (FF, chrome & phantomjs) (Nikolaus Krismer)
- trying to fix selenium's WebDriverException (Nikolaus Krismer)
......
......@@ -43,12 +43,22 @@ ext {
// drivers = ["chrome", "phantomJS"]
drivers = ["firefox"]
versionALPN = '8+'
versionChromeDriver = '2.31'
versionCommonsJCS = '+'
versionCommonsMath = '+'
versionConfigBuilder = '1+'
versionEqualsverifier = '2+'
versionFindbugs = '+'
versionGeckoDriver = 'v0.18.0'
versionGeoserverManager = '+'
versionGeotools = '+'
versionGhostDriver = '2.1.0'
versionHttpClient = '+'
versionIsochrone = project.version
versionJAI = '+'
versionJackson = '2.4+'
versionJacksonGeojson = '1.5'
versionJacoco = '0.7.9+'
versionJersey = '2.25'
versionJetty = '9+'
......@@ -58,6 +68,8 @@ ext {
versionPhantomJs = '2.1.1'
versionSelenium = '3.+'
versionServletApi = '3.1.0'
versionTestNG = '6+'
versionTomcatWebsocket = '8+'
versionWebsocketApi = '1.0'
}
......@@ -138,57 +150,57 @@ dependencies {
}
}
compile 'de.grundid.opendatalab:geojson-jackson:1.5'
compile 'com.fasterxml.jackson.core:jackson-core:2.4+'
compile 'com.fasterxml.jackson.core:jackson-databind:2.4+'
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.4+'
compile "com.google.code.findbugs:annotations:$versionFindbugs"
compile 'com.tngtech.java:config-builder:1+'
compile ('it.geosolutions:geoserver-manager:+') { exclude module: 'jcl-over-slf4j' }
compile 'javax.media.jai:com.springsource.javax.media.jai.core:+'
compile 'org.apache.commons:commons-jcs-core:+'
compile 'org.apache.commons:commons-math3:+'
compile "org.apache.logging.log4j:log4j-api:$versionLog4j"
compile ("org.geotools:gt-api:$versionGeotools") { exclude module: 'jai_core' }
compile ("org.geotools:gt-epsg-hsql:$versionGeotools") { exclude module: 'jai_core' }
compile "de.grundid.opendatalab:geojson-jackson:${versionJacksonGeojson}"
compile "com.fasterxml.jackson.core:jackson-core:${versionJackson}"
compile "com.fasterxml.jackson.core:jackson-databind:${versionJackson}"
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${versionJackson}"
compile "com.google.code.findbugs:annotations:${versionFindbugs}"
compile "com.tngtech.java:config-builder:${versionConfigBuilder}"
compile ("it.geosolutions:geoserver-manager:${versionGeoserverManager}") { exclude module: 'jcl-over-slf4j' }
compile "javax.media.jai:com.springsource.javax.media.jai.core:${versionJAI}"
compile "org.apache.commons:commons-jcs-core:${versionCommonsJCS}"
compile "org.apache.commons:commons-math3:${versionCommonsMath}"
compile "org.apache.logging.log4j:log4j-api:${versionLog4j}"
compile ("org.geotools:gt-api:${versionGeotools}") { exclude module: 'jai_core' }
compile ("org.geotools:gt-epsg-hsql:${versionGeotools}") { exclude module: 'jai_core' }
compile "org.glassfish.jersey.containers:jersey-container-servlet:${versionJersey}"
compile "org.glassfish.jersey.media:jersey-media-json-jackson:${versionJersey}"
// provided dependencies (by jetty, tomcat or any other servlet container)
providedCompile "javax.servlet:javax.servlet-api:$versionServletApi"
providedCompile "javax.websocket:javax.websocket-api:$versionWebsocketApi"
providedCompile "javax.servlet:javax.servlet-api:${versionServletApi}"
providedCompile "javax.websocket:javax.websocket-api:${versionWebsocketApi}"
// adding tomcat-embed-websocket for integration testing (so gretty is able to allow websocket connections)
providedCompile ('org.apache.tomcat.embed:tomcat-embed-websocket:8+') { exclude module: 'tomcat-embed-core' }
providedCompile ("org.apache.tomcat.embed:tomcat-embed-websocket:${versionTomcatWebsocket}") { exclude module: 'tomcat-embed-core' }
// dependencies for logging
runtime "org.apache.logging.log4j:log4j-core:$versionLog4j"
runtime "org.apache.logging.log4j:log4j-jcl:$versionLog4j"
runtime "org.apache.logging.log4j:log4j-jul:$versionLog4j"
runtime "org.apache.logging.log4j:log4j-slf4j-impl:$versionLog4j"
runtime "org.apache.logging.log4j:log4j-web:$versionLog4j"
runtime "org.apache.logging.log4j:log4j-core:${versionLog4j}"
runtime "org.apache.logging.log4j:log4j-jcl:${versionLog4j}"
runtime "org.apache.logging.log4j:log4j-jul:${versionLog4j}"
runtime "org.apache.logging.log4j:log4j-slf4j-impl:${versionLog4j}"
runtime "org.apache.logging.log4j:log4j-web:${versionLog4j}"
integrationCompile("com.github.detro:ghostdriver:$versionGhostDriver") {
integrationCompile("com.github.detro:ghostdriver:${versionGhostDriver}") {
// phantomjs driver pulls in a different selenium version
transitive = false
}
integrationCompile 'com.google.code.findbugs:annotations:+'
integrationCompile 'org.testng:testng:6+'
integrationCompile "org.seleniumhq.selenium:selenium-chrome-driver:$versionSelenium"
integrationCompile "org.seleniumhq.selenium:selenium-firefox-driver:$versionSelenium"
integrationCompile "org.seleniumhq.selenium:selenium-support:$versionSelenium"
jettyCompile "org.eclipse.jetty.aggregate:jetty-all:$versionJetty"
jettyCompile "org.eclipse.jetty:jetty-alpn-server:$versionJetty"
//jettyCompile "org.eclipse.jetty.alpn:alpn-api:+"
jettyCompile 'org.mortbay.jetty.alpn:alpn-boot:8.1.+'
testCompile 'com.fasterxml.jackson.module:jackson-module-jsonSchema:2.4+'
testCompile 'nl.jqno.equalsverifier:equalsverifier:1+'
testCompile 'org.apache.httpcomponents:httpclient:+'
integrationCompile "com.google.code.findbugs:annotations:${versionFindbugs}"
integrationCompile "org.testng:testng:${versionTestNG}"
integrationCompile "org.seleniumhq.selenium:selenium-chrome-driver:${versionSelenium}"
integrationCompile "org.seleniumhq.selenium:selenium-firefox-driver:${versionSelenium}"
integrationCompile "org.seleniumhq.selenium:selenium-support:${versionSelenium}"
jettyCompile "org.eclipse.jetty.aggregate:jetty-all:${versionJetty}"
jettyCompile "org.eclipse.jetty:jetty-alpn-server:${versionJetty}"
//jettyCompile "org.eclipse.jetty.alpn:alpn-api:${versionALPN}"
jettyCompile "org.mortbay.jetty.alpn:alpn-boot:${versionALPN}"
testCompile "com.fasterxml.jackson.module:jackson-module-jsonSchema:${versionJackson}"
testCompile "nl.jqno.equalsverifier:equalsverifier:${versionEqualsverifier}"
testCompile "org.apache.httpcomponents:httpclient:${versionHttpClient}"
// testCompile 'org.apache.jmeter:ApacheJMeter:2.+'
testCompile "org.glassfish.jersey.core:jersey-client:${versionJersey}"
testCompile 'org.testng:testng:6+'
testCompile "org.testng:testng:${versionTestNG}"
}
// Detailled settings (tasks, task configuration, ...)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment