diff --git a/docs/pom.xml b/docs/pom.xml index d27a69d5a..60527ff37 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -7,7 +7,7 @@ org.springframework.cloud spring-cloud-function-parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT pom Spring Cloud Function Docs diff --git a/pom.xml b/pom.xml index f6bfe5acc..ba2b87556 100644 --- a/pom.xml +++ b/pom.xml @@ -6,18 +6,18 @@ spring-cloud-function-parent Spring Cloud Function Parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT pom org.springframework.cloud spring-cloud-build - 3.1.0-SNAPSHOT + 4.0.0-SNAPSHOT - 1.8 + 17 ${java.version} ${java.version} 1.0.27.RELEASE @@ -48,8 +48,16 @@ org.apache.maven.plugins maven-checkstyle-plugin + + org.apache.maven.plugins + maven-surefire-plugin + + --add-opens java.base/java.util=ALL-UNNAMED + + + org.codehaus.mojo @@ -129,18 +137,18 @@ - - java11+ - - [11,) - - - - javax.annotation - javax.annotation-api - - - + + + + + + + + + + + + core diff --git a/spring-cloud-function-adapters/pom.xml b/spring-cloud-function-adapters/pom.xml index aad724969..e78de8ad4 100644 --- a/spring-cloud-function-adapters/pom.xml +++ b/spring-cloud-function-adapters/pom.xml @@ -10,7 +10,7 @@ org.springframework.cloud spring-cloud-function-parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT spring-cloud-function-adapter-parent diff --git a/spring-cloud-function-adapters/spring-cloud-function-adapter-aws/pom.xml b/spring-cloud-function-adapters/spring-cloud-function-adapter-aws/pom.xml index 5d6b09cdb..7c47ab30a 100644 --- a/spring-cloud-function-adapters/spring-cloud-function-adapter-aws/pom.xml +++ b/spring-cloud-function-adapters/spring-cloud-function-adapter-aws/pom.xml @@ -13,13 +13,12 @@ org.springframework.cloud spring-cloud-function-adapter-parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT UTF-8 UTF-8 - 1.8 3.9.0 1.12.29 1.0.3 diff --git a/spring-cloud-function-adapters/spring-cloud-function-adapter-azure/pom.xml b/spring-cloud-function-adapters/spring-cloud-function-adapter-azure/pom.xml index 6e1edb689..fed34cf64 100644 --- a/spring-cloud-function-adapters/spring-cloud-function-adapter-azure/pom.xml +++ b/spring-cloud-function-adapters/spring-cloud-function-adapter-azure/pom.xml @@ -13,7 +13,7 @@ org.springframework.cloud spring-cloud-function-adapter-parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-adapters/spring-cloud-function-adapter-gcp/pom.xml b/spring-cloud-function-adapters/spring-cloud-function-adapter-gcp/pom.xml index 74b81f066..091a93738 100644 --- a/spring-cloud-function-adapters/spring-cloud-function-adapter-gcp/pom.xml +++ b/spring-cloud-function-adapters/spring-cloud-function-adapter-gcp/pom.xml @@ -11,7 +11,7 @@ spring-cloud-function-adapter-parent org.springframework.cloud - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-adapters/spring-cloud-function-adapter-openwhisk/pom.xml b/spring-cloud-function-adapters/spring-cloud-function-adapter-openwhisk/pom.xml index 4dfd38fc2..149ca38b5 100644 --- a/spring-cloud-function-adapters/spring-cloud-function-adapter-openwhisk/pom.xml +++ b/spring-cloud-function-adapters/spring-cloud-function-adapter-openwhisk/pom.xml @@ -13,7 +13,7 @@ org.springframework.cloud spring-cloud-function-adapter-parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-adapters/spring-cloud-function-grpc-cloudevent-ext/pom.xml b/spring-cloud-function-adapters/spring-cloud-function-grpc-cloudevent-ext/pom.xml index 20fe0204d..9853012bb 100644 --- a/spring-cloud-function-adapters/spring-cloud-function-grpc-cloudevent-ext/pom.xml +++ b/spring-cloud-function-adapters/spring-cloud-function-grpc-cloudevent-ext/pom.xml @@ -5,7 +5,7 @@ org.springframework.cloud spring-cloud-function-adapter-parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT spring-cloud-function-grpc-cloudevent-ext spring-cloud-function-grpc-cloudevent-ext diff --git a/spring-cloud-function-adapters/spring-cloud-function-grpc/pom.xml b/spring-cloud-function-adapters/spring-cloud-function-grpc/pom.xml index df7476029..bec41efae 100644 --- a/spring-cloud-function-adapters/spring-cloud-function-grpc/pom.xml +++ b/spring-cloud-function-adapters/spring-cloud-function-grpc/pom.xml @@ -12,7 +12,7 @@ org.springframework.cloud spring-cloud-function-adapter-parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-compiler/pom.xml b/spring-cloud-function-compiler/pom.xml index 08bdf7707..3592c6a23 100644 --- a/spring-cloud-function-compiler/pom.xml +++ b/spring-cloud-function-compiler/pom.xml @@ -12,7 +12,7 @@ org.springframework.cloud spring-cloud-function-parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-context/pom.xml b/spring-cloud-function-context/pom.xml index b25a2c006..fb79aec29 100644 --- a/spring-cloud-function-context/pom.xml +++ b/spring-cloud-function-context/pom.xml @@ -12,7 +12,7 @@ org.springframework.cloud spring-cloud-function-parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT @@ -47,6 +47,16 @@ jackson-module-kotlin true + + javax.annotation + javax.annotation-api + 1.3.2 + + + javax.activation + javax.activation-api + 1.2.0 + org.springframework.boot spring-boot-configuration-processor diff --git a/spring-cloud-function-context/src/test/java/org/springframework/cloud/function/context/catalog/BeanFactoryAwarePojoFunctionRegistryTests.java b/spring-cloud-function-context/src/test/java/org/springframework/cloud/function/context/catalog/BeanFactoryAwarePojoFunctionRegistryTests.java index 3f0910bb2..accc4c5ba 100644 --- a/spring-cloud-function-context/src/test/java/org/springframework/cloud/function/context/catalog/BeanFactoryAwarePojoFunctionRegistryTests.java +++ b/spring-cloud-function-context/src/test/java/org/springframework/cloud/function/context/catalog/BeanFactoryAwarePojoFunctionRegistryTests.java @@ -133,7 +133,7 @@ public class BeanFactoryAwarePojoFunctionRegistryTests { } // POJO Function - private static class MyFunctionLike { + public static class MyFunctionLike { public String uppercase(String value) { return value.toUpperCase(); } diff --git a/spring-cloud-function-context/src/test/java/org/springframework/cloud/function/context/catalog/SimpleFunctionRegistryTests.java b/spring-cloud-function-context/src/test/java/org/springframework/cloud/function/context/catalog/SimpleFunctionRegistryTests.java index 3c2f04e49..c570c33e8 100644 --- a/spring-cloud-function-context/src/test/java/org/springframework/cloud/function/context/catalog/SimpleFunctionRegistryTests.java +++ b/spring-cloud-function-context/src/test/java/org/springframework/cloud/function/context/catalog/SimpleFunctionRegistryTests.java @@ -135,7 +135,7 @@ public class SimpleFunctionRegistryTests { }; FunctionRegistration, String>> registration = new FunctionRegistration<>( - function, "echo").type(FunctionType.of(functionType)); + function, "echo").type(functionType); SimpleFunctionRegistry catalog = new SimpleFunctionRegistry(this.conversionService, this.messageConverter, new JacksonMapper(new ObjectMapper())); catalog.register(registration); diff --git a/spring-cloud-function-core/pom.xml b/spring-cloud-function-core/pom.xml index afa411c78..14a51730a 100644 --- a/spring-cloud-function-core/pom.xml +++ b/spring-cloud-function-core/pom.xml @@ -12,7 +12,7 @@ org.springframework.cloud spring-cloud-function-parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-dependencies/pom.xml b/spring-cloud-function-dependencies/pom.xml index ea2cc3035..9dd103699 100644 --- a/spring-cloud-function-dependencies/pom.xml +++ b/spring-cloud-function-dependencies/pom.xml @@ -6,11 +6,11 @@ spring-cloud-dependencies-parent org.springframework.cloud - 3.1.0-SNAPSHOT + 4.0.0-SNAPSHOT spring-cloud-function-dependencies - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT pom Spring Cloud Function Dependencies Spring Cloud Function Dependencies diff --git a/spring-cloud-function-deployer/pom.xml b/spring-cloud-function-deployer/pom.xml index 0db33f47a..d3dc88e64 100644 --- a/spring-cloud-function-deployer/pom.xml +++ b/spring-cloud-function-deployer/pom.xml @@ -10,7 +10,7 @@ org.springframework.cloud spring-cloud-function-parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-deployer/src/it/bootapp-multi/pom.xml b/spring-cloud-function-deployer/src/it/bootapp-multi/pom.xml index b71aaac3c..88e73bd0d 100644 --- a/spring-cloud-function-deployer/src/it/bootapp-multi/pom.xml +++ b/spring-cloud-function-deployer/src/it/bootapp-multi/pom.xml @@ -18,7 +18,7 @@ 1.8 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT 1.0.27.RELEASE diff --git a/spring-cloud-function-deployer/src/it/bootapp-with-javax/pom.xml b/spring-cloud-function-deployer/src/it/bootapp-with-javax/pom.xml index 721ca3c4e..62d18fe1e 100644 --- a/spring-cloud-function-deployer/src/it/bootapp-with-javax/pom.xml +++ b/spring-cloud-function-deployer/src/it/bootapp-with-javax/pom.xml @@ -18,7 +18,7 @@ 1.8 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT 1.0.27.RELEASE diff --git a/spring-cloud-function-deployer/src/it/bootapp-with-scf/pom.xml b/spring-cloud-function-deployer/src/it/bootapp-with-scf/pom.xml index 0b6f7a08d..bd65190f0 100644 --- a/spring-cloud-function-deployer/src/it/bootapp-with-scf/pom.xml +++ b/spring-cloud-function-deployer/src/it/bootapp-with-scf/pom.xml @@ -18,7 +18,7 @@ 1.8 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT 1.0.27.RELEASE diff --git a/spring-cloud-function-deployer/src/it/bootapp/pom.xml b/spring-cloud-function-deployer/src/it/bootapp/pom.xml index dc7180ae6..ef70f9f2c 100644 --- a/spring-cloud-function-deployer/src/it/bootapp/pom.xml +++ b/spring-cloud-function-deployer/src/it/bootapp/pom.xml @@ -18,7 +18,7 @@ 1.8 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT 1.0.27.RELEASE diff --git a/spring-cloud-function-deployer/src/it/bootjar-multi/pom.xml b/spring-cloud-function-deployer/src/it/bootjar-multi/pom.xml index a72e39a73..24d7e6d5a 100644 --- a/spring-cloud-function-deployer/src/it/bootjar-multi/pom.xml +++ b/spring-cloud-function-deployer/src/it/bootjar-multi/pom.xml @@ -18,7 +18,7 @@ 1.8 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT 1.0.27.RELEASE diff --git a/spring-cloud-function-deployer/src/it/bootjar/pom.xml b/spring-cloud-function-deployer/src/it/bootjar/pom.xml index 6a945ae75..fd35734b2 100644 --- a/spring-cloud-function-deployer/src/it/bootjar/pom.xml +++ b/spring-cloud-function-deployer/src/it/bootjar/pom.xml @@ -18,7 +18,7 @@ 1.8 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT 1.0.27.RELEASE diff --git a/spring-cloud-function-deployer/src/it/bootjarnostart/pom.xml b/spring-cloud-function-deployer/src/it/bootjarnostart/pom.xml index d065723b6..d8de56115 100644 --- a/spring-cloud-function-deployer/src/it/bootjarnostart/pom.xml +++ b/spring-cloud-function-deployer/src/it/bootjarnostart/pom.xml @@ -18,7 +18,7 @@ 1.8 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT 1.0.27.RELEASE diff --git a/spring-cloud-function-kotlin/pom.xml b/spring-cloud-function-kotlin/pom.xml index a3bebfda8..c26714810 100644 --- a/spring-cloud-function-kotlin/pom.xml +++ b/spring-cloud-function-kotlin/pom.xml @@ -12,7 +12,7 @@ org.springframework.cloud spring-cloud-function-parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-rsocket/pom.xml b/spring-cloud-function-rsocket/pom.xml index 735c6adee..4ba1ae743 100644 --- a/spring-cloud-function-rsocket/pom.xml +++ b/spring-cloud-function-rsocket/pom.xml @@ -12,7 +12,7 @@ org.springframework.cloud spring-cloud-function-parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-samples/function-functional-sample-aws/pom.xml b/spring-cloud-function-samples/function-functional-sample-aws/pom.xml index 5cea3c211..ab4488ff9 100644 --- a/spring-cloud-function-samples/function-functional-sample-aws/pom.xml +++ b/spring-cloud-function-samples/function-functional-sample-aws/pom.xml @@ -6,7 +6,7 @@ io.spring.sample function-functional-sample-aws - 2.0.0.RELEASE + 4.0.0.RELEASE jar function-functional-sample-aws @@ -15,17 +15,16 @@ org.springframework.boot spring-boot-starter-parent - 2.6.0-SNAPSHOT + 3.0.0-SNAPSHOT UTF-8 UTF-8 - 1.8 1.0.27.RELEASE 3.9.0 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-samples/function-sample-aws-custom-bean/pom.xml b/spring-cloud-function-samples/function-sample-aws-custom-bean/pom.xml index 7075db0ac..277123c90 100644 --- a/spring-cloud-function-samples/function-sample-aws-custom-bean/pom.xml +++ b/spring-cloud-function-samples/function-sample-aws-custom-bean/pom.xml @@ -5,19 +5,18 @@ org.springframework.boot spring-boot-starter-parent - 2.6.0-SNAPSHOT + 3.0.0-SNAPSHOT io.spring.sample function-sample-aws-custom-bean - 3.0.0.RELEASE + 4.0.0.RELEASE AWS Custom Runtime - @Bean sample Demo project for Spring Cloud Function with custom AWS Lambda runtime using @Bean style - 1.8 1.0.27.RELEASE - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT @@ -28,7 +27,7 @@ --> com.amazonaws aws-lambda-java-events - 2.2.6 + 3.9.0 @@ -106,34 +105,38 @@ - - - integration - - - - maven-surefire-plugin - 2.22.0 - - - integration-test - - test - - - - none - - - com/example/ContainerTests.java - - - - - - - - - - + + + spring-snapshots + Spring Snapshots + https://repo.spring.io/libs-snapshot-local + + + spring-milestones + Spring Milestones + https://repo.spring.io/libs-milestone-local + + + spring-releases + Spring Releases + https://repo.spring.io/release + + + + + spring-snapshots + Spring Snapshots + https://repo.spring.io/libs-snapshot-local + + + spring-milestones + Spring Milestones + https://repo.spring.io/libs-milestone-local + + + spring-releases + Spring Releases + https://repo.spring.io/libs-release-local + + diff --git a/spring-cloud-function-samples/function-sample-aws-custom/pom.xml b/spring-cloud-function-samples/function-sample-aws-custom/pom.xml index 54cf164e0..0db7d4a4a 100644 --- a/spring-cloud-function-samples/function-sample-aws-custom/pom.xml +++ b/spring-cloud-function-samples/function-sample-aws-custom/pom.xml @@ -5,19 +5,18 @@ org.springframework.boot spring-boot-starter-parent - 2.6.0-SNAPSHOT + 3.0.0-SNAPSHOT io.spring.sample function-sample-aws-custom - 3.0.0.RELEASE + 4.0.0.RELEASE function-sample-aws-custom Demo project for Spring Cloud Function with custom AWS Lambda runtime - 1.8 1.0.27.RELEASE - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT @@ -34,39 +33,21 @@ org.springframework.boot spring-boot-starter-web - - - - + + jakarta.servlet + jakarta.servlet-api + provided + org.springframework.boot spring-boot-starter - - - org.springframework.boot spring-boot-starter-test test - - - - - - - - - - - - - - - - @@ -167,28 +148,16 @@ spring-snapshots Spring Snapshots https://repo.spring.io/libs-snapshot-local - - true - - - false - spring-milestones Spring Milestones https://repo.spring.io/libs-milestone-local - - false - spring-releases Spring Releases https://repo.spring.io/release - - false - diff --git a/spring-cloud-function-samples/function-sample-aws-routing/pom.xml b/spring-cloud-function-samples/function-sample-aws-routing/pom.xml index f76a50462..aa8bb8b1e 100644 --- a/spring-cloud-function-samples/function-sample-aws-routing/pom.xml +++ b/spring-cloud-function-samples/function-sample-aws-routing/pom.xml @@ -6,7 +6,7 @@ io.spring.sample function-sample-aws-routing - 2.0.0.RELEASE + 4.0.0.RELEASE jar function-sample-aws-routing @@ -15,17 +15,16 @@ org.springframework.boot spring-boot-starter-parent - 2.6.0-SNAPSHOT + 3.0.0-SNAPSHOT UTF-8 UTF-8 - 1.8 1.0.27.RELEASE 2.0.2 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-samples/function-sample-aws/pom.xml b/spring-cloud-function-samples/function-sample-aws/pom.xml index 6a9020757..b9bd8a07b 100644 --- a/spring-cloud-function-samples/function-sample-aws/pom.xml +++ b/spring-cloud-function-samples/function-sample-aws/pom.xml @@ -6,7 +6,7 @@ io.spring.sample function-sample-aws - 2.0.0.RELEASE + 4.0.0.RELEASE jar function-sample-aws @@ -15,17 +15,16 @@ org.springframework.boot spring-boot-starter-parent - 2.6.0-SNAPSHOT + 3.0.0-SNAPSHOT UTF-8 UTF-8 - 1.8 1.0.27.RELEASE 3.9.0 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-samples/function-sample-azure/pom.xml b/spring-cloud-function-samples/function-sample-azure/pom.xml index dcbd960a7..5d49dcc99 100644 --- a/spring-cloud-function-samples/function-sample-azure/pom.xml +++ b/spring-cloud-function-samples/function-sample-azure/pom.xml @@ -6,7 +6,7 @@ io.spring.sample function-sample-azure - 2.0.0.RELEASE + 4.0.0.RELEASE jar function-sample-azure @@ -14,12 +14,11 @@ org.springframework.boot spring-boot-starter-parent - 2.6.0-SNAPSHOT + 3.0.0-SNAPSHOT - 1.8 function-sample-azure westus java-function-group @@ -54,7 +53,7 @@ org.springframework.cloud spring-cloud-function-dependencies - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT pom import diff --git a/spring-cloud-function-samples/function-sample-cloudevent-rsocket/pom.xml b/spring-cloud-function-samples/function-sample-cloudevent-rsocket/pom.xml index 760ed60bd..67ba27e59 100644 --- a/spring-cloud-function-samples/function-sample-cloudevent-rsocket/pom.xml +++ b/spring-cloud-function-samples/function-sample-cloudevent-rsocket/pom.xml @@ -12,13 +12,12 @@ org.springframework.boot spring-boot-starter-parent - 2.6.0-SNAPSHOT + 3.0.0-SNAPSHOT - 1.8 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT 1.0.27.RELEASE @@ -28,7 +27,6 @@ org.springframework.cloud spring-cloud-function-rsocket - 3.1.0-SNAPSHOT @@ -37,7 +35,7 @@ org.springframework.cloud spring-cloud-stream-binder-kafka - 3.1.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-samples/function-sample-cloudevent-stream/pom.xml b/spring-cloud-function-samples/function-sample-cloudevent-stream/pom.xml index 3da862c23..5eb646eb9 100644 --- a/spring-cloud-function-samples/function-sample-cloudevent-stream/pom.xml +++ b/spring-cloud-function-samples/function-sample-cloudevent-stream/pom.xml @@ -4,20 +4,19 @@ 4.0.0 io.spring.sample function-sample-cloudevent-stream - 0.0.1-SNAPSHOT + 4.0.0-RELEASE function-sample-cloudevent-stream Demo project for Spring Boot org.springframework.boot spring-boot-starter-parent - 2.6.0-SNAPSHOT + 3.0.0-SNAPSHOT - 1.8 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT 1.0.27.RELEASE @@ -29,13 +28,13 @@ org.springframework.cloud spring-cloud-stream - 3.2.0-M2 + 4.0.0-SNAPSHOT org.springframework.cloud spring-cloud-stream-binder-rabbit - 3.2.0-M2 + 4.0.0-SNAPSHOT @@ -43,7 +42,7 @@ org.springframework.cloud spring-cloud-stream-binder-kafka - 3.2.0-M2 + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-samples/function-sample-cloudevent/pom.xml b/spring-cloud-function-samples/function-sample-cloudevent/pom.xml index b172d1885..834e4aa9e 100644 --- a/spring-cloud-function-samples/function-sample-cloudevent/pom.xml +++ b/spring-cloud-function-samples/function-sample-cloudevent/pom.xml @@ -11,13 +11,12 @@ org.springframework.boot spring-boot-starter-parent - 2.6.0-SNAPSHOT + 3.0.0-SNAPSHOT - 1.8 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT 1.0.27.RELEASE diff --git a/spring-cloud-function-samples/function-sample-compiler/pom.xml b/spring-cloud-function-samples/function-sample-compiler/pom.xml index dcf1e3f38..94ba570db 100644 --- a/spring-cloud-function-samples/function-sample-compiler/pom.xml +++ b/spring-cloud-function-samples/function-sample-compiler/pom.xml @@ -20,7 +20,7 @@ 1.8 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT 3.1.2.RELEASE 1.0.17.RELEASE diff --git a/spring-cloud-function-samples/function-sample-functional-aws-routing/pom.xml b/spring-cloud-function-samples/function-sample-functional-aws-routing/pom.xml index be0aab22c..171f4cc3b 100644 --- a/spring-cloud-function-samples/function-sample-functional-aws-routing/pom.xml +++ b/spring-cloud-function-samples/function-sample-functional-aws-routing/pom.xml @@ -6,7 +6,7 @@ io.spring.sample function-sample-functional-aws-routing - 2.0.0.RELEASE + 4.0.0.RELEASE jar function-sample-functional-aws-routing @@ -15,17 +15,16 @@ org.springframework.boot spring-boot-starter-parent - 2.6.0-SNAPSHOT + 3.0.0-SNAPSHOT UTF-8 UTF-8 - 1.8 1.0.27.RELEASE 2.0.2 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-samples/function-sample-gcp-background/pom.xml b/spring-cloud-function-samples/function-sample-gcp-background/pom.xml index 8d569cd20..1fa44627a 100644 --- a/spring-cloud-function-samples/function-sample-gcp-background/pom.xml +++ b/spring-cloud-function-samples/function-sample-gcp-background/pom.xml @@ -7,7 +7,7 @@ io.spring.sample function-sample-gcp-background - 2.0.0.RELEASE + 4.0.0.RELEASE jar function-sample-gcp-background @@ -15,7 +15,7 @@ org.springframework.boot spring-boot-starter-parent - 2.6.0-SNAPSHOT + 3.0.0-SNAPSHOT @@ -23,7 +23,7 @@ org.springframework.cloud spring-cloud-function-adapter-gcp - 3.1.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-samples/function-sample-gcp-http/pom.xml b/spring-cloud-function-samples/function-sample-gcp-http/pom.xml index da1a9d1fc..e3a92d915 100644 --- a/spring-cloud-function-samples/function-sample-gcp-http/pom.xml +++ b/spring-cloud-function-samples/function-sample-gcp-http/pom.xml @@ -7,7 +7,7 @@ io.spring.sample function-sample-gcp-http - 2.0.0.RELEASE + 4.0.0.RELEASE jar function-sample-gcp-http @@ -15,7 +15,7 @@ org.springframework.boot spring-boot-starter-parent - 2.6.0-SNAPSHOT + 3.0.0-SNAPSHOT @@ -23,7 +23,7 @@ org.springframework.cloud spring-cloud-function-adapter-gcp - 3.1.3-SNAPSHOT + 4.0.0-SNAPSHOT @@ -59,7 +59,6 @@ maven-deploy-plugin - 2.8.2 true diff --git a/spring-cloud-function-samples/function-sample-grpc-cloudevent/pom.xml b/spring-cloud-function-samples/function-sample-grpc-cloudevent/pom.xml index 39715f0aa..ca001c973 100644 --- a/spring-cloud-function-samples/function-sample-grpc-cloudevent/pom.xml +++ b/spring-cloud-function-samples/function-sample-grpc-cloudevent/pom.xml @@ -7,17 +7,16 @@ org.springframework.boot spring-boot-starter-parent - 2.6.0-SNAPSHOT + 3.0.0-SNAPSHOT com.example.grpc function-sample-grpc-cloudevent - 0.0.1-RELEASE + 4.0.0-RELEASE function-sample-grpc-cloudevent Demo project for Spring Boot - 1.8 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-samples/function-sample-kotlin-web/pom.xml b/spring-cloud-function-samples/function-sample-kotlin-web/pom.xml index 350bec73a..3b081c326 100644 --- a/spring-cloud-function-samples/function-sample-kotlin-web/pom.xml +++ b/spring-cloud-function-samples/function-sample-kotlin-web/pom.xml @@ -4,22 +4,17 @@ 4.0.0 io.spring.sample function-sample-kotlin-web - 1.0 + 4.0.0 function-sample-kotlin-web Demo project for Spring Cloud Function Web Kotlin integration org.springframework.boot spring-boot-starter-parent - 2.6.0-SNAPSHOT + 3.0.0-SNAPSHOT - - 1.8 - 1.4.21 - - org.springframework.boot @@ -28,27 +23,25 @@ org.jetbrains.kotlin kotlin-reflect - 1.6.0 org.jetbrains.kotlin kotlin-stdlib-jdk8 - 1.6.0 org.springframework.cloud spring-cloud-function-kotlin - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT org.springframework.cloud spring-cloud-function-web - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT org.springframework.cloud spring-cloud-function-context - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT org.springframework.boot @@ -79,7 +72,6 @@ org.jetbrains.kotlin kotlin-maven-plugin - 1.6.0 -Xjsr305=strict @@ -92,11 +84,46 @@ org.jetbrains.kotlin kotlin-maven-allopen - ${kotlin.version} + 1.4.21 + + + + spring-snapshots + Spring Snapshots + https://repo.spring.io/libs-snapshot-local + + + spring-milestones + Spring Milestones + https://repo.spring.io/libs-milestone-local + + + spring-releases + Spring Releases + https://repo.spring.io/release + + + + + spring-snapshots + Spring Snapshots + https://repo.spring.io/libs-snapshot-local + + + spring-milestones + Spring Milestones + https://repo.spring.io/libs-milestone-local + + + spring-releases + Spring Releases + https://repo.spring.io/libs-release-local + + diff --git a/spring-cloud-function-samples/function-sample-pof/pom.xml b/spring-cloud-function-samples/function-sample-pof/pom.xml index d90cf31fe..1c37adfda 100644 --- a/spring-cloud-function-samples/function-sample-pof/pom.xml +++ b/spring-cloud-function-samples/function-sample-pof/pom.xml @@ -5,7 +5,7 @@ io.spring.sample function-sample-pof - 2.0.0.RELEASE + 4.0.0.RELEASE jar function-sample-pof Spring Cloud Function Web Support @@ -13,16 +13,15 @@ org.springframework.boot spring-boot-starter-parent - 2.6.0-SNAPSHOT + 3.0.0-SNAPSHOT UTF-8 UTF-8 - 1.8 3.1.2.RELEASE - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-samples/function-sample-pojo/pom.xml b/spring-cloud-function-samples/function-sample-pojo/pom.xml index 6a6ea84a9..af9744684 100644 --- a/spring-cloud-function-samples/function-sample-pojo/pom.xml +++ b/spring-cloud-function-samples/function-sample-pojo/pom.xml @@ -6,7 +6,7 @@ io.spring.sample function-sample-pojo - 2.0.0.RELEASE + 4.0.0.RELEASE jar function-sample-pojo Spring Cloud Function Web Support @@ -14,13 +14,12 @@ org.springframework.boot spring-boot-starter-parent - 2.6.0-SNAPSHOT + 3.0.0-SNAPSHOT - 1.8 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT 1.0.27.RELEASE diff --git a/spring-cloud-function-samples/function-sample-spring-integration/pom.xml b/spring-cloud-function-samples/function-sample-spring-integration/pom.xml index 4161ebea2..8cc51067b 100644 --- a/spring-cloud-function-samples/function-sample-spring-integration/pom.xml +++ b/spring-cloud-function-samples/function-sample-spring-integration/pom.xml @@ -20,7 +20,7 @@ UTF-8 UTF-8 1.8 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-samples/function-sample-supplier-exporter/pom.xml b/spring-cloud-function-samples/function-sample-supplier-exporter/pom.xml index eabf7d2fb..88053396f 100644 --- a/spring-cloud-function-samples/function-sample-supplier-exporter/pom.xml +++ b/spring-cloud-function-samples/function-sample-supplier-exporter/pom.xml @@ -6,7 +6,7 @@ io.spring.sample function-sample-aws-supplier-exporter - 2.0.0.RELEASE + 4.0.0.RELEASE jar function-sample-aws-supplier-exporter Spring Cloud Function Example showing Supplier Exporter @@ -14,13 +14,12 @@ org.springframework.boot spring-boot-starter-parent - 2.6.0-SNAPSHOT + 3.0.0-SNAPSHOT - 1.8 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT @@ -119,4 +118,38 @@ + + + spring-snapshots + Spring Snapshots + https://repo.spring.io/libs-snapshot-local + + + spring-milestones + Spring Milestones + https://repo.spring.io/libs-milestone-local + + + spring-releases + Spring Releases + https://repo.spring.io/release + + + + + spring-snapshots + Spring Snapshots + https://repo.spring.io/libs-snapshot-local + + + spring-milestones + Spring Milestones + https://repo.spring.io/libs-milestone-local + + + spring-releases + Spring Releases + https://repo.spring.io/libs-release-local + + diff --git a/spring-cloud-function-samples/function-sample-task/pom.xml b/spring-cloud-function-samples/function-sample-task/pom.xml index c53badfb7..fe24b7221 100644 --- a/spring-cloud-function-samples/function-sample-task/pom.xml +++ b/spring-cloud-function-samples/function-sample-task/pom.xml @@ -20,7 +20,7 @@ 1.8 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT 1.0.10.RELEASE 3.1.2.RELEASE diff --git a/spring-cloud-function-samples/function-sample/pom.xml b/spring-cloud-function-samples/function-sample/pom.xml index a839518d8..b7b68a826 100644 --- a/spring-cloud-function-samples/function-sample/pom.xml +++ b/spring-cloud-function-samples/function-sample/pom.xml @@ -6,7 +6,7 @@ io.spring.sample function-sample - 2.0.0.RELEASE + 4.0.0.RELEASE jar function-sample Spring Cloud Function Web Support @@ -14,13 +14,12 @@ org.springframework.boot spring-boot-starter-parent - 2.6.0-SNAPSHOT + 3.0.0-SNAPSHOT - 1.8 - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT 1.0.27.RELEASE diff --git a/spring-cloud-function-samples/pom.xml b/spring-cloud-function-samples/pom.xml index 3750f7e8e..9185ddc07 100644 --- a/spring-cloud-function-samples/pom.xml +++ b/spring-cloud-function-samples/pom.xml @@ -11,7 +11,7 @@ org.springframework.cloud spring-cloud-function-parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-task/pom.xml b/spring-cloud-function-task/pom.xml index 933a34898..5731b90d5 100644 --- a/spring-cloud-function-task/pom.xml +++ b/spring-cloud-function-task/pom.xml @@ -12,7 +12,7 @@ org.springframework.cloud spring-cloud-function-parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT diff --git a/spring-cloud-function-web/pom.xml b/spring-cloud-function-web/pom.xml index 7a694a034..d22873fde 100644 --- a/spring-cloud-function-web/pom.xml +++ b/spring-cloud-function-web/pom.xml @@ -12,10 +12,15 @@ org.springframework.cloud spring-cloud-function-parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT + + jakarta.servlet + jakarta.servlet-api + provided + org.springframework spring-webmvc @@ -35,11 +40,6 @@ org.springframework.cloud spring-cloud-function-context - - javax.servlet - javax.servlet-api - provided - commons-logging commons-logging diff --git a/spring-cloud-function-web/src/main/java/org/springframework/cloud/function/web/mvc/FunctionHandlerMapping.java b/spring-cloud-function-web/src/main/java/org/springframework/cloud/function/web/mvc/FunctionHandlerMapping.java index f22f2e2db..0423d9710 100644 --- a/spring-cloud-function-web/src/main/java/org/springframework/cloud/function/web/mvc/FunctionHandlerMapping.java +++ b/spring-cloud-function-web/src/main/java/org/springframework/cloud/function/web/mvc/FunctionHandlerMapping.java @@ -18,7 +18,7 @@ package org.springframework.cloud.function.web.mvc; import java.util.HashMap; -import javax.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletRequest; import org.springframework.beans.factory.InitializingBean; import org.springframework.beans.factory.annotation.Autowired; @@ -35,6 +35,8 @@ import org.springframework.web.method.HandlerMethod; import org.springframework.web.servlet.HandlerMapping; import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping; + + /** * @author Dave Syer * @author Oleg Zhurakousky diff --git a/spring-cloud-starter-function-web/pom.xml b/spring-cloud-starter-function-web/pom.xml index ed34879fa..04fa6ce0b 100644 --- a/spring-cloud-starter-function-web/pom.xml +++ b/spring-cloud-starter-function-web/pom.xml @@ -6,7 +6,7 @@ org.springframework.cloud spring-cloud-function-parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT .. spring-cloud-starter-function-web diff --git a/spring-cloud-starter-function-webflux/pom.xml b/spring-cloud-starter-function-webflux/pom.xml index 6ee319568..994b8bf30 100644 --- a/spring-cloud-starter-function-webflux/pom.xml +++ b/spring-cloud-starter-function-webflux/pom.xml @@ -6,7 +6,7 @@ org.springframework.cloud spring-cloud-function-parent - 3.2.0-SNAPSHOT + 4.0.0-SNAPSHOT spring-cloud-starter-function-webflux spring-cloud-starter-function-webflux