Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian W. Damus2016-02-26 13:48:54 +0000
committerChristian W. Damus2016-02-26 23:00:11 +0000
commitc2ccd8d85b0887636bb083b2ee0ad9f7ba57eeb6 (patch)
tree60aaf429d5b97e507c2a0643ac66a11931fa2196
parent387d1f9462ab95dd485b80197a7fdf32c0bf051b (diff)
downloadorg.eclipse.papyrus-c2ccd8d85b0887636bb083b2ee0ad9f7ba57eeb6.tar.gz
org.eclipse.papyrus-c2ccd8d85b0887636bb083b2ee0ad9f7ba57eeb6.tar.xz
org.eclipse.papyrus-c2ccd8d85b0887636bb083b2ee0ad9f7ba57eeb6.zip
Bug 485220: [Architecture] Provide a more modular architecture
Missed a refactoring in a plug-in that evidently isn't in the build. Missed configuring version management on some plug-in projects. Change-Id: Ib91b7c09305495ecce7df3fe82acafbcb18a4c8e
-rw-r--r--extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.generation/src/org/eclipse/papyrus/adl4eclipse/generation/generator/FeatureGenerator.java328
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.edit/.project18
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.edit/META-INF/MANIFEST.MF32
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.editor/.project18
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.editor/META-INF/MANIFEST.MF35
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/.project18
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/META-INF/MANIFEST.MF42
7 files changed, 271 insertions, 220 deletions
diff --git a/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.generation/src/org/eclipse/papyrus/adl4eclipse/generation/generator/FeatureGenerator.java b/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.generation/src/org/eclipse/papyrus/adl4eclipse/generation/generator/FeatureGenerator.java
index e06822a7558..1dee0b9868a 100644
--- a/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.generation/src/org/eclipse/papyrus/adl4eclipse/generation/generator/FeatureGenerator.java
+++ b/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.generation/src/org/eclipse/papyrus/adl4eclipse/generation/generator/FeatureGenerator.java
@@ -1,163 +1,165 @@
-/*****************************************************************************
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Thomas Daniellou (CEA LIST) - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.adl4eclipse.generation.generator;
-
-import java.io.IOException;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
-
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.papyrus.adl4eclipse.generation.Activator;
-import org.eclipse.papyrus.adl4eclipse.generation.GeneratorUtils;
-import org.eclipse.papyrus.adl4eclipse.org.ADL4Eclipse_Stereotypes;
-import org.eclipse.papyrus.eclipse.project.editors.interfaces.IFeatureProjectEditor;
-import org.eclipse.papyrus.eclipse.project.editors.project.FeatureProjectEditor;
-import org.eclipse.uml2.uml.Component;
-import org.eclipse.uml2.uml.Stereotype;
-import org.xml.sax.SAXException;
-
-public class FeatureGenerator implements Generator {
-
- private Component component;
- private Stereotype stereotype;
-
- private Set<String> files;
- private IFeatureProjectEditor featureProjectEditor;
-
- public FeatureGenerator(Component component) {
- this.component = component;
-
- stereotype = component.getAppliedStereotype(ADL4Eclipse_Stereotypes.FEATURE_STEREOTYPE);
-
- files = new HashSet<>();
- files.add(FeatureProjectEditor.FRAGMENT_XML_FILE);
- }
-
- @Override
- public void generate() throws CoreException {
- // Retrieve the project
- IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
-
- IProject project = root.getProject(component.getName());
-
- if (!project.exists()) {
- project.create(new NullProgressMonitor());
- }
-
- if (!project.isOpen()) {
- project.open(new NullProgressMonitor());
- }
-
- try {
- featureProjectEditor = new FeatureProjectEditor(project);
- } catch (ParserConfigurationException | SAXException | IOException e) {
- Activator.log.error(e);
- }
-
- featureProjectEditor.createFiles(files);
- featureProjectEditor.init();
-
- // TODO: Attributes that are removed in the model aren't removed when the feature is generated.
- // We need to either clear attributes before making the generation, or check (in a copy of the model)
- // which elements have been removed.
-
- String id = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_ID_ATT);
- featureProjectEditor.setId(id);
-
- String label = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_LABEL_ATT);
- featureProjectEditor.setLabel(label);
-
- String version = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_VERSION_ATT);
- featureProjectEditor.setVersion(version);
-
- String providerName = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_PROVIDER_ATT);
- featureProjectEditor.setProviderName(providerName);
-
- String descriptionURL = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_DESCRIPTION_URL_ATT);
- String description = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_DESCRIPTION_ATT);
- featureProjectEditor.setDescription(descriptionURL, description);
-
- String copyrightURL = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_COPYRIGHT_URL_ATT);
- String copyrightDesc = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_COPYRIGHT_ATT);
- featureProjectEditor.setCopyright(copyrightURL, copyrightDesc);
-
- String licenseURL = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_LICENSE_URL_ATT);
- String licence = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_LICENSE_ATT);
- featureProjectEditor.setLicense(licenseURL, licence);
-
- String url = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_URL_ATT);
- if (url != null && url.length() > 0) {
- String urlLabel = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_URL_LABEL_ATT);
- featureProjectEditor.setUpdateURL(urlLabel, url);
- }
-
- String os = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_OS_ATT);
- featureProjectEditor.setOS(os);
-
- String ws = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_WS_ATT);
- featureProjectEditor.setWS(ws);
-
- String nl = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_LANGUAGES_ATT);
- featureProjectEditor.setNL(nl);
-
- String architecture = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_ARCHITECTURE_ATT);
- featureProjectEditor.setArch(architecture);
-
- // Plug-ins
- List<?> plugins = (List<?>) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_PLUGINS_ATT);
- for (Object plugin : plugins) {
- String elementName = GeneratorUtils.getElementName(plugin);
- featureProjectEditor.addPlugin(elementName);
- }
-
- // Included Features
- List<?> includedFeatures = (List<?>) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_INCLUDED_FEATURES_ATT);
- for (Object feature : includedFeatures) {
- String featureName = GeneratorUtils.getElementName(feature);
- if (featureName != null) {
- // TODO: Version
- featureProjectEditor.addInclude(featureName, "0.0.0");
- }
- }
-
- // Required features
- List<?> featureDependencies = (List<?>) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_FEATURE_DEPENDENCIES_ATT);
- for (Object feature : featureDependencies) {
- String featureName = GeneratorUtils.getElementName(feature);
- if (featureName != null) {
- // TODO: Version
- featureProjectEditor.addRequiredFeature(featureName, "1.0.0.qualifier");
- }
- }
-
- // Required plug-ins
- List<?> pluginDependencies = (List<?>) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_PLUGIN_DEPENDENCIES_ATT);
- for (Object plugin : pluginDependencies) {
- String pluginName = GeneratorUtils.getElementName(plugin);
- featureProjectEditor.addRequiredPlugin(pluginName);
- }
-
- try {
- featureProjectEditor.save();
- } catch (Throwable e) {
- Activator.log.error(e);
- }
- }
-
-}
+/*****************************************************************************
+ * Copyright (c) 2015, 2016 CEA LIST, Christian W. Damus, and others.
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Thomas Daniellou (CEA LIST) - Initial API and implementation
+ * Christian W. Damus - bug 485220
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.adl4eclipse.generation.generator;
+
+import java.io.IOException;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Set;
+
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IWorkspaceRoot;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.papyrus.adl4eclipse.generation.Activator;
+import org.eclipse.papyrus.adl4eclipse.generation.GeneratorUtils;
+import org.eclipse.papyrus.adl4eclipse.org.ADL4Eclipse_Stereotypes;
+import org.eclipse.papyrus.eclipse.project.editors.interfaces.IFeatureProjectEditor;
+import org.eclipse.papyrus.eclipse.project.editors.project.FeatureProjectEditor;
+import org.eclipse.uml2.uml.Component;
+import org.eclipse.uml2.uml.Stereotype;
+import org.xml.sax.SAXException;
+
+public class FeatureGenerator implements Generator {
+
+ private Component component;
+ private Stereotype stereotype;
+
+ private Set<String> files;
+ private IFeatureProjectEditor featureProjectEditor;
+
+ public FeatureGenerator(Component component) {
+ this.component = component;
+
+ stereotype = component.getAppliedStereotype(ADL4Eclipse_Stereotypes.FEATURE_STEREOTYPE);
+
+ files = new HashSet<>();
+ files.add(FeatureProjectEditor.FEATURE_XML_FILE);
+ }
+
+ @Override
+ public void generate() throws CoreException {
+ // Retrieve the project
+ IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
+
+ IProject project = root.getProject(component.getName());
+
+ if (!project.exists()) {
+ project.create(new NullProgressMonitor());
+ }
+
+ if (!project.isOpen()) {
+ project.open(new NullProgressMonitor());
+ }
+
+ try {
+ featureProjectEditor = new FeatureProjectEditor(project);
+ } catch (ParserConfigurationException | SAXException | IOException e) {
+ Activator.log.error(e);
+ }
+
+ featureProjectEditor.createFiles(files);
+ featureProjectEditor.init();
+
+ // TODO: Attributes that are removed in the model aren't removed when the feature is generated.
+ // We need to either clear attributes before making the generation, or check (in a copy of the model)
+ // which elements have been removed.
+
+ String id = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_ID_ATT);
+ featureProjectEditor.setId(id);
+
+ String label = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_LABEL_ATT);
+ featureProjectEditor.setLabel(label);
+
+ String version = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_VERSION_ATT);
+ featureProjectEditor.setVersion(version);
+
+ String providerName = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_PROVIDER_ATT);
+ featureProjectEditor.setProviderName(providerName);
+
+ String descriptionURL = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_DESCRIPTION_URL_ATT);
+ String description = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_DESCRIPTION_ATT);
+ featureProjectEditor.setDescription(descriptionURL, description);
+
+ String copyrightURL = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_COPYRIGHT_URL_ATT);
+ String copyrightDesc = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_COPYRIGHT_ATT);
+ featureProjectEditor.setCopyright(copyrightURL, copyrightDesc);
+
+ String licenseURL = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_LICENSE_URL_ATT);
+ String licence = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_LICENSE_ATT);
+ featureProjectEditor.setLicense(licenseURL, licence);
+
+ String url = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_URL_ATT);
+ if (url != null && url.length() > 0) {
+ String urlLabel = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_URL_LABEL_ATT);
+ featureProjectEditor.setUpdateURL(urlLabel, url);
+ }
+
+ String os = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_OS_ATT);
+ featureProjectEditor.setOS(os);
+
+ String ws = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_WS_ATT);
+ featureProjectEditor.setWS(ws);
+
+ String nl = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_LANGUAGES_ATT);
+ featureProjectEditor.setNL(nl);
+
+ String architecture = (String) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_ARCHITECTURE_ATT);
+ featureProjectEditor.setArch(architecture);
+
+ // Plug-ins
+ List<?> plugins = (List<?>) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_PLUGINS_ATT);
+ for (Object plugin : plugins) {
+ String elementName = GeneratorUtils.getElementName(plugin);
+ featureProjectEditor.addPlugin(elementName);
+ }
+
+ // Included Features
+ List<?> includedFeatures = (List<?>) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_INCLUDED_FEATURES_ATT);
+ for (Object feature : includedFeatures) {
+ String featureName = GeneratorUtils.getElementName(feature);
+ if (featureName != null) {
+ // TODO: Version
+ featureProjectEditor.addInclude(featureName, "0.0.0");
+ }
+ }
+
+ // Required features
+ List<?> featureDependencies = (List<?>) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_FEATURE_DEPENDENCIES_ATT);
+ for (Object feature : featureDependencies) {
+ String featureName = GeneratorUtils.getElementName(feature);
+ if (featureName != null) {
+ // TODO: Version
+ featureProjectEditor.addRequiredFeature(featureName, "1.0.0.qualifier");
+ }
+ }
+
+ // Required plug-ins
+ List<?> pluginDependencies = (List<?>) component.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_PLUGIN_DEPENDENCIES_ATT);
+ for (Object plugin : pluginDependencies) {
+ String pluginName = GeneratorUtils.getElementName(plugin);
+ featureProjectEditor.addRequiredPlugin(pluginName);
+ }
+
+ try {
+ featureProjectEditor.save();
+ } catch (Throwable e) {
+ Activator.log.error(e);
+ }
+ }
+
+}
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.edit/.project b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.edit/.project
index a348ff4a401..e623ca4512f 100644
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.edit/.project
+++ b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.edit/.project
@@ -25,10 +25,28 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.eclipse.oomph.version.VersionBuilder</name>
+ <arguments>
+ <dictionary>
+ <key>check.maven.pom</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>ignore.lower.bound.dependency.ranges</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>release.path</key>
+ <value>/org.eclipse.papyrus.releng.main.release/release.xml</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
+ <nature>org.eclipse.oomph.version.VersionNature</nature>
</natures>
</projectDescription>
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.edit/META-INF/MANIFEST.MF b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.edit/META-INF/MANIFEST.MF
index 5a5dc0e44f1..76d7270a932 100644
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.edit/META-INF/MANIFEST.MF
+++ b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.edit/META-INF/MANIFEST.MF
@@ -1,17 +1,15 @@
-Manifest-Version: 1.0
-Require-Bundle: org.eclipse.core.runtime,
- org.eclipse.papyrus.infra.core.serviceregistry;bundle-version="1.2.0";visibility:=reexport,
- org.eclipse.emf.edit;visibility:=reexport,
- org.eclipse.uml2.common.edit;visibility:=reexport
-Export-Package: org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.provider,
- org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.provider
-Bundle-Vendor: %providerName
-Bundle-ActivationPolicy: lazy
-Bundle-ClassPath: .
-Bundle-Version: 1.2.0.qualifier
-Bundle-Localization: plugin
-Bundle-Name: %pluginName
-Bundle-Activator: org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.provider.ServicedescriptorswithidEditPlugin$Implementation
-Bundle-ManifestVersion: 2
-Bundle-SymbolicName: org.eclipse.papyrus.infra.core.serviceregistry.edit;singleton:=true
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Manifest-Version: 1.0
+Bundle-SymbolicName: org.eclipse.papyrus.infra.core.serviceregistry.edit;singleton:=true
+Require-Bundle: org.eclipse.papyrus.infra.core.serviceregistry;bundle-version="[1.2.0,2.0.0)";visibility:=reexport,
+ org.eclipse.uml2.common.edit;visibility:=reexport;bundle-version="[2.1.0,3.0.0)"
+Bundle-ActivationPolicy: lazy
+Bundle-ManifestVersion: 2
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Bundle-Vendor: %providerName
+Export-Package: org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.provider,
+ org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.provider
+Bundle-Version: 1.2.0.qualifier
+Bundle-Name: %pluginName
+Bundle-ClassPath: .
+Bundle-Localization: plugin
+Bundle-Activator: org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.provider.ServicedescriptorswithidEditPlugin$Implementation
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.editor/.project b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.editor/.project
index 2f445345d67..709b619a21a 100644
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.editor/.project
+++ b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.editor/.project
@@ -25,10 +25,28 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.eclipse.oomph.version.VersionBuilder</name>
+ <arguments>
+ <dictionary>
+ <key>check.maven.pom</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>ignore.lower.bound.dependency.ranges</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>release.path</key>
+ <value>/org.eclipse.papyrus.releng.main.release/release.xml</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
+ <nature>org.eclipse.oomph.version.VersionNature</nature>
</natures>
</projectDescription>
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.editor/META-INF/MANIFEST.MF b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.editor/META-INF/MANIFEST.MF
index 4184ae3241e..9e9a8db0d1b 100644
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.editor/META-INF/MANIFEST.MF
+++ b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.editor/META-INF/MANIFEST.MF
@@ -1,18 +1,17 @@
-Manifest-Version: 1.0
-Require-Bundle: org.eclipse.core.runtime,
- org.eclipse.core.resources,
- org.eclipse.papyrus.infra.core.serviceregistry.edit;bundle-version="1.2.0";visibility:=reexport,
- org.eclipse.emf.ecore.xmi;visibility:=reexport,
- org.eclipse.emf.edit.ui,
- org.eclipse.ui.ide
-Export-Package: org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.presentation
-Bundle-Vendor: %providerName
-Bundle-ActivationPolicy: lazy
-Bundle-ClassPath: .
-Bundle-Version: 1.2.0.qualifier
-Bundle-Localization: plugin
-Bundle-Name: %pluginName
-Bundle-Activator: org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.presentation.ServicedescriptorswithidEditorPlugin$Implementation
-Bundle-ManifestVersion: 2
-Bundle-SymbolicName: org.eclipse.papyrus.infra.core.serviceregistry.editor;singleton:=true
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Manifest-Version: 1.0
+Bundle-SymbolicName: org.eclipse.papyrus.infra.core.serviceregistry.editor;singleton:=true
+Require-Bundle: org.eclipse.core.resources;visibility:=reexport;bundle-version="[3.11.0,4.0.0)",
+ org.eclipse.papyrus.infra.core.serviceregistry.edit;bundle-version="[1.2.0,2.0.0)";visibility:=reexport,
+ org.eclipse.emf.ecore.xmi;visibility:=reexport;bundle-version="[2.12.0,3.0.0)",
+ org.eclipse.emf.edit.ui;visibility:=reexport;bundle-version="[2.12.0,3.0.0)",
+ org.eclipse.ui.ide;visibility:=reexport;bundle-version="[3.12.0,4.0.0)"
+Bundle-ActivationPolicy: lazy
+Bundle-ManifestVersion: 2
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Bundle-Vendor: %providerName
+Export-Package: org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.presentation
+Bundle-Version: 1.2.0.qualifier
+Bundle-Name: %pluginName
+Bundle-ClassPath: .
+Bundle-Localization: plugin
+Bundle-Activator: org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.presentation.ServicedescriptorswithidEditorPlugin$Implementation
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/.project b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/.project
index 8519dcb1134..f7165f09fbc 100644
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/.project
+++ b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/.project
@@ -25,10 +25,28 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.eclipse.oomph.version.VersionBuilder</name>
+ <arguments>
+ <dictionary>
+ <key>check.maven.pom</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>ignore.lower.bound.dependency.ranges</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>release.path</key>
+ <value>/org.eclipse.papyrus.releng.main.release/release.xml</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
+ <nature>org.eclipse.oomph.version.VersionNature</nature>
</natures>
</projectDescription>
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/META-INF/MANIFEST.MF b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/META-INF/MANIFEST.MF
index f6c6ee82aaf..d75e677d90d 100644
--- a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/META-INF/MANIFEST.MF
+++ b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/META-INF/MANIFEST.MF
@@ -1,22 +1,20 @@
-Manifest-Version: 1.0
-Export-Package: org.eclipse.papyrus.infra.core.serviceregistry,
- org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors,
- org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl,
- org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.util,
- org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid,
- org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl,
- org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.util
-Require-Bundle: org.eclipse.core.runtime;bundle-version="3.8.0",
- org.eclipse.ui.ide;bundle-version="3.8.0",
- org.eclipse.papyrus.infra.core.log;bundle-version="1.2.0",
- org.junit,
- org.eclipse.emf.common,
- org.eclipse.emf.ecore
-Bundle-Vendor: %providerName
-Bundle-Version: 1.2.0.qualifier
-Bundle-Localization: plugin
-Bundle-Name: %pluginName
-Bundle-Activator: org.eclipse.papyrus.infra.core.serviceregistry.Activator
-Bundle-ManifestVersion: 2
-Bundle-SymbolicName: org.eclipse.papyrus.infra.core.serviceregistry;singleton:=true
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Manifest-Version: 1.0
+Export-Package: org.eclipse.papyrus.infra.core.serviceregistry,
+ org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors,
+ org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.impl,
+ org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.util,
+ org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid,
+ org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.impl,
+ org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.util
+Bundle-SymbolicName: org.eclipse.papyrus.infra.core.serviceregistry;singleton:=true
+Bundle-Version: 1.2.0.qualifier
+Bundle-Name: %pluginName
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.ui.ide;bundle-version="[3.12.0,4.0.0)",
+ org.eclipse.papyrus.infra.core.log;bundle-version="[1.2.0,2.0.0)";visibility:=reexport,
+ org.junit;bundle-version="[4.12.0,5.0.0)",
+ org.eclipse.emf.ecore;visibility:=reexport;bundle-version="[2.12.0,3.0.0)"
+Bundle-Activator: org.eclipse.papyrus.infra.core.serviceregistry.Activator
+Bundle-ManifestVersion: 2
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Bundle-Vendor: %providerName

Back to the top