diff --git a/bundles/org.eclipse.passage.lic.licenses.ecore/model/licenses.ecore b/bundles/org.eclipse.passage.lic.licenses.ecore/model/licenses.ecore index 9761ae755..d48489ad8 100644 --- a/bundles/org.eclipse.passage.lic.licenses.ecore/model/licenses.ecore +++ b/bundles/org.eclipse.passage.lic.licenses.ecore/model/licenses.ecore @@ -1,6 +1,6 @@ diff --git a/bundles/org.eclipse.passage.lic.licenses.model/plugin.xml b/bundles/org.eclipse.passage.lic.licenses.model/plugin.xml index 8485b5c0a..97d26d2a2 100644 --- a/bundles/org.eclipse.passage.lic.licenses.model/plugin.xml +++ b/bundles/org.eclipse.passage.lic.licenses.model/plugin.xml @@ -18,7 +18,7 @@ diff --git a/bundles/org.eclipse.passage.lic.licenses.model/src-gen/org/eclipse/passage/lic/licenses/model/meta/LicensesPackage.java b/bundles/org.eclipse.passage.lic.licenses.model/src-gen/org/eclipse/passage/lic/licenses/model/meta/LicensesPackage.java index 58cf0b1ca..18dc7cf8d 100644 --- a/bundles/org.eclipse.passage.lic.licenses.model/src-gen/org/eclipse/passage/lic/licenses/model/meta/LicensesPackage.java +++ b/bundles/org.eclipse.passage.lic.licenses.model/src-gen/org/eclipse/passage/lic/licenses/model/meta/LicensesPackage.java @@ -48,7 +48,7 @@ public interface LicensesPackage extends EPackage { * * @generated */ - String eNS_URI = "http://www.eclipse.org/passage/lic/licenses/3.0.0"; //$NON-NLS-1$ + String eNS_URI = "http://www.eclipse.org/passage/lic/licenses/4.0.0"; //$NON-NLS-1$ /** * The package namespace name. diff --git a/bundles/org.eclipse.passage.lic.licenses.model/src/org/eclipse/passage/lic/internal/licenses/model/migration/LicensesResourceHandler.java b/bundles/org.eclipse.passage.lic.licenses.model/src/org/eclipse/passage/lic/internal/licenses/model/migration/LicensesResourceHandler.java index 6ddee5a09..9d67ad605 100644 --- a/bundles/org.eclipse.passage.lic.licenses.model/src/org/eclipse/passage/lic/internal/licenses/model/migration/LicensesResourceHandler.java +++ b/bundles/org.eclipse.passage.lic.licenses.model/src/org/eclipse/passage/lic/internal/licenses/model/migration/LicensesResourceHandler.java @@ -44,6 +44,7 @@ protected final void register() { migrate100(); migrate110(); migrate200(); + migrate300(); } @Override @@ -146,4 +147,10 @@ private void migrate200() { EPackage.Registry.INSTANCE.computeIfAbsent(uri, ns -> delegate); } + private void migrate300() { + String uri = "http://www.eclipse.org/passage/lic/licenses/3.0.0"; //$NON-NLS-1$ + LicensesPackage delegate = LicensesPackage.eINSTANCE; + EPackage.Registry.INSTANCE.computeIfAbsent(uri, ns -> delegate); + } + }