diff --git a/README.md b/README.md index 1604b649..99e6b5f1 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. ## Prerequisites For building the code in this repository : Java [JDK 17+] -For using the libraries released : Java [JDK 11+] +For using the libraries released : Java [JDK 17+] ## How to build diff --git a/bundles/org.bonitasoft.bonita2bar/.classpath b/bundles/org.bonitasoft.bonita2bar/.classpath index 6b8737a9..3c6f1284 100644 --- a/bundles/org.bonitasoft.bonita2bar/.classpath +++ b/bundles/org.bonitasoft.bonita2bar/.classpath @@ -2,7 +2,7 @@ - + diff --git a/bundles/org.bonitasoft.bonita2bar/.settings/org.eclipse.jdt.core.prefs b/bundles/org.bonitasoft.bonita2bar/.settings/org.eclipse.jdt.core.prefs index c9545f06..62ef3488 100644 --- a/bundles/org.bonitasoft.bonita2bar/.settings/org.eclipse.jdt.core.prefs +++ b/bundles/org.bonitasoft.bonita2bar/.settings/org.eclipse.jdt.core.prefs @@ -1,9 +1,9 @@ eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 -org.eclipse.jdt.core.compiler.compliance=11 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning org.eclipse.jdt.core.compiler.release=enabled -org.eclipse.jdt.core.compiler.source=11 +org.eclipse.jdt.core.compiler.source=17 diff --git a/bundles/org.bonitasoft.bonita2bar/META-INF/MANIFEST.MF b/bundles/org.bonitasoft.bonita2bar/META-INF/MANIFEST.MF index 4b12a595..64b272c3 100644 --- a/bundles/org.bonitasoft.bonita2bar/META-INF/MANIFEST.MF +++ b/bundles/org.bonitasoft.bonita2bar/META-INF/MANIFEST.MF @@ -7,7 +7,7 @@ Bundle-Version: 9.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-RequiredExecutionEnvironment: JavaSE-17 Bundle-ActivationPolicy: lazy Require-Bundle: org.bonitasoft.bonita2bpmn, org.bonitasoft.bpm.connector.model, diff --git a/bundles/org.bonitasoft.bonita2bar/src/org/bonitasoft/bonita2bar/classpath/CustomGroovyArtifactProvider.java b/bundles/org.bonitasoft.bonita2bar/src/org/bonitasoft/bonita2bar/classpath/CustomGroovyArtifactProvider.java index fd5d92ad..c8cd6130 100644 --- a/bundles/org.bonitasoft.bonita2bar/src/org/bonitasoft/bonita2bar/classpath/CustomGroovyArtifactProvider.java +++ b/bundles/org.bonitasoft.bonita2bar/src/org/bonitasoft/bonita2bar/classpath/CustomGroovyArtifactProvider.java @@ -122,7 +122,7 @@ private void compile(Set filesToCompile, File targetClasses) throws IOExce CompilerConfiguration configuration = new CompilerConfiguration(); configuration.setTargetDirectory(targetClasses.getAbsolutePath()); configuration.setSourceEncoding("utf-8"); - configuration.setTargetBytecode("11"); + configuration.setTargetBytecode("17"); CompilationUnit compileUnit = new CompilationUnit(configuration, null, classLoader); compileUnit.addSources(filesToCompile.toArray(new File[filesToCompile.size()])); if (EnvironmentUtil.isOSGi()) { diff --git a/bundles/org.bonitasoft.bonita2bpmn/.classpath b/bundles/org.bonitasoft.bonita2bpmn/.classpath index 555c5b65..56fba002 100644 --- a/bundles/org.bonitasoft.bonita2bpmn/.classpath +++ b/bundles/org.bonitasoft.bonita2bpmn/.classpath @@ -1,7 +1,7 @@ - + diff --git a/bundles/org.bonitasoft.bonita2bpmn/.settings/org.eclipse.jdt.core.prefs b/bundles/org.bonitasoft.bonita2bpmn/.settings/org.eclipse.jdt.core.prefs index c9545f06..62ef3488 100644 --- a/bundles/org.bonitasoft.bonita2bpmn/.settings/org.eclipse.jdt.core.prefs +++ b/bundles/org.bonitasoft.bonita2bpmn/.settings/org.eclipse.jdt.core.prefs @@ -1,9 +1,9 @@ eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 -org.eclipse.jdt.core.compiler.compliance=11 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning org.eclipse.jdt.core.compiler.release=enabled -org.eclipse.jdt.core.compiler.source=11 +org.eclipse.jdt.core.compiler.source=17 diff --git a/bundles/org.bonitasoft.bonita2bpmn/META-INF/MANIFEST.MF b/bundles/org.bonitasoft.bonita2bpmn/META-INF/MANIFEST.MF index 74cbd166..21d9ec5d 100644 --- a/bundles/org.bonitasoft.bonita2bpmn/META-INF/MANIFEST.MF +++ b/bundles/org.bonitasoft.bonita2bpmn/META-INF/MANIFEST.MF @@ -7,7 +7,7 @@ Bundle-Version: 9.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-RequiredExecutionEnvironment: JavaSE-17 Bundle-ActivationPolicy: lazy Require-Bundle: org.bonitasoft.bpm.model;visibility:=reexport, org.bonitasoft.spec.bpmn;visibility:=reexport, diff --git a/bundles/org.bonitasoft.bpm.connector.model.edit/.classpath b/bundles/org.bonitasoft.bpm.connector.model.edit/.classpath index 563440f7..0b12ec2a 100644 --- a/bundles/org.bonitasoft.bpm.connector.model.edit/.classpath +++ b/bundles/org.bonitasoft.bpm.connector.model.edit/.classpath @@ -1,7 +1,7 @@ - + diff --git a/bundles/org.bonitasoft.bpm.connector.model/.classpath b/bundles/org.bonitasoft.bpm.connector.model/.classpath index 9a8da414..20f62a9e 100644 --- a/bundles/org.bonitasoft.bpm.connector.model/.classpath +++ b/bundles/org.bonitasoft.bpm.connector.model/.classpath @@ -2,7 +2,7 @@ - + diff --git a/bundles/org.bonitasoft.bpm.connector.model/.settings/org.eclipse.jdt.core.prefs b/bundles/org.bonitasoft.bpm.connector.model/.settings/org.eclipse.jdt.core.prefs index f95715a9..3752fbd2 100644 --- a/bundles/org.bonitasoft.bpm.connector.model/.settings/org.eclipse.jdt.core.prefs +++ b/bundles/org.bonitasoft.bpm.connector.model/.settings/org.eclipse.jdt.core.prefs @@ -1,8 +1,8 @@ #Tue Feb 28 09:26:02 CET 2012 eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 -org.eclipse.jdt.core.compiler.compliance=11 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=11 +org.eclipse.jdt.core.compiler.source=17 diff --git a/bundles/org.bonitasoft.bpm.connector.model/META-INF/MANIFEST.MF b/bundles/org.bonitasoft.bpm.connector.model/META-INF/MANIFEST.MF index 6e1cc84e..37171561 100644 --- a/bundles/org.bonitasoft.bpm.connector.model/META-INF/MANIFEST.MF +++ b/bundles/org.bonitasoft.bpm.connector.model/META-INF/MANIFEST.MF @@ -15,7 +15,7 @@ Export-Package: org.bonitasoft.bpm.connector.model, org.bonitasoft.bpm.connector.model.implementation, org.bonitasoft.bpm.connector.model.implementation.impl, org.bonitasoft.bpm.connector.model.implementation.util -Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-RequiredExecutionEnvironment: JavaSE-17 Require-Bundle: org.eclipse.core.runtime;resolution:=optional, org.eclipse.emf.ecore;visibility:=reexport, org.eclipse.emf.ecore.xmi;visibility:=reexport, diff --git a/bundles/org.bonitasoft.bpm.connector.model/model/connector.genmodel b/bundles/org.bonitasoft.bpm.connector.model/model/connector.genmodel index cb9598e6..47e74546 100644 --- a/bundles/org.bonitasoft.bpm.connector.model/model/connector.genmodel +++ b/bundles/org.bonitasoft.bpm.connector.model/model/connector.genmodel @@ -6,7 +6,7 @@ forceOverwrite="true" modelName="Connector" modelPluginClass="" editorPluginClass="org.bonitasoft.bpm.connector.model.definition.presentation.ConnectorEditorPlugin" nonNLSMarkers="true" testsDirectory="/org.bonitasoft.bpm.connector.model.tests/src-gen" testSuiteClass="org.bonitasoft.bpm.connector.model.definition.tests.ConnectorAllTests" - importerID="org.eclipse.emf.importer.ecore" complianceLevel="11.0" copyrightFields="false" + importerID="org.eclipse.emf.importer.ecore" complianceLevel="17.0" copyrightFields="false" providerRootExtendsClass="" testsPluginID="org.bonitasoft.bpm.connector.model.tests" optimizedHasChildren="true" runtimeVersion="2.9"> definition.ecore diff --git a/bundles/org.bonitasoft.bpm.migration/.classpath b/bundles/org.bonitasoft.bpm.migration/.classpath index 7c32a3ec..92ebb099 100644 --- a/bundles/org.bonitasoft.bpm.migration/.classpath +++ b/bundles/org.bonitasoft.bpm.migration/.classpath @@ -1,7 +1,7 @@ - + diff --git a/bundles/org.bonitasoft.bpm.migration/.settings/org.eclipse.jdt.core.prefs b/bundles/org.bonitasoft.bpm.migration/.settings/org.eclipse.jdt.core.prefs index 39262e30..686d2ca4 100644 --- a/bundles/org.bonitasoft.bpm.migration/.settings/org.eclipse.jdt.core.prefs +++ b/bundles/org.bonitasoft.bpm.migration/.settings/org.eclipse.jdt.core.prefs @@ -1,8 +1,8 @@ #Mon Dec 17 11:23:57 CET 2012 eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 -org.eclipse.jdt.core.compiler.compliance=11 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=11 +org.eclipse.jdt.core.compiler.source=17 diff --git a/bundles/org.bonitasoft.bpm.migration/META-INF/MANIFEST.MF b/bundles/org.bonitasoft.bpm.migration/META-INF/MANIFEST.MF index c4ca1152..53414f2e 100644 --- a/bundles/org.bonitasoft.bpm.migration/META-INF/MANIFEST.MF +++ b/bundles/org.bonitasoft.bpm.migration/META-INF/MANIFEST.MF @@ -12,7 +12,7 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.emf.transaction, org.bonitasoft.bpm.connector.model, org.bonitasoft.bpm.model -Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-RequiredExecutionEnvironment: JavaSE-17 Bundle-ActivationPolicy: lazy Export-Package: org.bonitasoft.bpm.migration.utils Automatic-Module-Name: org.bonitasoft.bpm.migration diff --git a/bundles/org.bonitasoft.bpm.model.edit/.classpath b/bundles/org.bonitasoft.bpm.model.edit/.classpath index 9a8da414..20f62a9e 100644 --- a/bundles/org.bonitasoft.bpm.model.edit/.classpath +++ b/bundles/org.bonitasoft.bpm.model.edit/.classpath @@ -2,7 +2,7 @@ - + diff --git a/bundles/org.bonitasoft.bpm.model.edit/.settings/org.eclipse.jdt.core.prefs b/bundles/org.bonitasoft.bpm.model.edit/.settings/org.eclipse.jdt.core.prefs index 7adc0fb9..d4540a53 100644 --- a/bundles/org.bonitasoft.bpm.model.edit/.settings/org.eclipse.jdt.core.prefs +++ b/bundles/org.bonitasoft.bpm.model.edit/.settings/org.eclipse.jdt.core.prefs @@ -1,10 +1,10 @@ eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 -org.eclipse.jdt.core.compiler.compliance=11 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning org.eclipse.jdt.core.compiler.release=enabled -org.eclipse.jdt.core.compiler.source=11 +org.eclipse.jdt.core.compiler.source=17 diff --git a/bundles/org.bonitasoft.bpm.model.edit/META-INF/MANIFEST.MF b/bundles/org.bonitasoft.bpm.model.edit/META-INF/MANIFEST.MF index d78be048..246f3a1d 100644 --- a/bundles/org.bonitasoft.bpm.model.edit/META-INF/MANIFEST.MF +++ b/bundles/org.bonitasoft.bpm.model.edit/META-INF/MANIFEST.MF @@ -8,7 +8,7 @@ Bundle-ClassPath: . Bundle-Activator: org.bonitasoft.bpm.model.edit.ProcessEditPlugin$Implementation Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-RequiredExecutionEnvironment: JavaSE-17 Export-Package: org.bonitasoft.bpm.model.actormapping.provider, org.bonitasoft.bpm.model.configuration.provider, org.bonitasoft.bpm.model.connectorconfiguration.provider, diff --git a/bundles/org.bonitasoft.bpm.model/.classpath b/bundles/org.bonitasoft.bpm.model/.classpath index 9a8da414..20f62a9e 100644 --- a/bundles/org.bonitasoft.bpm.model/.classpath +++ b/bundles/org.bonitasoft.bpm.model/.classpath @@ -2,7 +2,7 @@ - + diff --git a/bundles/org.bonitasoft.bpm.model/.settings/org.eclipse.jdt.core.prefs b/bundles/org.bonitasoft.bpm.model/.settings/org.eclipse.jdt.core.prefs index 7adc0fb9..d4540a53 100644 --- a/bundles/org.bonitasoft.bpm.model/.settings/org.eclipse.jdt.core.prefs +++ b/bundles/org.bonitasoft.bpm.model/.settings/org.eclipse.jdt.core.prefs @@ -1,10 +1,10 @@ eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 -org.eclipse.jdt.core.compiler.compliance=11 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning org.eclipse.jdt.core.compiler.release=enabled -org.eclipse.jdt.core.compiler.source=11 +org.eclipse.jdt.core.compiler.source=17 diff --git a/bundles/org.bonitasoft.bpm.model/META-INF/MANIFEST.MF b/bundles/org.bonitasoft.bpm.model/META-INF/MANIFEST.MF index f3899b5a..a8158f48 100644 --- a/bundles/org.bonitasoft.bpm.model/META-INF/MANIFEST.MF +++ b/bundles/org.bonitasoft.bpm.model/META-INF/MANIFEST.MF @@ -7,7 +7,7 @@ Bundle-Version: 9.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-RequiredExecutionEnvironment: JavaSE-17 Export-Package: org.bonitasoft.bpm.model.actormapping, org.bonitasoft.bpm.model.actormapping.impl, org.bonitasoft.bpm.model.actormapping.util, diff --git a/bundles/org.bonitasoft.bpm.model/model/process.genmodel b/bundles/org.bonitasoft.bpm.model/model/process.genmodel index c3c2d403..faac6c15 100644 --- a/bundles/org.bonitasoft.bpm.model/model/process.genmodel +++ b/bundles/org.bonitasoft.bpm.model/model/process.genmodel @@ -8,7 +8,7 @@ editorPluginClass="org.bonitasoft.bpm.model..presentation.ProcessEditorPlugin" nonNLSMarkers="true" testsDirectory="/org.bonitasoft.bpm.model.tests/src-gen" testSuiteClass="org.bonitasoft.bpm.model..tests.ProcessAllTests" importerID="org.eclipse.emf.importer.ecore" - complianceLevel="11.0" copyrightFields="false" editPluginID="org.bonitasoft.bpm.model.edit" + complianceLevel="17.0" copyrightFields="false" editPluginID="org.bonitasoft.bpm.model.edit" editorPluginID="org.bonitasoft.bpm.model.editor" testsPluginID="org.bonitasoft.bpm.model.tests" runtimeVersion="2.9" language=""> ActorMapping.ecore diff --git a/bundles/org.bonitasoft.bpm.plugin-dependencies/.settings/org.eclipse.jdt.core.prefs b/bundles/org.bonitasoft.bpm.plugin-dependencies/.settings/org.eclipse.jdt.core.prefs index c9545f06..62ef3488 100644 --- a/bundles/org.bonitasoft.bpm.plugin-dependencies/.settings/org.eclipse.jdt.core.prefs +++ b/bundles/org.bonitasoft.bpm.plugin-dependencies/.settings/org.eclipse.jdt.core.prefs @@ -1,9 +1,9 @@ eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 -org.eclipse.jdt.core.compiler.compliance=11 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning org.eclipse.jdt.core.compiler.release=enabled -org.eclipse.jdt.core.compiler.source=11 +org.eclipse.jdt.core.compiler.source=17 diff --git a/bundles/org.bonitasoft.spec.bpmn/.settings/org.eclipse.jdt.core.prefs b/bundles/org.bonitasoft.spec.bpmn/.settings/org.eclipse.jdt.core.prefs index 7adc0fb9..d4540a53 100644 --- a/bundles/org.bonitasoft.spec.bpmn/.settings/org.eclipse.jdt.core.prefs +++ b/bundles/org.bonitasoft.spec.bpmn/.settings/org.eclipse.jdt.core.prefs @@ -1,10 +1,10 @@ eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 -org.eclipse.jdt.core.compiler.compliance=11 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning org.eclipse.jdt.core.compiler.release=enabled -org.eclipse.jdt.core.compiler.source=11 +org.eclipse.jdt.core.compiler.source=17 diff --git a/bundles/org.bonitasoft.spec.bpmn/model/bpmn2.0-final/BPMN20.genmodel b/bundles/org.bonitasoft.spec.bpmn/model/bpmn2.0-final/BPMN20.genmodel index 9293973e..e3f57aa6 100644 --- a/bundles/org.bonitasoft.spec.bpmn/model/bpmn2.0-final/BPMN20.genmodel +++ b/bundles/org.bonitasoft.spec.bpmn/model/bpmn2.0-final/BPMN20.genmodel @@ -4,7 +4,7 @@ modelDirectory="/org.bonitasoft.spec.bpmn/src-gen" editDirectory="/org.bonitasoft.spec.bpmn.edit/src-gen" editorDirectory="/org.bonitasoft.spec.bpmn.editor/src-gen" modelPluginID="org.bonitasoft.spec.bpmn" modelName="BPMN20" nonNLSMarkers="true" codeFormatting="true" testsDirectory="/org.bonitasoft.spec.bpmn.tests/src-gen" - importerID="org.eclipse.xsd.ecore.importer" complianceLevel="11.0" copyrightFields="false" + importerID="org.eclipse.xsd.ecore.importer" complianceLevel="17.0" copyrightFields="false" runtimeVersion="2.9" interfaceNamePattern=""> BPMN20.xsd BPMNDI.xsd diff --git a/bundles/process-reader-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml b/bundles/process-reader-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml index 08ace3aa..3df05bd0 100644 --- a/bundles/process-reader-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml +++ b/bundles/process-reader-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml @@ -13,7 +13,7 @@ true - 11 + 17 8.0.0-SNAPSHOT diff --git a/bundles/process-reader-archetype/src/test/resources/projects/my-process-reader/archetype.properties b/bundles/process-reader-archetype/src/test/resources/projects/my-process-reader/archetype.properties index 24b9f66c..b1c42ff9 100644 --- a/bundles/process-reader-archetype/src/test/resources/projects/my-process-reader/archetype.properties +++ b/bundles/process-reader-archetype/src/test/resources/projects/my-process-reader/archetype.properties @@ -5,7 +5,7 @@ package=org.company.bpm.reader displayName=My Custom Process Reader description=My Reader's description wrapper=true -java-version=11 +java-version=17 bonita-process-model-version=8.0.0-SNAPSHOT maven-clean-version=3.3.1 maven-resources-version=3.3.1 diff --git a/pom.xml b/pom.xml index afd90770..c6bf6315 100644 --- a/pom.xml +++ b/pom.xml @@ -345,7 +345,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.target-platform-configuration ${tycho.version} - JavaSE-11 + JavaSE-17 ${project.groupId} diff --git a/releng/target-platform/target-platform.target b/releng/target-platform/target-platform.target index deebf31f..1183050b 100644 --- a/releng/target-platform/target-platform.target +++ b/releng/target-platform/target-platform.target @@ -1,7 +1,7 @@ - + diff --git a/tests/org.bonitasoft.bonita2bar.tests/.classpath b/tests/org.bonitasoft.bonita2bar.tests/.classpath index fe35ea1e..ffd0d255 100644 --- a/tests/org.bonitasoft.bonita2bar.tests/.classpath +++ b/tests/org.bonitasoft.bonita2bar.tests/.classpath @@ -1,6 +1,6 @@ - + diff --git a/tests/org.bonitasoft.bonita2bar.tests/.settings/org.eclipse.jdt.core.prefs b/tests/org.bonitasoft.bonita2bar.tests/.settings/org.eclipse.jdt.core.prefs index c9545f06..62ef3488 100644 --- a/tests/org.bonitasoft.bonita2bar.tests/.settings/org.eclipse.jdt.core.prefs +++ b/tests/org.bonitasoft.bonita2bar.tests/.settings/org.eclipse.jdt.core.prefs @@ -1,9 +1,9 @@ eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 -org.eclipse.jdt.core.compiler.compliance=11 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning org.eclipse.jdt.core.compiler.release=enabled -org.eclipse.jdt.core.compiler.source=11 +org.eclipse.jdt.core.compiler.source=17 diff --git a/tests/org.bonitasoft.bonita2bar.tests/META-INF/MANIFEST.MF b/tests/org.bonitasoft.bonita2bar.tests/META-INF/MANIFEST.MF index 2364d63f..67897e3e 100644 --- a/tests/org.bonitasoft.bonita2bar.tests/META-INF/MANIFEST.MF +++ b/tests/org.bonitasoft.bonita2bar.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 9.0.0.qualifier Bundle-Vendor: Bonitasoft S.A. Fragment-Host: org.bonitasoft.bonita2bar Automatic-Module-Name: org.bonitasoft.bonita2bpmn.tests -Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-RequiredExecutionEnvironment: JavaSE-17 Require-Bundle: assertj-core, net.bytebuddy.byte-buddy, org.objenesis, diff --git a/tests/org.bonitasoft.bonita2bar.tests/resources/pom.xml.example b/tests/org.bonitasoft.bonita2bar.tests/resources/pom.xml.example index ae740c09..9455a9ec 100644 --- a/tests/org.bonitasoft.bonita2bar.tests/resources/pom.xml.example +++ b/tests/org.bonitasoft.bonita2bar.tests/resources/pom.xml.example @@ -8,9 +8,9 @@ My project 3.0.0-M1 - 11 + 17 7.13.0 - 11 + 17 UTF-8 3.2.0 2.4.20 diff --git a/tests/org.bonitasoft.bonita2bpmn.tests/.classpath b/tests/org.bonitasoft.bonita2bpmn.tests/.classpath index a621c21a..38f401ad 100644 --- a/tests/org.bonitasoft.bonita2bpmn.tests/.classpath +++ b/tests/org.bonitasoft.bonita2bpmn.tests/.classpath @@ -1,6 +1,6 @@ - + diff --git a/tests/org.bonitasoft.bonita2bpmn.tests/.settings/org.eclipse.jdt.core.prefs b/tests/org.bonitasoft.bonita2bpmn.tests/.settings/org.eclipse.jdt.core.prefs index c9545f06..62ef3488 100644 --- a/tests/org.bonitasoft.bonita2bpmn.tests/.settings/org.eclipse.jdt.core.prefs +++ b/tests/org.bonitasoft.bonita2bpmn.tests/.settings/org.eclipse.jdt.core.prefs @@ -1,9 +1,9 @@ eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 -org.eclipse.jdt.core.compiler.compliance=11 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning org.eclipse.jdt.core.compiler.release=enabled -org.eclipse.jdt.core.compiler.source=11 +org.eclipse.jdt.core.compiler.source=17 diff --git a/tests/org.bonitasoft.bonita2bpmn.tests/META-INF/MANIFEST.MF b/tests/org.bonitasoft.bonita2bpmn.tests/META-INF/MANIFEST.MF index bf5893af..ffa25a2f 100644 --- a/tests/org.bonitasoft.bonita2bpmn.tests/META-INF/MANIFEST.MF +++ b/tests/org.bonitasoft.bonita2bpmn.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 9.0.0.qualifier Bundle-Vendor: BonitaSoft S.A. Fragment-Host: org.bonitasoft.bonita2bpmn Automatic-Module-Name: org.bonitasoft.bonita2bpmn.tests -Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-RequiredExecutionEnvironment: JavaSE-17 Require-Bundle: assertj-core, net.bytebuddy.byte-buddy, org.objenesis, diff --git a/tests/org.bonitasoft.bpm.migration.tests/.classpath b/tests/org.bonitasoft.bpm.migration.tests/.classpath index a621c21a..38f401ad 100644 --- a/tests/org.bonitasoft.bpm.migration.tests/.classpath +++ b/tests/org.bonitasoft.bpm.migration.tests/.classpath @@ -1,6 +1,6 @@ - + diff --git a/tests/org.bonitasoft.bpm.migration.tests/.settings/org.eclipse.jdt.core.prefs b/tests/org.bonitasoft.bpm.migration.tests/.settings/org.eclipse.jdt.core.prefs index c9545f06..62ef3488 100644 --- a/tests/org.bonitasoft.bpm.migration.tests/.settings/org.eclipse.jdt.core.prefs +++ b/tests/org.bonitasoft.bpm.migration.tests/.settings/org.eclipse.jdt.core.prefs @@ -1,9 +1,9 @@ eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 -org.eclipse.jdt.core.compiler.compliance=11 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning org.eclipse.jdt.core.compiler.release=enabled -org.eclipse.jdt.core.compiler.source=11 +org.eclipse.jdt.core.compiler.source=17 diff --git a/tests/org.bonitasoft.bpm.migration.tests/META-INF/MANIFEST.MF b/tests/org.bonitasoft.bpm.migration.tests/META-INF/MANIFEST.MF index 3fdb079b..c81b917f 100644 --- a/tests/org.bonitasoft.bpm.migration.tests/META-INF/MANIFEST.MF +++ b/tests/org.bonitasoft.bpm.migration.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 9.0.0.qualifier Bundle-Vendor: Bonitasoft S.A. Fragment-Host: org.bonitasoft.bpm.migration;bundle-version="8.0.0" Automatic-Module-Name: org.bonitasoft.studio.migration.tests -Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-RequiredExecutionEnvironment: JavaSE-17 Require-Bundle: assertj-core, net.bytebuddy.byte-buddy, org.objenesis, diff --git a/tests/org.bonitasoft.bpm.model.edit.tests/.classpath b/tests/org.bonitasoft.bpm.model.edit.tests/.classpath index a621c21a..38f401ad 100644 --- a/tests/org.bonitasoft.bpm.model.edit.tests/.classpath +++ b/tests/org.bonitasoft.bpm.model.edit.tests/.classpath @@ -1,6 +1,6 @@ - + diff --git a/tests/org.bonitasoft.bpm.model.edit.tests/.settings/org.eclipse.jdt.core.prefs b/tests/org.bonitasoft.bpm.model.edit.tests/.settings/org.eclipse.jdt.core.prefs index c9545f06..62ef3488 100644 --- a/tests/org.bonitasoft.bpm.model.edit.tests/.settings/org.eclipse.jdt.core.prefs +++ b/tests/org.bonitasoft.bpm.model.edit.tests/.settings/org.eclipse.jdt.core.prefs @@ -1,9 +1,9 @@ eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 -org.eclipse.jdt.core.compiler.compliance=11 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning org.eclipse.jdt.core.compiler.release=enabled -org.eclipse.jdt.core.compiler.source=11 +org.eclipse.jdt.core.compiler.source=17 diff --git a/tests/org.bonitasoft.bpm.model.edit.tests/META-INF/MANIFEST.MF b/tests/org.bonitasoft.bpm.model.edit.tests/META-INF/MANIFEST.MF index 923f6adc..42e4fb91 100644 --- a/tests/org.bonitasoft.bpm.model.edit.tests/META-INF/MANIFEST.MF +++ b/tests/org.bonitasoft.bpm.model.edit.tests/META-INF/MANIFEST.MF @@ -6,6 +6,6 @@ Bundle-Version: 9.0.0.qualifier Bundle-Vendor: Bonitasoft S.A. Fragment-Host: org.bonitasoft.bpm.model.edit;bundle-version="8.0.0" Automatic-Module-Name: org.bonitasoft.bpm.model.edit.tests -Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-RequiredExecutionEnvironment: JavaSE-17 Require-Bundle: junit-jupiter-api, assertj-core diff --git a/tests/org.bonitasoft.bpm.model.tests-utils/.classpath b/tests/org.bonitasoft.bpm.model.tests-utils/.classpath index e801ebfb..81fe078c 100644 --- a/tests/org.bonitasoft.bpm.model.tests-utils/.classpath +++ b/tests/org.bonitasoft.bpm.model.tests-utils/.classpath @@ -1,6 +1,6 @@ - + diff --git a/tests/org.bonitasoft.bpm.model.tests-utils/.settings/org.eclipse.jdt.core.prefs b/tests/org.bonitasoft.bpm.model.tests-utils/.settings/org.eclipse.jdt.core.prefs index c9545f06..62ef3488 100644 --- a/tests/org.bonitasoft.bpm.model.tests-utils/.settings/org.eclipse.jdt.core.prefs +++ b/tests/org.bonitasoft.bpm.model.tests-utils/.settings/org.eclipse.jdt.core.prefs @@ -1,9 +1,9 @@ eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 -org.eclipse.jdt.core.compiler.compliance=11 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning org.eclipse.jdt.core.compiler.release=enabled -org.eclipse.jdt.core.compiler.source=11 +org.eclipse.jdt.core.compiler.source=17 diff --git a/tests/org.bonitasoft.bpm.model.tests-utils/META-INF/MANIFEST.MF b/tests/org.bonitasoft.bpm.model.tests-utils/META-INF/MANIFEST.MF index a87a6c7c..90a6bf75 100644 --- a/tests/org.bonitasoft.bpm.model.tests-utils/META-INF/MANIFEST.MF +++ b/tests/org.bonitasoft.bpm.model.tests-utils/META-INF/MANIFEST.MF @@ -5,7 +5,7 @@ Bundle-SymbolicName: org.bonitasoft.bpm.model.tests-utils Bundle-Version: 9.0.0.qualifier Bundle-Vendor: BonitasSoft S.A. Automatic-Module-Name: org.bonitasoft.bpm.model.tests.utils -Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-RequiredExecutionEnvironment: JavaSE-17 Require-Bundle: org.bonitasoft.bpm.model, assertj-core, net.bytebuddy.byte-buddy, diff --git a/tests/org.bonitasoft.bpm.model.tests/.classpath b/tests/org.bonitasoft.bpm.model.tests/.classpath index a621c21a..38f401ad 100644 --- a/tests/org.bonitasoft.bpm.model.tests/.classpath +++ b/tests/org.bonitasoft.bpm.model.tests/.classpath @@ -1,6 +1,6 @@ - + diff --git a/tests/org.bonitasoft.bpm.model.tests/META-INF/MANIFEST.MF b/tests/org.bonitasoft.bpm.model.tests/META-INF/MANIFEST.MF index 56583881..936b503e 100644 --- a/tests/org.bonitasoft.bpm.model.tests/META-INF/MANIFEST.MF +++ b/tests/org.bonitasoft.bpm.model.tests/META-INF/MANIFEST.MF @@ -8,7 +8,7 @@ Fragment-Host: org.bonitasoft.bpm.model;bundle-version="8.0.0" Import-Package: org.bonitasoft.engine.expression, org.bonitasoft.engine.operation Automatic-Module-Name: org.bonitasoft.bpm.model.tests -Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-RequiredExecutionEnvironment: JavaSE-17 Require-Bundle: assertj-core, org.bonitasoft.bpm.migration, junit-jupiter-api diff --git a/tests/standalone-tests/pom.xml b/tests/standalone-tests/pom.xml index b59bb61f..a3869c1f 100644 --- a/tests/standalone-tests/pom.xml +++ b/tests/standalone-tests/pom.xml @@ -15,7 +15,7 @@ UTF-8 UTF-8 - 11 + 17 3.1.2 3.11.0 3.3.1