diff --git a/Jenkinsfile b/Jenkinsfile index e870815f..88c55385 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,13 +5,13 @@ pipeline { tools { maven 'apache-maven-latest' - jdk 'openjdk-jdk11-latest' + jdk 'openjdk-jdk17-latest' } environment { BUILD_KEY = (github.isPullRequest() ? CHANGE_TARGET : BRANCH_NAME).replaceFirst(/^v/, '') CAPELLA_PRODUCT_PATH = "${WORKSPACE}/capella/capella" - CAPELLA_BRANCH = '6.x' + CAPELLA_BRANCH = 'master' } stages { @@ -76,7 +76,7 @@ pipeline { eclipse.installFeature("${CAPELLA_PRODUCT_PATH}", capella.getTestUpdateSiteURL("${CAPELLA_BRANCH}"), 'org.polarsys.capella.test.feature.feature.group') eclipse.installFeature("${CAPELLA_PRODUCT_PATH}", "file:/${WORKSPACE}/releng/org.polarsys.capella.scenario.editor.site/target/repository/".replace("\\", "/"), 'org.polarsys.capella.scenario.editor.feature.feature.group') - eclipse.installFeature("${CAPELLA_PRODUCT_PATH}", "http://download.eclipse.org/releases/2021-06/", 'org.eclipse.xtext.sdk.feature.group') + eclipse.installFeature("${CAPELLA_PRODUCT_PATH}", "https://download.eclipse.org/releases/2023-03/", 'org.eclipse.xtext.sdk.feature.group') eclipse.installFeature("${CAPELLA_PRODUCT_PATH}", "file:/${WORKSPACE}/releng/org.polarsys.capella.scenario.editor.site/target/repository/".replace("\\", "/"), 'org.polarsys.capella.scenario.editor.tests.feature.feature.group') } } diff --git a/features/org.polarsys.capella.scenario.editor.feature/feature.xml b/features/org.polarsys.capella.scenario.editor.feature/feature.xml index b5bc4a22..ab9bf6a9 100644 --- a/features/org.polarsys.capella.scenario.editor.feature/feature.xml +++ b/features/org.polarsys.capella.scenario.editor.feature/feature.xml @@ -14,7 +14,7 @@ @@ -89,4 +89,18 @@ version="0.0.0" unpack="false"/> + + + + diff --git a/features/org.polarsys.capella.scenario.editor.feature/pom.xml b/features/org.polarsys.capella.scenario.editor.feature/pom.xml deleted file mode 100644 index 3a75cd30..00000000 --- a/features/org.polarsys.capella.scenario.editor.feature/pom.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - 4.0.0 - - org.polarsys - org.polarsys.capella.scenario.editor.feature - eclipse-feature - - - org.polarsys - org.polarsys.capella.scenario.editor.parent - 0.11.1-SNAPSHOT - ../../ - - - - - true - - diff --git a/features/org.polarsys.capella.scenario.editor.tests.feature/feature.xml b/features/org.polarsys.capella.scenario.editor.tests.feature/feature.xml index 3e625a9e..c043f2f0 100644 --- a/features/org.polarsys.capella.scenario.editor.tests.feature/feature.xml +++ b/features/org.polarsys.capella.scenario.editor.tests.feature/feature.xml @@ -14,7 +14,7 @@ diff --git a/features/org.polarsys.capella.scenario.editor.tests.feature/pom.xml b/features/org.polarsys.capella.scenario.editor.tests.feature/pom.xml deleted file mode 100644 index aacfe0bd..00000000 --- a/features/org.polarsys.capella.scenario.editor.tests.feature/pom.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - 4.0.0 - - org.polarsys - org.polarsys.capella.scenario.editor.tests.feature - eclipse-feature - - - org.polarsys - org.polarsys.capella.scenario.editor.parent - 0.11.1-SNAPSHOT - ../../ - - - - - true - - diff --git a/features/pom.xml b/features/pom.xml index a79a28a2..5e0d1eed 100644 --- a/features/pom.xml +++ b/features/pom.xml @@ -18,16 +18,20 @@ org.polarsys org.polarsys.capella.scenario.editor.features - 0.11.1-SNAPSHOT + 0.12.0-SNAPSHOT pom org.polarsys org.polarsys.capella.scenario.editor.parent - 0.11.1-SNAPSHOT + 0.12.0-SNAPSHOT ../ + + true + + org.polarsys.capella.scenario.editor.feature org.polarsys.capella.scenario.editor.tests.feature diff --git a/plugins/org.polarsys.capella.scenario.editor.doc/META-INF/MANIFEST.MF b/plugins/org.polarsys.capella.scenario.editor.doc/META-INF/MANIFEST.MF index 975413e3..9acb9cc1 100644 --- a/plugins/org.polarsys.capella.scenario.editor.doc/META-INF/MANIFEST.MF +++ b/plugins/org.polarsys.capella.scenario.editor.doc/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.polarsys.capella.scenario.editor.doc;singleton:=true -Bundle-Version: 0.11.1.qualifier +Bundle-Version: 0.12.0.qualifier Bundle-Activator: org.polarsys.capella.scenario.editor.doc.Activator Require-Bundle: org.eclipse.ui, org.eclipse.core.runtime, diff --git a/plugins/org.polarsys.capella.scenario.editor.dsl.ide/META-INF/MANIFEST.MF b/plugins/org.polarsys.capella.scenario.editor.dsl.ide/META-INF/MANIFEST.MF index cc5f2b73..b21996d9 100644 --- a/plugins/org.polarsys.capella.scenario.editor.dsl.ide/META-INF/MANIFEST.MF +++ b/plugins/org.polarsys.capella.scenario.editor.dsl.ide/META-INF/MANIFEST.MF @@ -3,7 +3,7 @@ Automatic-Module-Name: org.polarsys.capella.scenario.editor.dsl.ide Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-Vendor: %providerName -Bundle-Version: 0.11.1.qualifier +Bundle-Version: 0.12.0.qualifier Bundle-SymbolicName: org.polarsys.capella.scenario.editor.dsl.ide; singleton:=true Bundle-ActivationPolicy: lazy Require-Bundle: org.polarsys.capella.scenario.editor.dsl, diff --git a/plugins/org.polarsys.capella.scenario.editor.dsl.ui/META-INF/MANIFEST.MF b/plugins/org.polarsys.capella.scenario.editor.dsl.ui/META-INF/MANIFEST.MF index 1faad27e..7d2bd327 100644 --- a/plugins/org.polarsys.capella.scenario.editor.dsl.ui/META-INF/MANIFEST.MF +++ b/plugins/org.polarsys.capella.scenario.editor.dsl.ui/META-INF/MANIFEST.MF @@ -3,7 +3,7 @@ Automatic-Module-Name: org.polarsys.capella.scenario.editor.dsl.ui Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-Vendor: %providerName -Bundle-Version: 0.11.1.qualifier +Bundle-Version: 0.12.0.qualifier Bundle-SymbolicName: org.polarsys.capella.scenario.editor.dsl.ui; singleton:=true Bundle-ActivationPolicy: lazy Require-Bundle: org.polarsys.capella.scenario.editor.dsl, diff --git a/plugins/org.polarsys.capella.scenario.editor.dsl/META-INF/MANIFEST.MF b/plugins/org.polarsys.capella.scenario.editor.dsl/META-INF/MANIFEST.MF index 7fc95c32..8c2cdef3 100644 --- a/plugins/org.polarsys.capella.scenario.editor.dsl/META-INF/MANIFEST.MF +++ b/plugins/org.polarsys.capella.scenario.editor.dsl/META-INF/MANIFEST.MF @@ -3,7 +3,7 @@ Automatic-Module-Name: org.polarsys.capella.scenario.editor.dsl Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-Vendor: %providerName -Bundle-Version: 0.11.1.qualifier +Bundle-Version: 0.12.0.qualifier Bundle-SymbolicName: org.polarsys.capella.scenario.editor.dsl; singleton:=true Bundle-ActivationPolicy: lazy Require-Bundle: org.eclipse.xtext.xbase, diff --git a/plugins/org.polarsys.capella.scenario.editor.embeddededitor/META-INF/MANIFEST.MF b/plugins/org.polarsys.capella.scenario.editor.embeddededitor/META-INF/MANIFEST.MF index bb92cad2..5fee367a 100644 --- a/plugins/org.polarsys.capella.scenario.editor.embeddededitor/META-INF/MANIFEST.MF +++ b/plugins/org.polarsys.capella.scenario.editor.embeddededitor/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.polarsys.capella.scenario.editor.embeddededitor;singleton:=true -Bundle-Version: 0.11.1.qualifier +Bundle-Version: 0.12.0.qualifier Require-Bundle: org.polarsys.capella.scenario.editor.dsl.ui, org.eclipse.xtext.ui, org.polarsys.capella.scenario.editor.dsl, diff --git a/plugins/org.polarsys.capella.scenario.editor/META-INF/MANIFEST.MF b/plugins/org.polarsys.capella.scenario.editor/META-INF/MANIFEST.MF index aa7a2df2..1d84f89c 100644 --- a/plugins/org.polarsys.capella.scenario.editor/META-INF/MANIFEST.MF +++ b/plugins/org.polarsys.capella.scenario.editor/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.polarsys.capella.scenario.editor;singleton:=true -Bundle-Version: 0.11.1.qualifier +Bundle-Version: 0.12.0.qualifier Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Bundle-Vendor: %providerName Bundle-Localization: plugin diff --git a/plugins/pom.xml b/plugins/pom.xml index f518b817..889724e8 100644 --- a/plugins/pom.xml +++ b/plugins/pom.xml @@ -17,16 +17,20 @@ org.polarsys org.polarsys.capella.scenario.editor.plugins - 0.11.1-SNAPSHOT + 0.12.0-SNAPSHOT pom org.polarsys org.polarsys.capella.scenario.editor.parent - 0.11.1-SNAPSHOT + 0.12.0-SNAPSHOT ../ + + src + + org.polarsys.capella.scenario.editor org.polarsys.capella.scenario.editor.dsl diff --git a/pom.xml b/pom.xml index 709cb840..5831b8a6 100644 --- a/pom.xml +++ b/pom.xml @@ -23,13 +23,13 @@ Capella Textual Editor Addon org.polarsys org.polarsys.capella.scenario.editor.parent - 0.11.1-SNAPSHOT + 0.12.0-SNAPSHOT pom UTF-8 - 2.6.0 - 2.6.0 + 2.7.5 + 2.7.5 3.0.0 2.5.3 2.5.3 @@ -44,7 +44,7 @@ - 2021-06 + 2023-03 https://download.eclipse.org/releases/${platform-name} TextualEditor @@ -102,26 +102,16 @@ org.polarsys org.polarsys.capella.scenario.editor.parent - 0.11.1-SNAPSHOT + 0.12.0-SNAPSHOT releng/org.polarsys.capella.scenario.editor.update/capella.target-definition - - win32 - win32 - x86_64 - linux gtk x86_64 - - macosx - cocoa - x86_64 - @@ -205,11 +195,11 @@ eclipse-feature - org.eclipse.equinox.ds + org.apache.felix.scr eclipse-plugin - JavaSE-11 + JavaSE-17 @@ -307,20 +297,6 @@ - - org.eclipse.tycho.extras - tycho-pack200a-plugin - ${tycho-extras-version} - - - pack200-normalize - package - - normalize - - - - org.eclipse.cbi.maven.plugins eclipse-jarsigner-plugin @@ -335,20 +311,6 @@ - - org.eclipse.tycho.extras - tycho-pack200b-plugin - ${tycho-extras-version} - - - pack200-pack - package - - pack - - - - diff --git a/releng/org.polarsys.capella.scenario.editor.site/category.xml b/releng/org.polarsys.capella.scenario.editor.site/category.xml index a3b4bd9b..e86f20b3 100644 --- a/releng/org.polarsys.capella.scenario.editor.site/category.xml +++ b/releng/org.polarsys.capella.scenario.editor.site/category.xml @@ -1,6 +1,6 @@ - + diff --git a/releng/org.polarsys.capella.scenario.editor.site/pom.xml b/releng/org.polarsys.capella.scenario.editor.site/pom.xml index ff5aba92..151e22aa 100644 --- a/releng/org.polarsys.capella.scenario.editor.site/pom.xml +++ b/releng/org.polarsys.capella.scenario.editor.site/pom.xml @@ -17,12 +17,12 @@ org.polarsys.capella.scenario.editor.site eclipse-repository - 0.11.1-SNAPSHOT + 0.12.0-SNAPSHOT org.polarsys org.polarsys.capella.scenario.editor.parent - 0.11.1-SNAPSHOT + 0.12.0-SNAPSHOT ../../ diff --git a/releng/org.polarsys.capella.scenario.editor.update/capella.target-definition.targetplatform b/releng/org.polarsys.capella.scenario.editor.update/capella.target-definition.targetplatform index 465a3641..c9c628ed 100644 --- a/releng/org.polarsys.capella.scenario.editor.update/capella.target-definition.targetplatform +++ b/releng/org.polarsys.capella.scenario.editor.update/capella.target-definition.targetplatform @@ -12,19 +12,29 @@ *******************************************************************************/ target "CapellaScenariosTextEditor" -include "https://raw.githubusercontent.com/eclipse-capella/capella/v6.x/releng/plugins/org.polarsys.capella.targets/full/capella.target-definition.targetplatform" +include "https://download.eclipse.org/capella/core/updates/releases/7.0.0/targets/capella.target-definition.targetplatform" with source, requirements -location capella-core-master "https://download.eclipse.org/capella/core/updates/releases/6.1.0/org.polarsys.capella.rcp.site" { - org.polarsys.capella.rcp.feature.group +location capella-core-master "https://download.eclipse.org/capella/core/updates/releases/7.0.0/org.polarsys.capella.rcp.site" { + org.polarsys.capella.rcp.feature.group } -location capella-tests-master "https://download.eclipse.org/capella/core/updates/releases/6.1.0/org.polarsys.capella.test.site" { - org.polarsys.capella.test.feature.feature.group +location capella-tests-master "https://download.eclipse.org/capella/core/updates/releases/7.0.0/org.polarsys.capella.test.site" { + org.polarsys.capella.test.feature.feature.group } -location "http://download.eclipse.org/releases/2021-06/" { +location "https://download.eclipse.org/releases/2023-03/202303151000/" { + // com.google.guava com.google.inject and org.aopalliance are dependencies from xtext.redist. + // but xtext-2023-03 requires exact guava 30.1.0.v20221112-0806 which is older than the one on capella 7.0. + // So version has been embedded in the addon and version hardcoded in the org.polarsys.capella.scenario.editor.feature/feature.xml + // when upgrading to new version, set 0.0.0 in feature.xml to see if it still required to embed another version than the one already embedded in capella. + // if already embedded, can be removed from feature.xml. Same for com.google.inject and org.aopalliance. If no longer required, can be removed from feature. + + // com.google.guava //already included with lazy version in capella.target-definition.targetplatform so we can't force a version here. + com.google.inject + org.aopalliance org.eclipse.xtext.redist.feature.group org.eclipse.xtext.sdk.feature.group -} \ No newline at end of file +} + diff --git a/releng/org.polarsys.capella.scenario.editor.update/pom.xml b/releng/org.polarsys.capella.scenario.editor.update/pom.xml index d1d8e62b..af19e932 100644 --- a/releng/org.polarsys.capella.scenario.editor.update/pom.xml +++ b/releng/org.polarsys.capella.scenario.editor.update/pom.xml @@ -17,7 +17,7 @@ org.polarsys capella.target-definition - 0.11.1-SNAPSHOT + 0.12.0-SNAPSHOT pom @@ -35,10 +35,10 @@ - 0.26.0 - 0.26.0 + 2.7.5 + 2.7.5 capella.target-definition.targetplatform - fr.obeo.releng.targetplatform.targetPlatform.converter + org.eclipse.cbi.targetplatform.tpd.converter true @@ -53,18 +53,18 @@ targetplatform-tp p2 - http://download.eclipse.org/releases/oxygen/201709271000 + https://download.eclipse.org/releases/2023-03 targetplatform p2 - http://pdulth.github.io/fr.obeo.releng.targetplatform/p2/latest + https://download.eclipse.org/cbi/updates/tpd/nightly/latest - fr.obeo.releng.targetplatform-feature + org.eclipse.cbi.targetplatform.feature eclipse-feature @@ -72,13 +72,14 @@ eclipse-feature + JavaSE-17 generate.target validate - JavaSE-1.8 + JavaSE-17 -application ${converterApplication.name} ${targetPlatform.name} diff --git a/sonar-project.properties b/sonar-project.properties index 530294f1..fd67b103 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,6 +1,6 @@ sonar.projectKey=org.polarsys.capella.scenario.editor sonar.projectName=Capella Textual Editor -sonar.projectVersion=0.11.1 +sonar.projectVersion=0.12.0 sonar.sources=src sonar.binaries=bin sonar.modules=org.polarsys.capella.scenario.editor \ No newline at end of file diff --git a/tests/org.polarsys.capella.scenario.editor.dsl.tests/META-INF/MANIFEST.MF b/tests/org.polarsys.capella.scenario.editor.dsl.tests/META-INF/MANIFEST.MF index 07d960f0..6b04f969 100644 --- a/tests/org.polarsys.capella.scenario.editor.dsl.tests/META-INF/MANIFEST.MF +++ b/tests/org.polarsys.capella.scenario.editor.dsl.tests/META-INF/MANIFEST.MF @@ -3,7 +3,7 @@ Automatic-Module-Name: org.polarsys.capella.scenario.editor.dsl.tests Bundle-ManifestVersion: 2 Bundle-Name: org.polarsys.capella.scenario.editor.dsl.tests Bundle-Vendor: Eclipse.org -Bundle-Version: 0.11.1.qualifier +Bundle-Version: 0.12.0.qualifier Bundle-SymbolicName: org.polarsys.capella.scenario.editor.dsl.tests; singleton:=true Bundle-ActivationPolicy: lazy Require-Bundle: org.polarsys.capella.scenario.editor.dsl, diff --git a/tests/org.polarsys.capella.scenario.editor.dsl.ui.tests/META-INF/MANIFEST.MF b/tests/org.polarsys.capella.scenario.editor.dsl.ui.tests/META-INF/MANIFEST.MF index 5465f335..10d89ad3 100644 --- a/tests/org.polarsys.capella.scenario.editor.dsl.ui.tests/META-INF/MANIFEST.MF +++ b/tests/org.polarsys.capella.scenario.editor.dsl.ui.tests/META-INF/MANIFEST.MF @@ -3,7 +3,7 @@ Automatic-Module-Name: org.polarsys.capella.scenario.editor.dsl.ui.tests Bundle-ManifestVersion: 2 Bundle-Name: org.polarsys.capella.scenario.editor.dsl.ui.tests Bundle-Vendor: Eclipse.org -Bundle-Version: 0.11.1.qualifier +Bundle-Version: 0.12.0.qualifier Bundle-SymbolicName: org.polarsys.capella.scenario.editor.dsl.ui.tests; singleton:=true Bundle-ActivationPolicy: lazy Require-Bundle: org.polarsys.capella.scenario.editor.dsl.ui, diff --git a/tests/org.polarsys.capella.scenario.editor.ju/META-INF/MANIFEST.MF b/tests/org.polarsys.capella.scenario.editor.ju/META-INF/MANIFEST.MF index ae333750..10352c83 100644 --- a/tests/org.polarsys.capella.scenario.editor.ju/META-INF/MANIFEST.MF +++ b/tests/org.polarsys.capella.scenario.editor.ju/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.polarsys.capella.scenario.editor.ju;singleton:=true -Bundle-Version: 0.11.1.qualifier +Bundle-Version: 0.12.0.qualifier Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Bundle-Localization: plugin Bundle-Vendor: %providerName diff --git a/tests/org.polarsys.capella.scenario.editor.ju/model/TextualEditor/TextualEditor.afm b/tests/org.polarsys.capella.scenario.editor.ju/model/TextualEditor/TextualEditor.afm index 9dafe85d..3a25172e 100644 --- a/tests/org.polarsys.capella.scenario.editor.ju/model/TextualEditor/TextualEditor.afm +++ b/tests/org.polarsys.capella.scenario.editor.ju/model/TextualEditor/TextualEditor.afm @@ -1,4 +1,4 @@ - + diff --git a/tests/org.polarsys.capella.scenario.editor.ju/model/TextualEditor/TextualEditor.aird b/tests/org.polarsys.capella.scenario.editor.ju/model/TextualEditor/TextualEditor.aird index 0ed44bf2..e631ec4d 100644 --- a/tests/org.polarsys.capella.scenario.editor.ju/model/TextualEditor/TextualEditor.aird +++ b/tests/org.polarsys.capella.scenario.editor.ju/model/TextualEditor/TextualEditor.aird @@ -1,6 +1,6 @@ - - + + TextualEditor.afm TextualEditor.capella @@ -1471,7 +1471,7 @@ - + @@ -1526,7 +1526,7 @@ - + diff --git a/tests/org.polarsys.capella.scenario.editor.ju/model/TextualEditor/TextualEditor.capella b/tests/org.polarsys.capella.scenario.editor.ju/model/TextualEditor/TextualEditor.capella index 287d0f3c..5f468d46 100644 --- a/tests/org.polarsys.capella.scenario.editor.ju/model/TextualEditor/TextualEditor.capella +++ b/tests/org.polarsys.capella.scenario.editor.ju/model/TextualEditor/TextualEditor.capella @@ -1,22 +1,22 @@ - + diff --git a/tests/org.polarsys.capella.scenario.editor.ju/pom.xml b/tests/org.polarsys.capella.scenario.editor.ju/pom.xml index 50ddf32c..f726031a 100644 --- a/tests/org.polarsys.capella.scenario.editor.ju/pom.xml +++ b/tests/org.polarsys.capella.scenario.editor.ju/pom.xml @@ -19,15 +19,20 @@ org.polarsys org.polarsys.capella.scenario.editor.parent - 0.11.1-SNAPSHOT + 0.12.0-SNAPSHOT ../../ org.polarsys org.polarsys.capella.scenario.editor.ju eclipse-test-plugin - 0.11.1-SNAPSHOT + 0.12.0-SNAPSHOT + + + true + +