Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backport/geode 10257/upgrade java #7710

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
8700ad0
GEODE-10089: Remove unneeded scripts
onichols-pivotal May 9, 2022
d1296bf
GEODE-10089: Bump version to 1.15.0
onichols-pivotal May 9, 2022
008443b
PR pipeline is per branch now
onichols-pivotal May 9, 2022
97e4515
GEODE-10089: do more testing in parallel on support branch
onichols-pivotal Mar 4, 2021
8acf085
GEODE-10089: do more testing in parallel on support branch
onichols-pivotal May 9, 2022
610a864
GEODE-10284: Add partition-listener option to gfsh create region comm…
jdeppe-pivotal May 10, 2022
3cf68a1
GEODE-10283: Remove problematic buildSrc project, replacing with incl…
robbadler May 11, 2022
41305de
GEODE-10282: Migrate from springfox to springdoc (#7659)
yozaner1324 May 10, 2022
2621586
Increase memory of windows-gfsh-distributred-test
robbadler May 12, 2022
08fe5c5
GEODE-10307: Doc changes needed for enable security-manager property …
davebarnes97 May 13, 2022
c9c5c29
GEODE-10289: Argument file for JDK 17 (#7673) (#7693)
demery-pivotal May 13, 2022
ff3c806
backport/geode 10288/java homes (#7694)
demery-pivotal May 13, 2022
6851ebe
backport/geode 10302/upgrade test timeouts (#7695)
demery-pivotal May 13, 2022
5936977
GEODE-10286: handle CancelException in PersistenceAdvisor.close (#7677)
jinmeiliao May 16, 2022
4d53566
GEODE-10313: User Guide: Add javadocs template variable (#7696)
davebarnes97 May 17, 2022
1613857
GEODE-10294: Compare invalid token during putIfAbsent retry. (#7679)
pivotal-eshu May 13, 2022
53cbcca
GEODE-10299: update examples for creating dynamic regions (#7681)
animatedmax May 11, 2022
fb1d5a3
GEODE-10315: remove unneeded add-opens (#7699)
dschneider-pivotal May 18, 2022
4be1a15
Revert "GEODE-10294: Compare invalid token during putIfAbsent retry. …
nabarunnag May 19, 2022
0882d29
GEODE-10257: Upgrade tests can upgrade Java (#7686)
demery-pivotal May 16, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
317 changes: 0 additions & 317 deletions CODEOWNERS

This file was deleted.

83 changes: 0 additions & 83 deletions CODEWATCHERS

This file was deleted.

5 changes: 3 additions & 2 deletions boms/geode-all-bom/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@

plugins {
id 'java-platform'
id 'geode-dependency-constraints'
id 'org.apache.geode.gradle.geode-dependency-constraints'
id 'geode-publish-common'
}

apply from: "${rootDir}/gradle/publish-common.gradle"
DependencyConstraints.apply(project)

publishing {
publications {
Expand Down
15 changes: 5 additions & 10 deletions boms/geode-all-bom/src/test/resources/expected-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@
<version>1.8.5</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-annotations</artifactId>
<version>1.6.6</version>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>it.unimi.dsi</groupId>
Expand Down Expand Up @@ -513,14 +513,9 @@
<version>1.0</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>2.9.2</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>2.9.2</version>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
<version>1.6.8</version>
</dependency>
<dependency>
<groupId>mx4j</groupId>
Expand Down
8 changes: 5 additions & 3 deletions boms/geode-client-bom/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@
* limitations under the License.
*/

apply from: "${rootDir}/${scriptDir}/standard-subproject-configuration.gradle"
plugins {
id 'standard-subproject-configuration'
id 'io.spring.dependency-management'
id 'geode-publish-common'
}

apply plugin: "io.spring.dependency-management"
apply from: "${project.projectDir}/../../gradle/publish-common.gradle"

jar.enabled = false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,32 @@

plugins {
id 'java'
id 'java-gradle-plugin'
id 'groovy-gradle-plugin'
id 'maven-publish'
id 'com.gradle.plugin-publish' version '0.18.0'
}

repositories {
mavenCentral()
gradlePluginPortal() {
content {
includeModule('me.champeau.gradle', 'japicmp-gradle-plugin')
}
}
}

dependencies {
testRuntimeOnly('org.apache.geode:geode-junit:1.3.0') {
transitive(false)
}
implementation(gradleApi())
implementation('org.apache.commons:commons-lang3:3.12.0')
implementation('org.apache.maven:maven-artifact:3.8.5')
implementation('com.google.guava:guava:31.1-jre')
implementation('me.champeau.gradle:japicmp-gradle-plugin:0.3.0')
implementation('junit:junit:4.13.2')

testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'

testAnnotationProcessor(this.project)
}

test {
useJUnitPlatform()
}

sourceSets {
main {
java {
Expand Down
18 changes: 18 additions & 0 deletions build-tools/geode-annotation-processor/settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* 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.
*/

rootProject.name = 'geode-annotation-processor'
51 changes: 51 additions & 0 deletions build-tools/geode-build-tools/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/*
* 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.
*
*/

plugins {
id 'java'
id 'java-gradle-plugin'
id 'groovy-gradle-plugin'
id 'maven-publish'
id 'com.gradle.plugin-publish' version '0.18.0'
}

repositories {
mavenCentral()
gradlePluginPortal()
}

dependencies {
implementation(gradleApi())

testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}

test {
useJUnitPlatform()
}

group = 'org.apache.geode.gradle'
version = 1.0

gradlePlugin {
plugins.register('geode-build-tools') {
id = 'org.apache.geode.gradle.geode-build-tools'
implementationClass = 'org.apache.geode.gradle.plugins.BuildToolsPlugin'
}
}
18 changes: 18 additions & 0 deletions build-tools/geode-build-tools/settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* 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.
*/

rootProject.name = 'geode-build-tools'
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
* 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.
*/
package org.apache.geode.gradle.plugins;

import org.gradle.api.Plugin;
import org.gradle.api.Project;

public class BuildToolsPlugin implements Plugin<Project> {
public void apply(Project project) {
// this plugin doesn't create any task by default
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.apache.geode.gradle.plugins

import groovy.swing.SwingBuilder

class PasswordDialog {
static String askPassword(String prompt) {
def password = ''
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* 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.
*/

package org.apache.geode.gradle.plugins

import java.io.BufferedWriter
import java.io.File
import java.util.Properties

class TestPropertiesWriter {
static void writeTestProperties(File parent, String name) {
Properties props = new Properties()
props.setProperty('log-level', 'config')
File propsFile = new File(testResultsDir(parent, name), 'gemfire.properties')
BufferedWriter writer = propsFile.newWriter()
props.store(writer, 'Autogenerated Gemfire properties')
}

static File testResultsDir(File parent, String name) {
return new File(parent, name)
}
}