Skip to content

Commit

Permalink
GEODE-6198: Add geode-all-bom for dependency versioning (apache#2995)
Browse files Browse the repository at this point in the history
* Introduce dependency management via geode-dependency-management.gradle
* All relevant modules refer to the BOM to determine dependency versions.
* Consequently, all compile tasks depend on the BOM.  Because several non-compile tasks will also require the BOM, it is registered as a dependency for all DefaultTask type tasks -- essentially all tasks.  While currently heavy-handed, this can be iterated against in future PRs.
* Explicit versioning from dependency declarations, deferring to the BOM specification.
* Other cleanups: unify Spring plugin usage; bump version to 1.0.6 release; move eclipse configurations outside of dependency blocks, as they are unrelated.
* Prune most of now-redundant dependency-versions.properties.  Those lingering elements should be removed in a future PR.
* Update relevant expected POMs
* Update expected jars list.  This should likely not include those compile-only classpath elements, to be addressed in a future PR.

Co-authored-by: Dick Cavender <[email protected]>
Co-authored-by: Patrick Rhomberg <[email protected]>
  • Loading branch information
PurelyApplied and dickcav authored Dec 18, 2018
1 parent 213e07f commit 411b22c
Show file tree
Hide file tree
Showing 60 changed files with 1,651 additions and 617 deletions.
173 changes: 173 additions & 0 deletions boms/geode-all-bom/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF 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.
*/

apply plugin: "io.spring.dependency-management"
apply plugin: "java"
apply plugin: "maven-publish"

jar.enabled = false

dependencyManagement {
dependencies {
dependencySet(group: project.group, version: project.version) {
entry('apache-geode')
entry('geode-common')
entry('geode-concurrency-test')
entry('geode-connectors')
entry('geode-core')
entry('geode-cq')
entry('geode-dunit')
entry('geode-experimental-driver')
entry('geode-json')
entry('geode-junit')
entry('geode-lucene')
entry('geode-old-client-support')
entry('geode-old-versions')
entry('geode-protobuf')
entry('geode-protobuf-messages')
entry('geode-pulse')
entry('geode-rebalancer')
entry('geode-wan')
entry('geode-web')
entry('geode-web-api')
}

dependency('antlr:antlr:2.7.7')
dependency('cglib:cglib:3.2.9')
dependency('com.carrotsearch.randomizedtesting:randomizedtesting-runner:2.5.0')
dependency('com.fasterxml.jackson.core:jackson-annotations:2.9.7')
dependency('com.fasterxml.jackson.core:jackson-core:2.9.7')
dependency('com.fasterxml.jackson.core:jackson-databind:2.9.7')
dependency('com.fasterxml.jackson.module:jackson-module-scala_2.10:2.9.6')
dependency('com.github.davidmoten:geo:0.7.1')
dependency('com.github.stefanbirkner:system-rules:1.19.0')
dependency('com.github.stephenc.findbugs:findbugs-annotations:1.3.9-1')
dependency('com.google.guava:guava:27.0-jre')
dependency('com.google.protobuf:protobuf-java:3.6.1')
dependency('com.healthmarketscience.rmiio:rmiio:2.1.2')
dependency('com.jayway.jsonpath:json-path-assert:2.4.0')
dependency('com.jayway.jsonpath:json-path:2.4.0')
dependency('com.mockrunner:mockrunner-servlet:1.1.2')
dependency('com.palantir.docker.compose:docker-compose-rule-core:0.31.1')
dependency('com.palantir.docker.compose:docker-compose-rule-junit4:0.31.1')
dependency('com.pholser:junit-quickcheck-core:0.8.1')
dependency('com.pholser:junit-quickcheck-generators:0.8.1')
dependency('com.sun.activation:javax.activation:1.2.0')
dependency('com.sun.istack:istack-commons-runtime:2.2')
dependency('com.sun.xml.bind:jaxb-impl:2.3.1')
dependency('com.zaxxer:HikariCP:3.2.0')
dependency('commons-beanutils:commons-beanutils:1.9.3')
dependency('commons-collections:commons-collections:3.2.2')
dependency('commons-configuration:commons-configuration:1.10')
dependency('commons-digester:commons-digester:2.1')
dependency('commons-fileupload:commons-fileupload:1.3.3')
dependency('commons-io:commons-io:2.6')
dependency('commons-logging:commons-logging:1.2')
dependency('commons-modeler:commons-modeler:2.0.1')
dependency('commons-validator:commons-validator:1.6')
dependency('io.github.classgraph:classgraph:4.0.6')
dependency('io.netty:netty-all:4.1.31.Final')
dependency('io.springfox:springfox-swagger-ui:2.9.2')
dependency('io.springfox:springfox-swagger2:2.9.2')
dependency('it.unimi.dsi:fastutil:8.2.2')
dependency('javax.annotation:javax.annotation-api:1.3.2')
dependency('javax.annotation:jsr250-api:1.0')
dependency('javax.ejb:ejb-api:3.0')
dependency('javax.mail:javax.mail-api:1.6.2')
dependency('javax.resource:javax.resource-api:1.7.1')
dependency('javax.servlet:javax.servlet-api:3.1.0')
dependency('javax.xml.bind:jaxb-api:2.3.1')
dependency('junit:junit:4.12')
dependency('mx4j:mx4j-remote:3.0.2')
dependency('mx4j:mx4j-tools:3.0.1')
dependency('mx4j:mx4j:3.0.2')
dependency('mysql:mysql-connector-java:5.1.46')
dependency('net.java.dev.jna:jna:4.1.0')
dependency('net.sf.jopt-simple:jopt-simple:5.0.4')
dependency('net.spy:spymemcached:2.12.2')
dependency('org.apache.bcel:bcel:6.2')
dependency('org.apache.commons:commons-lang3:3.8.1')
dependency('org.apache.derby:derby:10.14.2.0')
dependency('org.apache.httpcomponents:httpclient:4.5.6')
dependency('org.apache.httpcomponents:httpcore:4.4.10')
dependency('org.apache.logging.log4j:log4j-api:2.11.1')
dependency('org.apache.logging.log4j:log4j-core:2.11.1')
dependency('org.apache.logging.log4j:log4j-jcl:2.11.1')
dependency('org.apache.logging.log4j:log4j-jul:2.11.1')
dependency('org.apache.logging.log4j:log4j-slf4j-impl:2.11.1')
dependency('org.apache.lucene:lucene-analyzers-common:6.6.2')
dependency('org.apache.lucene:lucene-analyzers-phonetic:6.6.2')
dependency('org.apache.lucene:lucene-core:6.6.2')
dependency('org.apache.lucene:lucene-queryparser:6.6.2')
dependency('org.apache.lucene:lucene-test-framework:6.6.2')
dependency('org.apache.shiro:shiro-core:1.4.0')
dependency('org.assertj:assertj-core:3.11.1')
dependency('org.awaitility:awaitility:3.1.2')
dependency('org.bouncycastle:bcpkix-jdk15on:1.60')
dependency('org.codehaus.cargo:cargo-core-uberjar:1.6.10')
dependency('org.eclipse.persistence:javax.persistence:2.2.1')
dependency('org.fusesource.jansi:jansi:1.17.1')
dependency('org.hamcrest:hamcrest-all:1.3')
dependency('org.hamcrest:hamcrest-core:1.3')
dependency('org.hamcrest:hamcrest-library:1.3')
dependency('org.httpunit:httpunit:1.7.3')
dependency('org.iq80.snappy:snappy:0.4')
dependency('org.jgroups:jgroups:3.6.14.Final')
dependency('org.mockito:mockito-core:2.23.0')
dependency('org.mortbay.jetty:servlet-api:3.0.20100224')
dependency('org.postgresql:postgresql:42.2.2')
dependency('org.powermock:powermock-api-mockito2:2.0.0-beta.5')
dependency('org.powermock:powermock-core:2.0.0-beta.5')
dependency('org.powermock:powermock-module-junit4:2.0.0-beta.5')
dependency('org.seleniumhq.selenium:selenium-api:3.13.0')
dependency('org.seleniumhq.selenium:selenium-chrome-driver:3.13.0')
dependency('org.seleniumhq.selenium:selenium-remote-driver:3.13.0')
dependency('org.seleniumhq.selenium:selenium-support:3.13.0')
dependency('org.skyscreamer:jsonassert:1.5.0')
dependency('org.slf4j:slf4j-api:1.7.25')
dependency('org.springframework.hateoas:spring-hateoas:0.25.0.RELEASE')
dependency('org.springframework.ldap:spring-ldap-core:2.3.2.RELEASE')
dependency('org.springframework.security:spring-security-config:4.2.8.RELEASE')
dependency('org.springframework.security:spring-security-core:4.2.8.RELEASE')
dependency('org.springframework.security:spring-security-ldap:4.2.8.RELEASE')
dependency('org.springframework.security:spring-security-test:4.2.8.RELEASE')
dependency('org.springframework.security:spring-security-web:4.2.8.RELEASE')
dependency('org.springframework.shell:spring-shell:1.2.0.RELEASE')
dependency('org.springframework:spring-aspects:4.3.20.RELEASE')
dependency('org.springframework:spring-beans:4.3.20.RELEASE')
dependency('org.springframework:spring-context:4.3.20.RELEASE')
dependency('org.springframework:spring-core:4.3.20.RELEASE')
dependency('org.springframework:spring-expression:4.3.20.RELEASE')
dependency('org.springframework:spring-oxm:4.3.20.RELEASE')
dependency('org.springframework:spring-test:4.3.20.RELEASE')
dependency('org.springframework:spring-tx:4.3.20.RELEASE')
dependency('org.springframework:spring-web:4.3.20.RELEASE')
dependency('org.springframework:spring-webmvc:4.3.20.RELEASE')
dependency('pl.pragmatists:JUnitParams:1.1.0')
dependency('redis.clients:jedis:2.9.0')
dependency('xerces:xercesImpl:2.12.0')
}
}

publishing {
publications {
maven(MavenPublication) {
pom.packaging 'pom'
artifacts = []
}
}
}
Loading

0 comments on commit 411b22c

Please sign in to comment.